From: Ralph Dolmans Date: Mon, 22 Oct 2018 09:36:36 +0000 (+0000) Subject: - Change fast-server-num default to 3. X-Git-Tag: release-1.8.2rc1~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b5e7d78e35b494d4b9fb04efd140f31b5aed90f;p=thirdparty%2Funbound.git - Change fast-server-num default to 3. git-svn-id: file:///svn/unbound/trunk@4941 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 6a204501e..85e05a6ac 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +22 October 2018: Ralph + - Change fast-server-num default to 3. + 8 October 2018: Ralph - Add fast-server-permil and fast-server-num options. - Deprecate low-rtt and low-rtt-permil options. diff --git a/doc/example.conf.in b/doc/example.conf.in index 6bde88d4f..5a55d4c0c 100644 --- a/doc/example.conf.in +++ b/doc/example.conf.in @@ -761,7 +761,7 @@ server: # the fast server select is disabled. prefetches are not sped up. # fast-server-permil: 0 # the number of servers that will be used in the fast server selection. - # fast-server-num: 4 + # fast-server-num: 3 # Specific options for ipsecmod. unbound needs to be configured with # --enable-ipsecmod for these to take effect. diff --git a/doc/unbound.conf.5.in b/doc/unbound.conf.5.in index 3f8fcf5a0..13b849c6f 100644 --- a/doc/unbound.conf.5.in +++ b/doc/unbound.conf.5.in @@ -1404,7 +1404,7 @@ servers set. The default for fast\-server\-permil is 0. .B fast\-server\-num: \fI Set the number of servers that should be used for fast server selection. Only use the fastest specified number of servers with the fast\-server\-permil -option, that turns this on or off. The default is to use the fastest 4 servers. +option, that turns this on or off. The default is to use the fastest 3 servers. .SS "Remote Control Options" In the .B remote\-control: diff --git a/util/config_file.c b/util/config_file.c index b06d6285d..f9df248a2 100644 --- a/util/config_file.c +++ b/util/config_file.c @@ -168,7 +168,7 @@ config_create(void) if(!(cfg->pidfile = strdup(PIDFILE))) goto error_exit; if(!(cfg->target_fetch_policy = strdup("3 2 1 0 0"))) goto error_exit; cfg->fast_server_permil = 0; - cfg->fast_server_num = 4; + cfg->fast_server_num = 3; cfg->donotqueryaddrs = NULL; cfg->donotquery_localhost = 1; cfg->root_hints = NULL;