Windows 10 ipconfig /displaydns showing 2 entries for a domain, can not clear it. AD DNS showing only 1.

MostHated
MostHated used Ask the Experts™
on
Good morning all,
    I am on Windows 10, in an AD environment with a 2008 server. When I ping a domain, I keep getting 2 IPs, the first A record is correct, but there is also a second. When I go to the domain locally it keeps going to the wrong one. Our internal DNS server, when I ping the same domain, it only has the 1 correct entry. I can only assume it is an issue with Windows 10, as my phone, and several other people I have had try all get the correct resolution.

Any ideas? I tried ipconfig /flushdns & net stop netlogon & net start netlogon & ipconfig /registerdns but that did not work. I have restarted, all the typical troubleshooting things.

Thanks,
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Active Directory/Exchange Engineer
Top Expert 2015
Commented:
1.On your windows 10 machine make sure ipv6 is not being used by your nic.  
2, from an elevated command line run         netsh winsock reset
Top Expert 2014
Commented:
Can you be more clear about what you mean when you say "ping a domain"?  In the case where there are multiple A records for the same name, the system resolver will chose one to ping, and it will keep using that record until the cache is cleared (either manually, or the TTL for the record expires).  Ping the same name again, and you will likely get a different record.  And repeat.

You should use nslookup to query for records.  It uses a resolver separate from the OS resolver, but you can see details like if there are multiple records for the same name in a single query.
Also, any time you have a question about DNS records for your domain, I recommend running
dcdiag /v /test:dns
At this point I don't think it's anything to do specifically with Windows 10, or IPv6.
MostHatedIT Manager

Author

Commented:
I did what the first response was and it ended up working, not 100% it was because of that though, as it took some time, may have just been the TTL ending. It is working fine now though.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial