mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
Merge branch 'each-cleanup-ancient' into 'main'
cleanup references to ancient named.conf options Closes #357 See merge request isc-projects/bind9!5407
This commit is contained in:
@@ -51,12 +51,10 @@ options {\n\
|
|||||||
" coresize default;\n\
|
" coresize default;\n\
|
||||||
datasize default;\n"
|
datasize default;\n"
|
||||||
"\
|
"\
|
||||||
# deallocate-on-exit <obsolete>;\n\
|
|
||||||
# directory <none>\n\
|
# directory <none>\n\
|
||||||
dnssec-policy \"none\";\n\
|
dnssec-policy \"none\";\n\
|
||||||
dump-file \"named_dump.db\";\n\
|
dump-file \"named_dump.db\";\n\
|
||||||
edns-udp-size 1232;\n\
|
edns-udp-size 1232;\n\
|
||||||
# fake-iquery <obsolete>;\n\
|
|
||||||
files unlimited;\n"
|
files unlimited;\n"
|
||||||
#if defined(HAVE_GEOIP2)
|
#if defined(HAVE_GEOIP2)
|
||||||
" geoip-directory \"" MAXMINDDB_PREFIX "/share/"
|
" geoip-directory \"" MAXMINDDB_PREFIX "/share/"
|
||||||
@@ -66,9 +64,7 @@ options {\n\
|
|||||||
" geoip-directory \".\";\n"
|
" geoip-directory \".\";\n"
|
||||||
#endif /* if defined(HAVE_GEOIP2) */
|
#endif /* if defined(HAVE_GEOIP2) */
|
||||||
"\
|
"\
|
||||||
# has-old-clients <obsolete>;\n\
|
|
||||||
heartbeat-interval 60;\n\
|
heartbeat-interval 60;\n\
|
||||||
# host-statistics <obsolete>;\n\
|
|
||||||
interface-interval 60;\n\
|
interface-interval 60;\n\
|
||||||
# keep-response-order {none;};\n\
|
# keep-response-order {none;};\n\
|
||||||
listen-on {any;};\n\
|
listen-on {any;};\n\
|
||||||
@@ -79,8 +75,6 @@ options {\n\
|
|||||||
max-rsa-exponent-size 0; /* no limit */\n\
|
max-rsa-exponent-size 0; /* no limit */\n\
|
||||||
max-udp-size 1232;\n\
|
max-udp-size 1232;\n\
|
||||||
memstatistics-file \"named.memstats\";\n\
|
memstatistics-file \"named.memstats\";\n\
|
||||||
# multiple-cnames <obsolete>;\n\
|
|
||||||
# named-xfer <obsolete>;\n\
|
|
||||||
nocookie-udp-size 4096;\n\
|
nocookie-udp-size 4096;\n\
|
||||||
notify-rate 20;\n\
|
notify-rate 20;\n\
|
||||||
nta-lifetime 3600;\n\
|
nta-lifetime 3600;\n\
|
||||||
@@ -104,7 +98,6 @@ options {\n\
|
|||||||
rrset-order { order random; };\n\
|
rrset-order { order random; };\n\
|
||||||
secroots-file \"named.secroots\";\n\
|
secroots-file \"named.secroots\";\n\
|
||||||
send-cookie true;\n\
|
send-cookie true;\n\
|
||||||
# serial-queries <obsolete>;\n\
|
|
||||||
serial-query-rate 20;\n\
|
serial-query-rate 20;\n\
|
||||||
server-id none;\n\
|
server-id none;\n\
|
||||||
session-keyalg hmac-sha256;\n\
|
session-keyalg hmac-sha256;\n\
|
||||||
@@ -113,7 +106,6 @@ options {\n\
|
|||||||
stacksize default;\n\
|
stacksize default;\n\
|
||||||
startup-notify-rate 20;\n\
|
startup-notify-rate 20;\n\
|
||||||
statistics-file \"named.stats\";\n\
|
statistics-file \"named.stats\";\n\
|
||||||
# statistics-interval <obsolete>;\n\
|
|
||||||
tcp-advertised-timeout 300;\n\
|
tcp-advertised-timeout 300;\n\
|
||||||
tcp-clients 150;\n\
|
tcp-clients 150;\n\
|
||||||
tcp-idle-timeout 300;\n\
|
tcp-idle-timeout 300;\n\
|
||||||
@@ -129,9 +121,7 @@ options {\n\
|
|||||||
transfers-in 10;\n\
|
transfers-in 10;\n\
|
||||||
transfers-out 10;\n\
|
transfers-out 10;\n\
|
||||||
transfers-per-ns 2;\n\
|
transfers-per-ns 2;\n\
|
||||||
# treat-cr-as-space <obsolete>;\n\
|
|
||||||
trust-anchor-telemetry yes;\n\
|
trust-anchor-telemetry yes;\n\
|
||||||
# use-id-pool <obsolete>;\n\
|
|
||||||
udp-receive-buffer 0;\n\
|
udp-receive-buffer 0;\n\
|
||||||
udp-send-buffer 0;\n\
|
udp-send-buffer 0;\n\
|
||||||
\n\
|
\n\
|
||||||
@@ -157,7 +147,6 @@ options {\n\
|
|||||||
" dnstap-identity hostname;\n"
|
" dnstap-identity hostname;\n"
|
||||||
#endif /* ifdef HAVE_DNSTAP */
|
#endif /* ifdef HAVE_DNSTAP */
|
||||||
"\
|
"\
|
||||||
# fetch-glue <obsolete>;\n\
|
|
||||||
fetch-quota-params 100 0.1 0.3 0.7;\n\
|
fetch-quota-params 100 0.1 0.3 0.7;\n\
|
||||||
fetches-per-server 0;\n\
|
fetches-per-server 0;\n\
|
||||||
fetches-per-zone 0;\n\
|
fetches-per-zone 0;\n\
|
||||||
@@ -176,7 +165,6 @@ options {\n\
|
|||||||
message-compression yes;\n\
|
message-compression yes;\n\
|
||||||
min-ncache-ttl 0; /* 0 hours */\n\
|
min-ncache-ttl 0; /* 0 hours */\n\
|
||||||
min-cache-ttl 0; /* 0 seconds */\n\
|
min-cache-ttl 0; /* 0 seconds */\n\
|
||||||
# min-roots <obsolete>;\n\
|
|
||||||
minimal-any false;\n\
|
minimal-any false;\n\
|
||||||
minimal-responses no-auth-recursive;\n\
|
minimal-responses no-auth-recursive;\n\
|
||||||
notify-source *;\n\
|
notify-source *;\n\
|
||||||
@@ -194,7 +182,6 @@ options {\n\
|
|||||||
require-server-cookie no;\n\
|
require-server-cookie no;\n\
|
||||||
resolver-nonbackoff-tries 3;\n\
|
resolver-nonbackoff-tries 3;\n\
|
||||||
resolver-retry-interval 800; /* in milliseconds */\n\
|
resolver-retry-interval 800; /* in milliseconds */\n\
|
||||||
# rfc2308-type1 <obsolete>;\n\
|
|
||||||
root-key-sentinel yes;\n\
|
root-key-sentinel yes;\n\
|
||||||
servfail-ttl 1;\n\
|
servfail-ttl 1;\n\
|
||||||
# sortlist <none>\n\
|
# sortlist <none>\n\
|
||||||
@@ -230,8 +217,6 @@ options {\n\
|
|||||||
# forwarders <none>\n\
|
# forwarders <none>\n\
|
||||||
# inline-signing no;\n\
|
# inline-signing no;\n\
|
||||||
ixfr-from-differences false;\n\
|
ixfr-from-differences false;\n\
|
||||||
# maintain-ixfr-base <obsolete>;\n\
|
|
||||||
# max-ixfr-log-size <obsolete>\n\
|
|
||||||
max-journal-size default;\n\
|
max-journal-size default;\n\
|
||||||
max-records 0;\n\
|
max-records 0;\n\
|
||||||
max-refresh-time 2419200; /* 4 weeks */\n\
|
max-refresh-time 2419200; /* 4 weeks */\n\
|
||||||
|
@@ -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;
|
|
||||||
};
|
|
@@ -1641,10 +1641,6 @@ Boolean Options
|
|||||||
even if the server is not actually authoritative. The default is
|
even if the server is not actually authoritative. The default is
|
||||||
``no``.
|
``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``
|
``memstatistics``
|
||||||
This writes memory statistics to the file specified by
|
This writes memory statistics to the file specified by
|
||||||
``memstatistics-file`` at exit. The default is ``no`` unless ``-m
|
``memstatistics-file`` at exit. The default is ``no`` unless ``-m
|
||||||
|
@@ -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-idle-out", 60, 28 * 24 * 60 }, /* 28 days */
|
||||||
{ "max-transfer-time-in", 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 */
|
{ "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 */
|
/* minimum and maximum cache and negative cache TTLs */
|
||||||
{ "min-cache-ttl", 1, MAX_MIN_CACHE_TTL }, /* 90 secs */
|
{ "min-cache-ttl", 1, MAX_MIN_CACHE_TTL }, /* 90 secs */
|
||||||
|
Reference in New Issue
Block a user