How to find hostname from a given IP address in LAN?

how to find hostname from a given IP address in LAN ?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pokkai D. wrote:
| how to find hostname from a given IP address in LAN ?

Reverse DNS lookup.


Phillip G.
Twitter: twitter.com/cynicalryan

~ - You know you’ve been hacking too long when…
…you stare blankly at the screen and your fingers type “rwho” without
any help from your brain. …you get tired of screens full of worthless
information scrolling so you alias rwho. …you subconsciously start
typing “/usr/ucb/rwho” to bypass your alias. …you alias
/usr/ucb/rwho, but bypass that alias simply by inserting extra "/"s.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgEhz4ACgkQbtAgaoJTgL+eawCfSF18GsphkbPd9ArsWtmKoheY
jmgAoKJN0LRIMRPsCdrqi6mb5Yf9LQkI
=yEcM
-----END PGP SIGNATURE-----

Phillip G. wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pokkai D. wrote:
| how to find hostname from a given IP address in LAN ?

Reverse DNS lookup.


Phillip G.
Twitter: twitter.com/cynicalryan

-----END PGP SIGNATURE-----
how by using rwho ?
can you give a small example

thank you

Hi,
----- Original Message -----
From: “Pokkai D.” [email protected]
Newsgroups: comp.lang.ruby
To: “ruby-talk ML” [email protected]
Sent: Tuesday, April 15, 2008 7:32 PM
Subject: how to find hostname from a given IP address in LAN ?

how to find hostname from a given IP address in LAN ?

Posted via http://www.ruby-forum.com/.

C:\Documents and Settings\phasis>irb
irb(main):001:0> Socket::getaddrinfo(‘210.180.98.85’,nil)[0][2]
=> “ns.hananet.net

Regards,

Park H.

thank you

On Tue, Apr 15, 2008 at 1:39 PM, Pokkai D. [email protected]
wrote:

Phillip G. wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pokkai D. wrote:
| how to find hostname from a given IP address in LAN ?

Reverse DNS lookup.

http://support.microsoft.com/kb/164213
RFC 1035, section 3.5

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs