]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
cleanup references to ancient named.conf options
authorEvan Hunt <each@isc.org>
Wed, 15 Sep 2021 15:55:32 +0000 (08:55 -0700)
committerEvan Hunt <each@isc.org>
Tue, 12 Oct 2021 21:01:57 +0000 (14:01 -0700)
some removed options were still referenced in config.c or the ARM.

bin/named/config.c
bin/tests/system/checkconf/bad-many.conf [deleted file]
doc/arm/reference.rst
lib/bind9/check.c

index f57f0fe2ed040419b13dadbad357fd52b23a97bd..fa8473db7cb0f2a018e4d995109fee5484bbd3be 100644 (file)
@@ -51,12 +51,10 @@ options {\n\
                            "   coresize default;\n\
        datasize default;\n"
                            "\
-#      deallocate-on-exit <obsolete>;\n\
 #      directory <none>\n\
        dnssec-policy \"none\";\n\
        dump-file \"named_dump.db\";\n\
        edns-udp-size 1232;\n\
-#      fake-iquery <obsolete>;\n\
        files unlimited;\n"
 #if defined(HAVE_GEOIP2)
                            "   geoip-directory \"" MAXMINDDB_PREFIX "/share/"
@@ -66,9 +64,7 @@ options {\n\
                            "   geoip-directory \".\";\n"
 #endif /* if defined(HAVE_GEOIP2) */
                            "\
-#      has-old-clients <obsolete>;\n\
        heartbeat-interval 60;\n\
-#      host-statistics <obsolete>;\n\
        interface-interval 60;\n\
 #      keep-response-order {none;};\n\
        listen-on {any;};\n\
@@ -79,8 +75,6 @@ options {\n\
        max-rsa-exponent-size 0; /* no limit */\n\
        max-udp-size 1232;\n\
        memstatistics-file \"named.memstats\";\n\
-#      multiple-cnames <obsolete>;\n\
-#      named-xfer <obsolete>;\n\
        nocookie-udp-size 4096;\n\
        notify-rate 20;\n\
        nta-lifetime 3600;\n\
@@ -104,7 +98,6 @@ options {\n\
        rrset-order { order random; };\n\
        secroots-file \"named.secroots\";\n\
        send-cookie true;\n\
-#      serial-queries <obsolete>;\n\
        serial-query-rate 20;\n\
        server-id none;\n\
        session-keyalg hmac-sha256;\n\
@@ -113,7 +106,6 @@ options {\n\
        stacksize default;\n\
        startup-notify-rate 20;\n\
        statistics-file \"named.stats\";\n\
-#      statistics-interval <obsolete>;\n\
        tcp-advertised-timeout 300;\n\
        tcp-clients 150;\n\
        tcp-idle-timeout 300;\n\
@@ -129,9 +121,7 @@ options {\n\
        transfers-in 10;\n\
        transfers-out 10;\n\
        transfers-per-ns 2;\n\
-#      treat-cr-as-space <obsolete>;\n\
        trust-anchor-telemetry yes;\n\
-#      use-id-pool <obsolete>;\n\
        udp-receive-buffer 0;\n\
        udp-send-buffer 0;\n\
 \n\
@@ -157,7 +147,6 @@ options {\n\
                            "   dnstap-identity hostname;\n"
 #endif /* ifdef HAVE_DNSTAP */
                            "\
-#      fetch-glue <obsolete>;\n\
        fetch-quota-params 100 0.1 0.3 0.7;\n\
        fetches-per-server 0;\n\
        fetches-per-zone 0;\n\
@@ -176,7 +165,6 @@ options {\n\
        message-compression yes;\n\
        min-ncache-ttl 0; /* 0 hours */\n\
        min-cache-ttl 0; /* 0 seconds */\n\
-#      min-roots <obsolete>;\n\
        minimal-any false;\n\
        minimal-responses no-auth-recursive;\n\
        notify-source *;\n\
@@ -194,7 +182,6 @@ options {\n\
        require-server-cookie no;\n\
        resolver-nonbackoff-tries 3;\n\
        resolver-retry-interval 800; /* in milliseconds */\n\
-#      rfc2308-type1 <obsolete>;\n\
        root-key-sentinel yes;\n\
        servfail-ttl 1;\n\
 #      sortlist <none>\n\
@@ -230,8 +217,6 @@ options {\n\
 #      forwarders <none>\n\
 #      inline-signing no;\n\
        ixfr-from-differences false;\n\
-#      maintain-ixfr-base <obsolete>;\n\
-#      max-ixfr-log-size <obsolete>\n\
        max-journal-size default;\n\
        max-records 0;\n\
        max-refresh-time 2419200; /* 4 weeks */\n\
diff --git a/bin/tests/system/checkconf/bad-many.conf b/bin/tests/system/checkconf/bad-many.conf
deleted file mode 100644 (file)
index af2b434..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-options {
-       avoid-v4-udp-ports { 100; }
-       avoid-v6-udp-ports { 100; };
-       blackhole { 10.0.0.0/8; };
-       coresize 1G;
-       datasize 100M;
-       deallocate-on-exit yes;
-       directory ".";
-       dump-file "named_dumpdb";
-       fake-iquery yes;
-       files 1000;
-       has-old-clients no;
-       heartbeat-interval 30;
-       host-statistics yes;
-       host-statistics-max 100;
-       hostname none;
-       interface-interval 30;
-       keep-response-order { 10.0.0.10/24; };
-       listen-on port 90 { any; };
-       listen-on port 100 { 127.0.0.1; };
-       listen-on-v6 port 53 { none; };
-       match-mapped-addresses yes;
-       memstatistics-file "named.memstats";
-       multiple-cnames no;
-       named-xfer "this is no longer needed";
-       pid-file none;
-       port 5300;
-       querylog yes;
-       recursing-file "named.recursing";
-       recursive-clients 3000;
-       serial-queries 10;
-       serial-query-rate 100;
-       server-id none;
-};
index b6b384d292003a089263399eebf49fcc5c40f6f3..f61409397a7b79842dee79319a17813a5121aea1 100644 (file)
@@ -1641,10 +1641,6 @@ Boolean Options
    even if the server is not actually authoritative. The default is
    ``no``.
 
-``deallocate-on-exit``
-   This option was used in BIND 8 to enable checking for memory leaks on
-   exit. BIND 9 ignores the option and always performs the checks.
-
 ``memstatistics``
    This writes memory statistics to the file specified by
    ``memstatistics-file`` at exit. The default is ``no`` unless ``-m
index 2ef6e5be92c53005f7247f3d750ac3bcb900c92b..7e2b2ac2d063a5c9e0bfea4b5ff09e933f5dc73b 100644 (file)
@@ -1097,7 +1097,6 @@ check_options(const cfg_obj_t *options, const cfg_obj_t *config,
                { "max-transfer-idle-out", 60, 28 * 24 * 60 }, /* 28 days */
                { "max-transfer-time-in", 60, 28 * 24 * 60 },  /* 28 days */
                { "max-transfer-time-out", 60, 28 * 24 * 60 }, /* 28 days */
-               { "statistics-interval", 60, 28 * 24 * 60 },   /* 28 days */
 
                /* minimum and maximum cache and negative cache TTLs */
                { "min-cache-ttl", 1, MAX_MIN_CACHE_TTL },   /* 90 secs */