HPlogo HP-UX Reference > N

named-checkzone(1)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

named-checkzone — zone validity checking tool

SYNOPSIS

/usr/sbin/named-checkzone [-c class] [-dq] zone [filename]

DESCRIPTION

named-checkzone is a tool for performing integrity checks on the zone contents. It uses the same integrity checks as named. It mainly checks for syntax errors and also the RR type.

Options

-c class

This option is used to specify the class of the zone.

-d

This option is used to enable debugging.

-q

This option is used to enable quiet mode for exit code only.

Operands

zone

This option specifies the zone whose contents is to be checked.

filename

This option specifies the file that should be used for checking the zone contents.

If filename is not specified, it defaults to the file with the zone name. For this to work, the filename for the zone in the zone directive of the named.conf file must be identical to the zone name.

RETURN VALUE

named-checkzone returns:

0

Success.

1

Errors are detected.

EXAMPLES

$ named-checkzone -d text.domain db.domain

AUTHOR

named-checkzone was developed by ISC (Internet Software Consortium).

SEE ALSO

named(1M).

RFC1035.