From 1718abab459171b935b92526b403aa85d398ec81 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Mon, 29 Jan 2001 18:38:11 +0000 Subject: [PATCH] document the new -t option; misc cleanup --- bin/check/named-checkconf.8 | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/bin/check/named-checkconf.8 b/bin/check/named-checkconf.8 index 2e3a0edb5c..4539f1cfb9 100644 --- a/bin/check/named-checkconf.8 +++ b/bin/check/named-checkconf.8 @@ -13,7 +13,7 @@ .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.\" $Id: named-checkconf.8,v 1.3 2001/01/09 21:47:14 bwelling Exp $ +.\" $Id: named-checkconf.8,v 1.4 2001/01/29 18:38:11 gson Exp $ .Dd Jun 14, 2000 .Dt NAMED-CHECKCONF 1 @@ -21,14 +21,15 @@ .ds vT BIND9 Programmer's Manual .Sh NAME .Nm named-checkconf -.Nd Configuration file syntax checking tool. +.Nd named configuration file syntax checking tool. .Sh SYNOPSIS .Nm named-checkconf -.Op filename +.Op Fl t Ar directory +.Ar filename .Sh DESCRIPTION .Pp .Nm named-checkconf -is a tool to check the syntax, but not sematics, of the configuration file +checks the syntax, but not sematics, of the configuration file for named. .Pp The options to @@ -38,11 +39,17 @@ are as follows: .It Ar filename the name of the configuration file to be checked. If not specified it defaults /etc/named.conf. +.It Fl t +chroot to +.Ar directory +so that include directives in the configuration +file are processed as if run by a similarly chrooted +named. +.El .Sh RETURN VALUES .Pp .Nm named-checkconf return a an exit status of 1 if errors were detected, 0 otherwise. .Sh SEE ALSO -.Xr named 8 , -.Xr RFC1035 . +.Xr named 8 .