Forward All DNS Queries to a Private DNS Server

Network Administrators may use a private DNS server to resolve domain names for managing the domain names the clients can access; however, clients may change their DNS server IP manually. In such cases, we may use the LAN DNS Forwarding function on Vigor Router. Then no matter what the DNS server IP the client uses, Vigor Router will forward the DNS query to the private DNS server.

topology

Support Model/ Firmware :

  • Vigor2926/2862/2952/3220 firmware version 3.9.6
  • Vigor3910/2962/2927/2865/2765 firmware version 4.3.1 (* firmware is not yet available)
  • To setup LAN DNS Forwarding, go to Applications >> LAN DNS / DNS Forwarding, and click on an Index number to add/edit a profile:
  • Enable this profile.
  • Enter the Profile Name.
  • Select DNS Forwarding for the Type.
  • Enter the Domain Name as * (if we want to forward all DNS queries.)
  • Enter the IP address of the private DNS server at the DNS Server IP field.
  • Click OK to save the profile.
  • setup lan dns forwarding profile

     To verify this function, we use the LAN Port Mirror to copy the WAN and LAN traffic. From the captured packets, we can see when a LAN client sends a DNS query for “client.wins.windows.com” to a public DNS server, the request will be forwarded to the Private DNS server at IP “10.1.2.3”. 

    verify dns forwarding by Wireshark packets

    Published On:2021-04-06 

    Was this helpful?