Link to home
Create AccountLog in
Avatar of rwheeler23
rwheeler23Flag for United States of America

asked on

Pinging server by name not working.

I have a server that is sitting at 10.0.0.148. I can ping that with no problems.
Reply from 10.0.0.148: bytes=32 time <1ms TTL=128
Reply from 10.0.0.148: bytes=32 time <1ms TTL=128
Reply from 10.0.0.148: bytes=32 time <1ms TTL=128
Reply from 10.0.0.148: bytes=32 time <1ms TTL=128

However when I ping the server by name I get
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Any idea what I need to do to correct this? This is a W2016 server.

Avatar of Michael Machie
Michael Machie
Flag of United States of America image

If you cannot access a site or server by name but you can by IP, then it is most likely related to a DNS issue.
Make sure you have a forward lookup 'A record' in your domain DNS (assuming a Windows domain) for that server at 10.0.0.148. Otherwise, when you ping, the name will never resolve and can result in this issue.

If you have the proper A Record in DNS, another issue may be the PC you are attempting to ping from has a DNS entry in the NIC settings which is NOT your local Domain Controller. Such as a static 8.8.8.8 versus the IP of your DNS server. Changing to the DNS server IP may resolve this problem.

ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of noci
noci

appearantly in DNS the name is assiciated with localhost for IPv6 (::1).
DNS needs to be fixed.  (or the host file).