Windows 7 and Prefer IPV4 DNS
Posted on 2013-12-30
I have a small network with Server 2012 Standard and a handful of Windows 7 and 8.1 devices. The server handles DHCP and DNS for IPV4. Now my ISP has started offering IPV6 as well so I've thrown that into the mix and it's not playing nice. I don't have a static IP or even an assigned range for IPV6, addresses are assigned using stateless autoconfiguration. That means I can't setup a IPV6 scope or DNS server on my local server, the IP's are assigned rather by my ISP.
My solution to this was to change the registry setting to make Windows prefer IPV4. This works fine on Windows 8.1. Unless I go to a site where IPV6 is needed IPV6 does not come into play. However Windows 7 is another story, I can ping an address and it will return the IPV4 address after making the change. BUT it uses the IPV6 DNS servers as the primary DNS servers. This is a big problem because they are my ISP's name servers which can't resolve my local domain! The IPV4 name servers are third and fourth on the list and they never seem to get checked, so logging into the domain fails.
I've tried changing the prefix priorities to no avail. There just does not seem to be any way to force Windows 7 to prefer the IPV4 DNS servers that I can find.
Any suggestions besides turning off IPV6?