http://www.perlmonks.org?node_id=75423


in reply to A little network question

Look at Net::DNS. I have also used Email::Valid, which will use either Net::DNS (if installed) or do the nslookup (if Net::DNS isn't installed). The code in both modules maybe an interesting read to you.

Also, 'perldoc -f gethostbyaddr' is good reading.

Cheers,
KM