From bb1cf189bb9fd9059cf13b785d15b0e50c0be8fb Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Tue, 19 Dec 2000 19:48:09 +0000 Subject: [PATCH] renamed check-zone to named-checkzone and check-conf to named-checkzone to reduce /usr/local/bin namespace pollution; added a CHANGES entry for them --- CHANGES | 5 +++++ bin/check/Makefile.in | 14 +++++++------- bin/check/named-checkconf.8 | 18 +++++++++--------- doc/arm/Bv9ARM-book.xml | 32 ++++++++++++++++---------------- util/copyrights | 4 ++-- 5 files changed, 39 insertions(+), 34 deletions(-) diff --git a/CHANGES b/CHANGES index e78d426520..cad3ea5c01 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,8 @@ + + 623. [func] Added "named-checkconf" and "named-checkzone" program + for syntax checking named.conf files and zone files, + respectively. + 622. [bug] A canceled request could be destroyed before dns_request_destroy() was called. [RT #562] diff --git a/bin/check/Makefile.in b/bin/check/Makefile.in index a559955097..22222cbd1b 100644 --- a/bin/check/Makefile.in +++ b/bin/check/Makefile.in @@ -13,7 +13,7 @@ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.2 2000/12/14 21:33:33 marka Exp $ +# $Id: Makefile.in,v 1.3 2000/12/19 19:48:05 gson Exp $ srcdir = @srcdir@ VPATH = @srcdir@ @@ -37,17 +37,17 @@ LIBS = @LIBS@ SUBDIRS = # Alphabetically -TARGETS = check-conf check-zone +TARGETS = named-checkconf named-checkzone # Alphabetically -SRCS = check-conf.c check-zone.c check-tool.c +SRCS = named-checkconf.c named-checkzone.c check-tool.c @BIND9_MAKE_RULES@ -check-conf: check-conf.@O@ check-tool.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS} - ${LIBTOOL} ${CC} ${CFLAGS} -o $@ check-conf.@O@ check-tool.@O@ \ +named-checkconf: named-checkconf.@O@ check-tool.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS} + ${LIBTOOL} ${CC} ${CFLAGS} -o $@ named-checkconf.@O@ check-tool.@O@ \ ${DNSLIBS} ${ISCLIBS} ${LIBS} -check-zone: check-zone.@O@ check-tool.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS} - ${LIBTOOL} ${CC} ${CFLAGS} -o $@ check-zone.@O@ check-tool.@O@ \ +named-checkzone: named-checkzone.@O@ check-tool.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS} + ${LIBTOOL} ${CC} ${CFLAGS} -o $@ named-checkzone.@O@ check-tool.@O@ \ ${DNSLIBS} ${ISCLIBS} ${LIBS} diff --git a/bin/check/named-checkconf.8 b/bin/check/named-checkconf.8 index 56be59a1f0..145571c960 100644 --- a/bin/check/named-checkconf.8 +++ b/bin/check/named-checkconf.8 @@ -13,26 +13,26 @@ .\" 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.1 2000/12/14 21:41:50 marka Exp $ +.\" $Id: named-checkconf.8,v 1.2 2000/12/19 19:48:09 gson Exp $ .Dd Jun 14, 2000 -.Dt CHECK-CONF 1 +.Dt NAMED-CHECKCONF 1 .Os BIND9 9 .ds vT BIND9 Programmer's Manual .Sh NAME -.Nm check-conf +.Nm named-checkconf .Nd Configuration file syntax checking tool. .Sh SYNOPSIS -.Nm check-conf +.Nm named-checkconf .Op filename .Sh DESCRIPTION .Pp -.Nm check-conf +.Nm named-checkconf is a tool to check the syntax, but not sematics, of the configuration file for named. .Pp The options to -.Nm check-conf +.Nm named-checkconf are as follows: .Bl -tag -width Ds .It Ar filename @@ -40,9 +40,9 @@ the name of the configuration file to be checked. If not specified it defaults /etc/named.conf. .Sh RETURN VALUES .Pp -.Nm check-conf -return a zero exit value if no errors were detected, -otherwise it returns 1. +.Nm named-checkconf +return a an exit status of 1 if errors were detected, +0 otherwise. .Sh SEE ALSO .Xr named 8 , .Xr RFC1035 . diff --git a/doc/arm/Bv9ARM-book.xml b/doc/arm/Bv9ARM-book.xml index f95a475359..872b0d4d14 100644 --- a/doc/arm/Bv9ARM-book.xml +++ b/doc/arm/Bv9ARM-book.xml @@ -2,7 +2,7 @@ - + @@ -619,29 +619,22 @@ behavior, we do not recommend the use of nslookup. Use dig instead. - - - - Administrative Tools - Administrative tools play an integral part in the management -of a server. - - - check-conf + + named-checkconf - Performs syntax consistancy checks on named.conf. + Checks the syntax of named.conf. - check-conf + named-checkconf filename - - check-zone + + named-checkzone - Perform consistancy checks on a individual zone. + Performs syntax and consistency checks on a individual zone. - check-zone + named-checkzone -dq -c class zone @@ -649,6 +642,13 @@ of a server. + + + + Administrative Tools + Administrative tools play an integral part in the management +of a server. + rndc diff --git a/util/copyrights b/util/copyrights index 57fee57d88..380852adc7 100644 --- a/util/copyrights +++ b/util/copyrights @@ -9,8 +9,8 @@ ./bin/.cvsignore X 1999,2000 ./bin/Makefile.in MAKE 1998,1999,2000 ./bin/check/Makefile.in MAKE 2000 -./bin/check/check-zone.c C 1999,2000 -./bin/check/check-conf.c C 1999,2000 +./bin/check/named-checkzone.c C 1999,2000 +./bin/check/named-checkconf.c C 1999,2000 ./bin/check/check-tool.c C 2000 ./bin/dig/.cvsignore X 2000 ./bin/dig/Makefile.in MAKE 2000