![]() |
|
#1
|
||||
|
||||
Windows Command to find the hostname for an IP addressWhat is the Windows XP command, if any, to find the hostname for a given IP address?
I can do the reverse with `nslookup`: Code:
... but I don't know how to find the hostname if all I have is an IP address. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#2
|
||||
|
||||
Re: Windows Command to find the hostname for an IP addressThe command is called reverse DNS lookup. If you want an Internet site, try this site: http://remote.12dt.com/.
According to this site (http://www.tech-faq.com/reverse-dns.shtml), your nslookup command should work just fine w/ the IP address. Otherwise just do Google search on reverse DNS (rDNS). __________________
Common Sense v2.0-Striving to make the world a little bit smarter. |
|
#3
|
||||
|
||||
Re: Windows Command to find the hostname for an IP addressYou could give this a try,
www.php.net Mark A few more using different methods, http://www.hcidata.info/host2ip.cgi http://h30097.www3.hp.com/globus/hpc/ghba.html http://www.softpedia.com/get/System/...Hostname.shtml http://codebase.dbp-site.com/code/co...b-address-ip-3 __________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work." --Thomas Alva Edison "Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety." --Benjamin Franklin "A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes." --Hugh Downs |
|
#4
|
||||
|
||||
Re: Windows Command to find the hostname for an IP addressQuote:
Yes, it works! As for the links to online tools, I don't know why anyone would use a web site to get this information when there is a command like nslookup in your PC already. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#5
|
||||
|
||||
Re: Windows Command to find the hostname for an IP addressQuote:
Only the first list one is like that. The 2nd is code, 3rd a tool, and fourth is code (granted a form a basic) but using Winsock. My money however was on the php.net link. I apologize for missing the target. |
|
#6
|
||||
|
||||
Re: Windows Command to find the hostname for an IP addressWith PHP, the code to create a web page/tool like this is rather trivial e.g.
PHP Code:
is pretty much all it takes! All this time I have been using Linux's host command to get this information and it never occurred to me to figure out how to do this with Windows -- until today! __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
Recent GIDBlog
NARMY by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command & Conquer 95 under XP | dexter | Computer Software Forum - Games | 41 | 29-Jun-2008 12:45 |
| How do you find the return address in an array of integers? | racermike1967 | C Programming Language | 2 | 07-Nov-2005 10:08 |
| Pointer Usage in C++: Beginner to Advanced | varunhome | CPP / C++ Forum | 0 | 19-Aug-2005 09:25 |
| Cannot find a runtime error on a fltk app running on windows | Frangar | FLTK Forum | 2 | 12-May-2005 11:38 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The