I'm hoping one of the many network gurus here can help me with a problem that just started to happen on our office network. We have a Linksys RV082 router; short description of the problem is that clients on the internal office network are intermittently unable to resolve host names via DNS.
Here's the troubleshooting info I've gathered so far:
- External connections to servers inside our office are fine.
- Outbound connections from the office network are fine if I use the IP address (e.g. browse to http://myhostname.com fails with "host not found", but browse to http:[IP address of myhostname.com] works). This is why I'm assuming it's a DNS problem.
- Problem happens from multiple machines on the office network (it doesn't seem to be restricted to any particular machine).
- Restarting the router fixed the problem for a short time, but the problem came back after about 15 minutes.
- Changing the DNS servers defined in the router from our ISP's DNS servers to OpenDNS made things better for a couple of hours, but now we're back to the same problem again. (Note; we don't have a local DNS proxy, the router is set up to go direct to a pair of external DNS servers).
Thanks in advance for your help !
Router DNS proxies are notoriously poorly implemented (see my RFC 5625).
Usually if you tell a Linksys router to use alternate DNS servers it will then put those in any subsequent DHCP offers. However I've not tested that particular model. Please check whether your unit is doing that (i.e. run
ipconfig /all
on a Windows client orcat /etc/resolv.conf
on Unix, and check what DNS settings it has received from the DHCP server).However since you said that putting OpenDNS servers in the router didn't fix the problem, that suggests that the Linksys settings only change the settings for the proxy, and not the DHCP settings.
If that's the case then your best option would be to turn off the DHCP server in the router and run one yourself.
Set one of the internal machines to use external DNS directly instead of proxy through the router. This should tell you if the router proxy isn't working correctly or if possibly your provider isn't passing DNS queries correctly.