[plug] reverse DNS and IP lookup

Colin Muller colin at durbanet.co.za
Wed Mar 14 17:54:36 WST 2001


Mike Holland wrote:
> What linux tools will do reverse DNS lookup on an IP address?
>  And if DNS fails, is there an on-line database to say who has been
> allocated a given address?

nslookup -type=PTR ip.num.goes.here

To look it up on a specific server, type:
nslookup -type=PTR ip.num.goes.here nameserver.hostname.here

To find out which server is authoritative for an IP number (or
hostname), do:

dig -x ip.num.goes.here
dig hostname.goes.here

Colin



More information about the plug mailing list