• DrayOS 4, imported, vigor_router, lan_dns, hostname_mapping, local_dns, lan_server

Give a Hostname to a LAN server by LAN DNS (DrayOS4)

1. Go to Application>> LAN DNS, click on the Index number to edit or create a profile.

a screenshot of DrayOS LAN DNS profile list

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.

a screenshot of DrayOS LAN DNS profile settings

3. Enter the IP address of the local server. Then click OK to save the profile.

a screenshot of DrayOS LAN DNS' local host setings

4. 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. 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 responds to the DNS request when the sender is in the same subnet."

another screenshot of DrayOS LAN DNS' local host setings

5. Now, two entries will appear.

another screenshot of DrayOS LAN DNS profile

6. With the above configuration, pinging ftp.draytek.com from the subnet 192.168.1.0, we should get answers of 192.168.1.10.

a screenshot of cmd sending pings