20140608 forcing windows to obey dns server order - plembo/onemoretech GitHub Wiki
title: Forcing Windows to obey DNS server order link: https://onemoretech.wordpress.com/2014/06/08/forcing-windows-to-obey-dns-server-order/ author: phil2nc description: post_id: 7843 created: 2014/06/08 10:50:04 created_gmt: 2014/06/08 14:50:04 comment_status: closed post_name: forcing-windows-to-obey-dns-server-order status: publish post_type: post
Forcing Windows to obey DNS server order
When you run your own DNS server to give easily remembered names to the devices on your internal network it kind of helps if all of those devices, including Windows desktops, actually query that server. Of course in the real world we have to do a registry hack to make that happen. I'm really tired of having to hack my machines in order to correct intentional flaws in the design of some systems that make interoperability (how ironic that WordPress's dictionary doesn't recognize that word) a moving target. When deciding which DNS server to query Microsoft Windows systems since XP do not follow the order either served up by DHCP or manually entered into the network device configuration. As a result those of us who have internal DNS servers often find that Windows clients querying an external DNS server for an internal-only host name, resulting in the client receiving back a "no found" error. Fixing this is easy, at least for someone who earned his MCSE back when the Windows Server tested on was NT 3.51. Just open regedit and go to:
HKLM\SYSTEM\CurrentControlSet\services\Dnscache\Parameters
Then add the following REG_DWORD key and value:
ServerPriorityTimeLimit 0
Although the relevant support article (Q320760) refers to Windows XP, this hack also works for Windows 7.
Copyright 2004-2019 Phil Lembo