Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2005 13:41:15 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        relax think <relax_n_think@yahoo.com.cn>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: DNS: querying route DNS
Message-ID:  <41E7CBFB.1090603@infracaninophile.co.uk>
In-Reply-To: <20050114131018.68217.qmail@web15703.mail.cnb.yahoo.com>
References:  <20050114131018.68217.qmail@web15703.mail.cnb.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig2E29394C01059F52F5E1529B
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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.

	Cheers,

	Matthew

-- 
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

--------------enig2E29394C01059F52F5E1529B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBQefMApr7OpndfbmCAQKIwQP7B9ZZ9QttdQxkH9pGwTENV40hDaMmLBKO
rRVYo3Fbt9EE7uQvGOB/xZFzLrbeDMNBrSHVviJuJQXq9gcdQMrl0Cg17+r6mKIx
2i4FRdGrsoEOdZ1mv68GXLVdkw+fsGJlABEkFD7vGjjBnvPKYe5rAspVwGpDu8lG
KfdpKu9nImg=
=NAka
-----END PGP SIGNATURE-----

--------------enig2E29394C01059F52F5E1529B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41E7CBFB.1090603>