Network Administrator may use a private DNS server to resolve internal hostnames; however, forwarding all the DNS queries to that private DNS server might be inefficient. In such cases, we may use Conditional DNS Forwarding so that only the specified domains will be sent to and resolved by the private DNS server.
To setup Conditional DNS Forwarding, go to Applications >> LAN DNS / DNS Forwarding, and click on an Index number to add/edit a profile:
To verify this function, we use the LAN Port Mirror to copy the WAN traffic. From the captured packets, we can see when a LAN client sends DNS query for “www.example.com” to a public DNS server, the request will be forwarded to the DNS server at IP “100.100.100.100”.
1. To configure a LAN DNS profile with type FORWARD, enable DNS Redirection in the LAN profile at LAN >> General Setupfirst.
2. Go to LAN >> LAN DNS and then click Add:
With the above configuration, when a LAN host sends DNS query to ask who is www.draytek.com or who is ftp.draytek.com, the router will forward the DNS query to DNS server 172.16.2.8; if it gets the response, it will send the answer to the LAN host.
Published On: Mar 20, 2015
Was this helpful?
Thank you for your feedback :)
Sorry about that. Contact Support if you need further assistance, or leave us some comments below to help us improve.