From: Andreas Gustafsson Date: Sat, 2 Dec 2000 00:25:42 +0000 (+0000) Subject: treat the use-ixfr option like we do with other obsolete options; X-Git-Tag: v9.1.0b1~27 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=f83520a3d87dfd32cd0b8cecc5fd2c3ae71767b6;p=thirdparty%2Fbind9.git treat the use-ixfr option like we do with other obsolete options; in particular, there is no need for the ARM to have a separate section about it --- diff --git a/doc/arm/Bv9ARM-book.xml b/doc/arm/Bv9ARM-book.xml index 7c9c2578172..e7545e60008 100644 --- a/doc/arm/Bv9ARM-book.xml +++ b/doc/arm/Bv9ARM-book.xml @@ -2,7 +2,7 @@ - + @@ -2767,6 +2767,15 @@ using rndc stats, which will dump them to the file listed in the statistics-file. See also . +use-ixfr +The use-ixfr option +is deprecated in BIND 9. If +you need to disable IXFR to a particular server or servers see +the information on the provide-ixfr option +in . See also +. + + treat-cr-as-space This option was used in BIND 8 to make the server treat carriage return ("\r") characters the same way @@ -3425,16 +3434,6 @@ to allow for a limited amount of clock skew. - - Deprecated Features - - use-ixfr is deprecated in BIND 9. If - you need to disable IXFR to a particular server or servers see - the information on the provide-ixfr option - in . See also - . - The Statistics File diff --git a/doc/misc/options b/doc/misc/options index 4838af144eb..23e5aadc28b 100644 --- a/doc/misc/options +++ b/doc/misc/options @@ -1,7 +1,7 @@ Copyright (C) 2000 Internet Software Consortium. See COPYRIGHT in the source root or http://isc.org/copyright.html for terms. -$Id: options,v 1.51 2000/11/28 22:44:10 gson Exp $ +$Id: options,v 1.52 2000/12/02 00:25:40 gson Exp $ This is a summary of the implementation status of the various named.conf options in BIND 9. @@ -55,6 +55,7 @@ options { [ recursion yes_or_no; ] Yes [ rfc2308-type1 yes_or_no; ] No [ use-id-pool yes_or_no; ] Obsolete+ + [ use-ixfr yes_or_no; ] Obsolete [ treat-cr-as-space yes_or_no; ] Obsolete# [ also-notify { ip_addr; [ ip_addr; ... ] }; ] Yes [ forward ( only | first ); ] Yes diff --git a/lib/dns/config/confctx.c b/lib/dns/config/confctx.c index 0ea656ba188..0e208f480b1 100644 --- a/lib/dns/config/confctx.c +++ b/lib/dns/config/confctx.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: confctx.c,v 1.108 2000/11/28 21:43:37 gson Exp $ */ +/* $Id: confctx.c,v 1.109 2000/12/02 00:25:42 gson Exp $ */ #include @@ -419,6 +419,11 @@ dns_c_checkconfig(dns_c_ctx_t *cfg) "option 'use-id-pool' is obsolete"); } + if (dns_c_ctx_getuseixfr(cfg, &bval) != ISC_R_NOTFOUND) { + isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG, + DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING, + "option 'use-ixfr' is obsolete"); + } if (dns_c_ctx_gettreatcrasspace(cfg, &bval) != ISC_R_NOTFOUND) { isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,