1 |
> I know I've once known and used a command that listed the nameservers |
2 |
> serving a given IP. |
3 |
> |
4 |
> I don't remember if it was nslookup, host, dig or what but not finding |
5 |
> it in those various man pages. |
6 |
|
7 |
I have made a different assumtion about what your question means than |
8 |
other posters - assuming you want to find which nameserver is hosting |
9 |
the reverse lookup zone, with gentoo.org's IP address as an example; |
10 |
|
11 |
adam@rix ~ $ host gentoo.org |
12 |
gentoo.org has address 204.74.99.100 |
13 |
gentoo.org mail is handled by 10 mail.gentoo.org. |
14 |
gentoo.org mail is handled by 40 mx2.gentoo.org. |
15 |
|
16 |
So to find out who's hosting the reverse record for 204.74.99.100 we |
17 |
reverse the first three octets and add in.addr.arpa, ie; |
18 |
|
19 |
adam@rix ~ $ host -t NS 99.74.202.in-addr.arpa. |
20 |
99.74.202.in-addr.arpa name server hk-dns1.hk.prserv.net. |
21 |
99.74.202.in-addr.arpa name server hk-dns2.hk.prserv.net. |
22 |
|
23 |
Rgs, |
24 |
Adam |
25 |
-- |
26 |
gentoo-user@g.o mailing list |