How to Find a Hostname for an IP Address

Follow by Email

Using DNS Lookup with Windows
Tip The Group entry from the "nbtstat" approach tells you the name of the computer's workgroup. Your VPN may be blocking it. This site uses cookies to deliver our services and to show you relevant ads and job listings. By using our site, you acknowledge that you have read and understand our Cookie Policy , Privacy Policy , and our Terms of Service. Server Fault works best with JavaScript enabled. Java 8 - Sorting HashMap by values in ascending an

Your Answer

{{search404Captions.content404Title}}

I tried nslookup on both client and server. Same response when I did nslookup server-pc. It may have the client details in its local hosts file.

Your client, on the other hand, is configured to use ns. You need to sort out where your DNS servers are supposed to be, configure the machines to use them and make sure all your machines are registered in that DNS. IT wannabe 21 1. This also works in reverse. IE, you use tracert facebook. Some things to investigate are: Is any of the IP addresses involved a "local" address, like What are the host names, are they "real" DNS: How does the client look up the server?

There must be a place in code or config data that holds the host name, simply try using the IP there instead if you want to avoid the lookup. Thanks for your reply. IP addresses are local, they start with DNS names are more local to the machine. I am giving IP address to the application, but somehow it is using host name while sending data to the server identified using netstat foreign address.

Sathya 1 5 Richard Chambers 9, 2 39 Sign up or log in Sign up using Google. Sign up using Facebook. If systems publish their address via Multicast DNS OS X, Windows 10 and Linux devices with a running avahi-daemon do this , do a lookup using avahi-resolve requires installing avahi-utils:. If the host has a public IP-address and a working reverse DNS entry, use the dig requires installing dnsutils or host requires installing bind9-host programs:. Although this is a already answered question, I may found useful add this simple hint to ubuntu-linux newcomers.

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site the association bonus does not count.

Would you like to answer one of these unanswered questions instead? Home Questions Tags Users Unanswered. Home Questions Tags Users Unanswered.

Resolve host name from IP address Ask Question. DouglasJose 2 7 7. Bruno Bieri 5. Moose 1, 6 7. Iljushkin Apr 5 '16 at 6: Flextra - you will need SMB access to the machine. Your VPN may be blocking it. Interesting, looks like it tacks on the fully qualified domain name in the formatting: If its on the network and not on the domain for me a unix system of interest then ping -a just formats with the ipaddress alone it looks like.

Just what I needed!

Querying DNS

Leave a Reply