In DNS terms, if the ip address is a.b.c.d, you want to lookup the "PTR" (not "A"!) tag for d.c.b.a.in-addr.arpa. That's what gethostbyaddr does:
use Socket qw( AF_INET inet_aton ); my $name = gethostbyaddr(inet_aton('69.147.76.15'), AF_INET); print "$name\n";
f1.www.vip.re1.yahoo.com
In reply to Re: Reverse nslookup
by ikegami
in thread Reverse nslookup
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |