Windows – Slow DNS Resolution with Windows

domain-name-systeminternal-dnswindows

I recently installed a Cisco Linksys E3200 wireless router in my network. Attached to it is a Linux server running Bind DNS that is used to resolve names of internal services.

Previously, I had a Netgear router, and all OSes (Windows, Linux, Mac) were able to resolve DNS immediately. Now, only Linux and Mac seem able to resolve DNS. It seems to take Windows (both XP and 7) hours or days to finally find the DNS server, resulting in a lot of frustrated users asking me "why can't I access anything?"

I can't find anything obviously wrong with the settings in the router, so my short-term fix has been to distribute a hosts-file to the Windows users, which is obviously not the right solution.

Windows machines can ping the internal DNS server, but they're not picking up the DNS domain/search/nameserver settings. How would I diagnose why Windows is unable to correctly resolve DNS?

EDIT: My /etc/resolv.conf auto-populated with DNS settings retrieved from my router.

domain mydomain.com
search mydomain.com
nameserver 10.157.10.1
nameserver 10.157.10.2
nameserver 192.168.1.1

Best Answer

As far as I know, Windows clients don't understand resolv.conf. You need to configure the DNS server address in the IP configuration on your Windows clients, either manually or via DHCP.