Content-type: text/html Man page of named-checkzone

named-checkzone

Section: System Administration Commands (1M)
Updated: 20 Mar 2007
Index Return to Main Contents
 

NAME

named-checkzone - zone file validity checking tool  

SYNOPSIS

named-checkzone [-djqv] [-c class] [-k mode] [-n mode]
    [-o filename] [-t directory] [-w directory] [-D]
    zonename filename

 

DESCRIPTION

The named-checkzone utility checks the syntax and integrity of a zone file. It performs the same checks as named(1M) does when loading a zone. The named-checkzone utility is useful for checking zone files before configuring them into a name server.  

OPTIONS

The following options are supported:

-c class

Specify the class of the zone. If not specified, "IN" is assumed.

-d

Enable debugging.

-D

Dump zone file in canonical format.

-k mode

Perform "check-name" checks with the specified failure mode. Possible modes are fail, warn (the default) and ignore.

-j

Read the journal, if it exists, when loading the zone file.

-n mode

Specify whether NS records should be checked to see if they are addresses. Possible modes are fail, warn (the default) and ignore.

-o filename

Write zone output to filename.

-q

Run in quiet mode, reporting only the exit status.

-t directory

chroot to directory so that include directives in the configuration file are processed as if run by a similarly chrooted named.

-v

Print the version of the named-checkzone program and exit.

-w directory

chdir to directory so that relative filenames in master file $INCLUDE directives work. This is similar to the directory clause in named.conf.

 

OPERANDS

The following operands are supported:

filename

The name of the zone file.

zonename

The domain name of the zone being checked.

 

EXIT STATUS

0

No errors were detected.

1

An error was detected.

 

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE

AvailabilitySUNWbind

Interface Stability

 

SEE ALSO

named(1M), attributes(5)

RFC 1035

BIND 9 Administrator Reference Manual, available on the ISC web site.  

NOTES

Source for BIND9 is available in the SUNWbind9S package.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
OPERANDS
EXIT STATUS
ATTRIBUTES
SEE ALSO
NOTES

This document was created by man2html, using the manual pages.
Time: 02:37:09 GMT, October 02, 2010