DNS: querying route DNS

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Jan 14 05:41:35 PST 2005

relax think wrote:
> i want to query root servers directly instead of my ISP dns and for tht have used couple of commands
> like " tracert " and route through (RT) but wasnt able to query root server directly ,
> if u know how to directly query root server thn plz help

Use dig(1).  Eg. to see the nameservers that the cn domain is delegated 
to try:

     % dig @f.root-servers.net cn IN NS

Although I can't really see much point in doing this -- the root servers 
will only return actual answers to queries about top level domains (see 
http://www.iana.org/cctld/cctld-whois.htm and 
http://www.iana.org/gtld/gtld.htm ) -- otherwise, and the vast majority 
of the time, they'll just tell you to go and bother some other 
nameserver which has data about the next level down the domain hierarchy.

If your ISPs nameservers are unreliable or overloaded, and not giving 
you a good service, then one course of action you might consider is just 
configuring the named(8) built into your FreeBSD system to do recursive 
DNS lookups for you. (And caching -- but that's a given for any sort of 
DNS server).  If you (or anyone) is interested I'll be happy to post a 
HowTo to the list.



Dr Matthew J Seaman MA, D.Phil.                       8 Dane Court Manor
                                                       School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey         Tilmanstone
Tel: +44 1304 617253                                  Kent, CT14 0JL UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 372 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050114/a1798410/signature.bin

More information about the freebsd-questions mailing list