IPv6 127.0.0.1 ping result

I am having a new problem where the machines on my network are having DNS issues. When I ping certain servers for a desktop the result is always 127.0.0.1. The only way to get things working again is to disable IPv6.  We are running a Windows Server 2012 Domain controller with DNS Server. Nothing has been changed recently either. I have tried everything I can find on Google and am now stuck.
BIT247Asked:
Who is Participating?
 
IndyrbCommented:
when you ping you can use the -4 or -6 depending on what you want to force ipv4 = -4 ipv6 = -6
0
 
Cliff GaliherCommented:
127.0.0.1 is not an IPv6 address at all  under any circumstances. You have something else going on. Disabling IPv6 is a total red herring. Since you say it happens when you ping server names  that points to DNS. Host files  bad DNS server  poison cache...
0
 
Daniel Van Der WerkenIndependent ConsultantCommented:
Could be possible that you have a hosts file on your local system that is redirecting your lookups to the local host.

Hosts file location:
C:\Windows\System32\drivers\etc\hosts

Check for items like this:
127.0.0.1       thesiteyourepinging
0
How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

 
Tom CieslikIT EngineerCommented:
Go to Microsoft website and download a FIX to set Prefering for IPv4 over IPv6

Install it and after restart this will fix your problem

https://support.microsoft.com/en-us/help/929852/how-to-disable-ipv6-or-its-components-in-windows
0
 
masnrockCommented:
Try Tom's suggestion. What's happening is that your server is doing IPv6 DNS lookups ahead of IPv4 ones.
0
 
BIT247Author Commented:
Hi Guys, managed to get it working again by flushing dns etc and rebooting all equipment and servers last night. I still have no idea what was causing the problem though.
0
 
Tom CieslikIT EngineerCommented:
I've sent you a fix but you don;t want to use it
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.