longer optional, to avoid reduce confusion. [RT #612] Also some other minor cleanups of named-checkzone and its man page.
65 lines
1.8 KiB
Groff
65 lines
1.8 KiB
Groff
.\" Copyright (C) 2000, 2001 Internet Software Consortium.
|
|
.\"
|
|
.\" Permission to use, copy, modify, and distribute this software for any
|
|
.\" purpose with or without fee is hereby granted, provided that the above
|
|
.\" copyright notice and this permission notice appear in all copies.
|
|
.\"
|
|
.\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
|
.\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
|
.\" INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
|
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
|
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
|
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
.\" $Id: named-checkzone.8,v 1.4 2001/01/24 00:56:56 gson Exp $
|
|
|
|
.Dd Jun 13, 2000
|
|
.Dt NAMED-CHECKZONE 1
|
|
.Os BIND9 9
|
|
.ds vT BIND9 Programmer's Manual
|
|
.Sh NAME
|
|
.Nm named-checkzone
|
|
.Nd Zone validity checking tool.
|
|
.Sh SYNOPSIS
|
|
.Nm named-checkzone
|
|
.Op Fl dq
|
|
.Op Fl c Ar class
|
|
.Ar zonename
|
|
.Ar filename
|
|
.Sh DESCRIPTION
|
|
.Pp
|
|
.Nm named-checkzone
|
|
checks the syntax and integrity of a zone file.
|
|
It performs the same checks as
|
|
.Nm named
|
|
does when loading a zone. This makes
|
|
.Nm named-checkzone
|
|
useful for checking zone files before
|
|
configuring them into a name server.
|
|
.Pp
|
|
The options to
|
|
.Nm named-checkzone
|
|
are as follows:
|
|
.Bl -tag -width Ds
|
|
.It Fl d
|
|
enable debugging.
|
|
.It Fl q
|
|
quiet mode - exit code only.
|
|
.It Fl c Ar class
|
|
specify the class of the zone.
|
|
If not specified "IN" is assumed.
|
|
.It Ar zonename
|
|
the domain name of the zone being checked.
|
|
.It Ar filename
|
|
the name of the zone file.
|
|
.Sh RETURN VALUES
|
|
.Pp
|
|
.Nm named-checkzone
|
|
return a an exit status of 1 if errors were detected,
|
|
0 otherwise.
|
|
.Sh SEE ALSO
|
|
.Xr named 8 ,
|
|
.Xr RFC1035 .
|