"Adam Carter" <[EMAIL PROTECTED]> writes:

>> I know I've once known and used a command that listed the nameservers
>> serving a given IP.
>> 
>> I don't remember if it was nslookup, host, dig or what but not finding
>> it in those various man pages.
>
> I have made a different assumtion about what your question means than
> other posters - assuming you want to find which nameserver is hosting
> the reverse lookup zone, with gentoo.org's IP address as an example;
>
> [EMAIL PROTECTED] ~ $ host gentoo.org
> gentoo.org has address 204.74.99.100
> gentoo.org mail is handled by 10 mail.gentoo.org.
> gentoo.org mail is handled by 40 mx2.gentoo.org.
>
> So to find out who's hosting the reverse record for 204.74.99.100 we
> reverse the first three octets and add in.addr.arpa, ie;
>
> [EMAIL PROTECTED] ~ $ host -t NS 99.74.202.in-addr.arpa.
> 99.74.202.in-addr.arpa name server hk-dns1.hk.prserv.net.
> 99.74.202.in-addr.arpa name server hk-dns2.hk.prserv.net.

Nice trick and thanks for the info... I was looking for something like

dig NS -x $IP posted by Boyd and the nslookup posted by Uwe T.

-- 
[email protected] mailing list

Reply via email to