[Fwd: newbie nameserver]

Thor Kottelin thor at anta.net
Tue Jan 18 08:48:15 UTC 2000



BIND Users Mailing List wrote:

> From: David Shaw <dshaw at mac.com>

> > When I query your
> > server directly, I get:
> >
> > tools:~#356% dig ns.csf.nl a @ns.csf.nl
> > ;; ANSWERS:
> > ns.csf.nl. 86400 A 195.108.30.33
> > ns.csf.nl. 86400 CNAME asterix.csf.nl.
> > asterix.csf.nl. 86400 A 195.108.30.33
> 
> How do you query for the nameserver records for a domain?  I realize this is
> a newbie question, but I did not know you could do this.

There wouldn't be much point in having resource records if they weren't
queryable.	:-)

David Shaw's example above shows how to use dig to retrieve A records.

My favorite DNS client is nslookup. If you'd want to use nslookup to check
the NS records for "csf.nl.", you'd do "nslookup -q=NS csf.nl.". You could
also specify the server of your choice, e.g. "nslookup -q=NS csf.nl.
ns.csf.nl."

Thor

-- 
My PGP public key is available on key servers - please use it!

Powerful, automated web hosting: <http://www.virtualis.com/vr/tkotteli/>





More information about the bind-users mailing list