DNS timeout on Draytek Router

DNS timeout 

Having had a problem with my TalkTalk internet connection for months I thought the issue was related to TalkTalk DNS settings however this was actually due to the “UDP flood defense” setting on the Draytek “Firewall” which blocks DNS queries after a threshold value.

The symptoms were that DNS would just stop working, no DNS resolution at all, NSLOOKUPs would simply timeout but ping and IP resolution would function normally. Rebooting the Draytek would magically fix the issue.

The fix was to simply increase the “packet/sec Threshold” or “disable” the setting.
Note: The DoS defense settings are not enabled by default

Custom DNS

One issue which didn’t help when debugging was that my custom DNS (classic Google “” and “”) kept changing after reboot. This is by design as written in the Draytek 2830 manual…

“by default, if the ISP allocates its own DNS servers, these will then over-ride the manual settings”

In order to force the Draytek 2830 to use alternative DNS (Google or OpenDNS) the following command needs to be run which will prevent the DNS from changing.

srv dhcp frcdnsmanl on

Reference: draytek.co.uk/archive/kb_vigor_dns.html

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.