Is there any way to achieve LAN domain name resolution?

how does Tianyi Broadband, home telecom, achieve private network domain name resolution. For example, I want to bind www.XXXX.com to 192.168.1.7. All www.XXXX.com accessed by private network devices is resolved to 192.168.1.7. It is equivalent to setting up an internal web server, which can be easily accessed by internal domain name.

May.24,2022

two ways

one is to set up a DNS server in the intranet, and then modify the router configuration, issue DNS to the server IP, or manually set the DNS address of each machine to the server
. Second, modify the hosts file and manually bind the resolution

.

if only a few machines need this parsing, it is easier to configure hosts .

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eae724-21d5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eae724-21d5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?