named-checkzone -D

Chris Buxton cbuxton at menandmice.com
Thu Jan 10 18:03:17 UTC 2008


That means that it prints out the entire zone, with shortcuts removed.

For example, here is a zone file on my server, plus the output of  
'named-checkzone -D' performed against that file:

$ cat 0.0.127.in-addr.arpa-hosts
$TTL	86400
@       IN      SOA     localhost. root.localhost.  (
                                       1997022700 ; Serial
                                       28800      ; Refresh
                                       14400      ; Retry
                                       3600000    ; Expire
                                       86400 )    ; Minimum
               IN      NS      localhost.

1       IN      PTR     localhost.
$ named-checkzone -D 0.0.127.in-addr.arpa 0.0.127.in-addr.arpa-hosts
zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
0.0.127.in-addr.arpa.			      86400 IN SOA	localhost. root.localhost.  
1997022700 28800 14400 3600000 86400
0.0.127.in-addr.arpa.			      86400 IN NS	localhost.
1.0.0.127.in-addr.arpa.			      86400 IN PTR	localhost.
OK


Chris Buxton
Professional Services
Men & Mice
Address: Noatun 17, IS-105, Reykjavik, Iceland
Phone:   +354 412 1500
Email:   cbuxton at menandmice.com
www.menandmice.com

Men & Mice
We bring control and flexibility to network management

This e-mail and its attachments may contain confidential and  
privileged information only intended for the person or entity to which  
it is addressed. If the reader of this message is not the intended  
recipient, you are hereby notified that any retention, dissemination,  
distribution or copy of this e-mail is strictly prohibited. If you  
have received this e-mail in error, please notify us immediately by  
reply e-mail and immediately delete this message and all its attachment.



On Jan 10, 2008, at 9:15 AM, Joshua Smith wrote:

> According to the man page the -D option causes named-checkzone to dump
> the zone file in canonical format.  I've goggled around a bit, but I
> can't seem to figure out what this means.  Could one of you please
> point me to somewhere that explains this?
>
>
> Thanks,
> Josh
>
>



More information about the bind-users mailing list