• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

Ping By name issue

I have a computer that has an A record and PTR record in DNS.
its IP is I can ping it successfully using

ping -a (it resolves the name)

But if I ping it by name
 ping compname
ping compname.domainname.com

I receive:
Ping request could not find host compname. Please check the name and try again.

I can't see where the probleme could be.

2 Solutions
Ahmed Ezzat AbuRayaNetwork Developer EngineerCommented:
It seems that name resolution is blocked. Maybe a firewall issue?
Is NetBIOS over TCP/IP enabled?
Try disabling the firewall (just for testing for a min) to see if it is the problem. And see if the netbios settings are enabled.

If you still can't manage to get a successful ping reply, please respond :)
Hi there.
Please make a nslookup on your dns server. Post here the results.
nslookup, enter
server <your.dns.server>, enter
<>, enter
(tell us the results)
(tell us the results)
(tell us the results)
jskfanAuthor Commented:
Thanks... I rejoined it to the domain and for some reason it works fine now...the ping replies by name and IP
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.

Join & Write a Comment

Featured Post

SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now