- Home »
- FAQ »
- Miscellaneous »
- Application »
- How to use LAN DNS to give a domain name to the server on LAN?
How to use LAN DNS to give a domain name to the server on LAN?
This document introduces LAN DNS feature. With LAN DNS, the Vigor router can act as a DNS server to answer DNS queries from LAN clients. We may designate up to 20 host names to the servers on the LAN network, so the LAN clients can access the services via domain names instead of IP addresses.
Here we use a FTP server as an example. With the configuration, when LAN clients try to access ftp.draytek.com, they will reach the FTP server with IP 192.168.1.10.
1. In Application >> LAN DNS, please click on the Index number to edit/create a profile.
2. Enable the profile, give this profile a name, enter the domain name of the internal server, and click Add to add a LAN IP address.
3. Enter the IP address of the internal server. Then click OK to save the profile.
Note: Same Subnet Reply means Vigor Router will only respond the DNS queries from the host whose IP is in the same subnet of the Host IP in this LAN DNS Profile.
4. To set different host LAN IP for different LAN subnets, please create another IP Address List for LAN subnet 192.168.2.0, and enable the option "Only respondes to the DNS request when the sender is in the same subnet."
5. Now, two entries will appear as shown below :
6. Once the above configuration is completed, we can test the functionality using ping command: Ping request for ftp.draytek.com will be resolved as 192.168.1.10 when pinging from the subnet 192.168.1.0.