当前位置:网站首页>What is a LAN domain name? How to parse?

What is a LAN domain name? How to parse?

2022-07-07 12:01:00 Jumingwang

What is LAN and LAN domain name ? It is understood that Lan refers to a regional network formed in local areas , It is characterized by its limited distribution area , It's a private network .

The LAN domain name is the internal network address of each LAN , For example, will 192.168.1.123 This lan IP Configure to a virtual domain name , Such as 123.com, adopt hosts File can add corresponding rules . such , We can access 123.com, Only valid in LAN .

LAN domain name , You can use any domain name address , such as abc、qq、Baidu And so on. , Because it can only be used in LAN , It will not affect the external real domain name .

How to resolve LAN domain name ?

1、 Apply for domain name normally , Normal parsing is ok . International domain names support resolution to such as 192.168.1.100 This kind of Intranet IP Of .

In this case, computers on the public network will be inaccessible , Because there is no 192.168.1.100

But in the intranet, the computer can be turned on normally 192.168.1.100. shortcoming , Need to buy domain name , There is a certain cost .

2、 Through the router Hosts Function parsing

If the router supports Hosts function , You can set the router to resolve a domain name to 192.168.1.100. No need to buy domain name , Baidu can even be parsed into 192.168.1.100

In this case, the effective range is only limited to intranet hosts , It seems to meet your requirements . shortcoming : Intranet computers need to pass DHCP obtain IP. If customized DNS, Invalid parsing . Router function support is required .

3、 Modify each computer Hosts File for parsing purposes . shortcoming : Each set should be set , More trouble , It is easy to be intercepted by false positives of anti-virus software .

原网站

版权声明
本文为[Jumingwang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071001182282.html