From 664095046ae9ffe6ed4a8ecd2cda025dcc1f8302 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sun, 17 Oct 2004 23:19:51 +0000 Subject: [PATCH] 1747. [bug] BIND 8 compatability: named/named-checkconf failed to parse "host-statistics-max" in named.conf. --- CHANGES | 3 +++ bin/named/named.conf.docbook | 3 ++- doc/arm/Bv9ARM-book.xml | 9 ++++++++- lib/isccfg/namedconf.c | 3 ++- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 904eef455d..ae9d8e5704 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1747. [bug] BIND 8 compatability: named/named-checkconf failed + to parse "host-statistics-max" in named.conf. + 1744. [bug] If tuple2msgname() failed to convert a tuple to a name a REQUIRE could be triggered. [RT #12796] diff --git a/bin/named/named.conf.docbook b/bin/named/named.conf.docbook index ba6ac12d37..b5a71dcf1b 100644 --- a/bin/named/named.conf.docbook +++ b/bin/named/named.conf.docbook @@ -15,7 +15,7 @@ - PERFORMANCE OF THIS SOFTWARE. --> - + @@ -177,6 +177,7 @@ options { files size; heartbeat-interval integer; host-statistics boolean; // not implemented + host-statistics-max number; // not implemented hostname ( quoted_string | none ); interface-interval integer; listen-on port integer { address_match_element; ... }; diff --git a/doc/arm/Bv9ARM-book.xml b/doc/arm/Bv9ARM-book.xml index 048c06b5b2..f1b2ece1d7 100644 --- a/doc/arm/Bv9ARM-book.xml +++ b/doc/arm/Bv9ARM-book.xml @@ -2,7 +2,7 @@ - + BIND 9 Administrator Reference Manual @@ -2712,6 +2712,7 @@ statement in the named.conf file: flush-zones-on-shutdown yes_or_no; has-old-clients yes_or_no; host-statistics yes_or_no; + host-statistics-max number; minimal-responses yes_or_no; multiple-cnames yes_or_no; notify yes_or_no | explicit; @@ -3847,6 +3848,12 @@ will be automatically removed. The default is unlimited. +host-statistics-max +In BIND 8, specifies the maximum number of host statistic +entries to be kept. +Not implemented in BIND 9. + + recursive-clients The maximum number of simultaneous recursive lookups the server will perform on behalf of clients. The default is diff --git a/lib/isccfg/namedconf.c b/lib/isccfg/namedconf.c index 2e01b2bfff..3321bd6d11 100644 --- a/lib/isccfg/namedconf.c +++ b/lib/isccfg/namedconf.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: namedconf.c,v 1.21.44.28 2004/06/04 02:33:01 marka Exp $ */ +/* $Id: namedconf.c,v 1.21.44.29 2004/10/17 23:19:51 marka Exp $ */ #include @@ -586,6 +586,7 @@ options_clauses[] = { { "has-old-clients", &cfg_type_boolean, CFG_CLAUSEFLAG_OBSOLETE }, { "heartbeat-interval", &cfg_type_uint32, 0 }, { "host-statistics", &cfg_type_boolean, CFG_CLAUSEFLAG_NOTIMP }, + { "host-statistics-max", &cfg_type_uint32, CFG_CLAUSEFLAG_NOTIMP }, { "hostname", &cfg_type_qstringornone, 0 }, { "interface-interval", &cfg_type_uint32, 0 }, { "listen-on", &cfg_type_listenon, CFG_CLAUSEFLAG_MULTI },