named-checkzone

Kevin Darcy kcd at daimlerchrysler.com
Thu Feb 26 23:27:07 UTC 2004


Sara wrote:

>Hello all,
>
>I was using named-checkzone but I cannot really this behavior (I cd to
>/usr/local/bind/var where the zonefile are stored; I have a zonefile
>mycompany.com for zone mycompany.com):
>
>[root at turkey var]# named-checkzone mycompany.com mycompany.com
>zone mycompany.com/IN: loaded serial 2003032909
>OK
>[root at turkey var]# named-checkzone non-existent-domain.com
>mycompany.com
>zone non-existent-domain.com/IN: loaded serial 2003032909
>OK
>
>Is it always OK regardless of the zonefilename???
>TIA all!!
>
The "zonename" parameter to named-checkzone just tells it what to set 
the "zone origin" to be. Zone origin only comes into play if you use the 
"@" notation or unqualified/partially-qualified names prior to the first 
$ORIGIN directive in the zone file, if any. Assuming that the 
mycompany.com zone file doesn't do any of that, the "zonename" parameter 
is essentially superfluous in your situation.

                                                                         
                                    - Kevin




More information about the bind-users mailing list