On Mon, Jul 22, 2002 at 07:24:23PM -0700, Horst wrote: > 1) How do I get the serial number that an arbitrary NS has cached for a > specific domainname ? > > 2) How is this different if the 'arbitrary' NS is actually the Primary > for that domain ? (except that 'cached' wouldn't be the right term?)
On Mon, 22 Jul 2002, Jacob Meuser wrote: ... snipped > > $ dig [ @ns.example.com ] example.com SOA ANY [ +nssearch ] > Thanks Jacob, this got me off the ground (of course, I tried man dig before posting but that particular man page isn't that helpful); bind 9.2.1 Still, from what I see so far only the NSs with SAO show the details - see 4 blocks below (the 3rd only shows the complaint about 'SOA') - Horst """ [root@ns Work]# dig @ns2.google.com google.com ANY +nssearch SOA ns1.google.com. dns-admin.google.com. 2002072208 7200 1800 1038800 60 from server ns3.google.com in 103 ms. SOA ns1.google.com. dns-admin.google.com. 2002072208 7200 1800 1038800 60 from server ns4.google.com in 54 ms. SOA ns1.google.com. dns-admin.google.com. 2002072208 7200 1800 1038800 60 from server ns1.google.com in 73 ms. SOA ns1.google.com. dns-admin.google.com. 2002072208 7200 1800 1038800 60 from server ns2.google.com in 72 ms. [root@ns Work]# dig @ns2.google.com efn.org ANY +nssearch << there was nothing, H. >> [root@ns Work]# dig @ns2.google.com efn.org SOA ANY +nssearch ;; Warning, extra type option ;; connection timed out; no servers could be reached [root@ns Work]# [root@ns Work]# dig @ns.efn.org efn.org ANY +nssearch SOA efn.org. hostmaster.opn.org. 2002071701 10800 3600 604800 600 from server phloem.uoregon.edu in 390 ms. SOA efn.org. hostmaster.opn.org. 2002071701 10800 3600 604800 600 from server ns.efn.org in 390 ms. SOA efn.org. hostmaster.opn.org. 2002071701 10800 3600 604800 600 from server ns1.efn.org in 99 ms. SOA efn.org. hostmaster.opn.org. 2002071701 10800 3600 604800 600 from server ns2.efn.org in 101 ms. [root@ns Work]# """