Search Again:

Re: what command

From: Men & Mice Support
Date: Saturday, July 5, 2003
Time: 12:11:30 pm

To query a particular server about a particular zone, you would use
this command (order of command-line options not important):

dig @server.name zone.name SOA +norecurse

That is, query the server "server.name" for the SOA record of the
zone "zone.name". Query iteratively, rather than recursively, so that
the server simply gives you what data it has, rather than trying to
look up what it doesn't know.

The response will have several sections. 'dig' puts comments at the
beginning of each of these sections. Look for the HEADER section, and
the flags line in particular. Look for the flag "aa" - if it's there,
then the server is configured properly as an authoritative server for
the zone in question. If it's not there, then whatever answer it
gives is simply cached data.
____________________________________________________________________
Chris Buxton Men & Mice
Customer Support Specialist Making DNS Easy

At 4:45 PM -0700 7/4/03, Scott Haneda wrote:
>One of the things I really miss in OS X is the DNS Expert application,
>mainly I used it for one thing...
>
>What domains have I not told my secondary to be slave for.
>
>How can I use the terminal to find this out, if I can do that, then I can
>cerate a script that will take in a list of domains.
>
>Are there any other useful commands I could add to this script to mimic DNS
>Expert?
>
>--
>-------------------------------------------------------------
>Scott Haneda Tel: 415.898.2602
>http://www.newgeo.com Fax: 313.557.5052
>scott@newgeo.com Novato, CA U.S.A.




Messages In This Thread:



Return to Digital Point Solutions' Home Page