The recommended client DNS config for resolving internal and external addresses

domain-name-system

Normally, where I have a customer with a SBS, I use its DNS to resolve internal names and then forward to the external DNS if the internal cannot DNS cannot resolve the address.

Recently, at a customer site the parent company installed a new Cisco PIX router and took over the DHCP functions. They have changed the config on the clients to use the primary DNS to resolve internal names and the secondary DNS to resolve external names.

I did not think that this was the intent of the Primary and Secondary DNS entries, but I'm no expert on the subject.

What is the preferred client setup when there is an internal DNS?

Best Answer

If you want things to work easily and painlessly, do the following:

  • Run Windows DNS servers only on Active Directory domain controller computers. (This insures they have copies of your Active Directory-integrated DNS zones).

  • Insure that your Windows DNS servers have either "Root Hints" specified (which is the case by default) or have a "Forwarder" specified referring to a DNS server at your IPS.

  • Verify that all Windows machines (servers and clients) have only Windows DNS servers specified as their DNS servers. (No non-Windows DC-based DNS servers should be specified in any server, client, or DHCP configurations.)

  • Verify that your firewall rules permit the Windows DNS servers outbound UDP port 53 to the Internet (either the entire 'net, if you're using "Root Hints" or your ISP DNS servers, if you're using "Forwarders").

This is the recommended configuration from Microsoft and will result in both Internet and internal name resolution w/o "leaking" dynamic registration requests from Windows machines to your ISP or other external DNS servers.

This answer is rather assumptive, but being that you mentioned SBS it's likely that this is a fairly simplistic network and the above is your most painless way to get what you're looking for moving forward.

If it were me, BTW, I'd use root hints rather than forwarders. I don't trust my ISP not to do nasty things with DNS (respond with their own "serach engine" site rather than returing NXDOMAIN's for invalid domain names, etc).