From: George Thessalonikefs Date: Tue, 21 Apr 2020 10:58:48 +0000 (+0200) Subject: - Change default value for 'rrset-roundrobin' to yes. X-Git-Tag: release-1.11.0~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=226d66ca9258c4e47b1e549ef9ab5e12c4925771;p=thirdparty%2Funbound.git - Change default value for 'rrset-roundrobin' to yes. --- diff --git a/doc/Changelog b/doc/Changelog index 0fa60aec0..07535b9e2 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +21 April 2020: George + - Change default value for 'rrset-roundrobin' to yes. + 20 April 2020: Wouter - Fix #222: --enable-rpath, fails to rpath python lib. - Fix for count of reply states in the mesh. diff --git a/doc/example.conf.in b/doc/example.conf.in index 3871e6ff0..a1a687422 100644 --- a/doc/example.conf.in +++ b/doc/example.conf.in @@ -473,7 +473,7 @@ server: # deny-any: no # if yes, Unbound rotates RRSet order in response. - # rrset-roundrobin: no + # rrset-roundrobin: yes # if yes, Unbound doesn't insert authority/additional sections # into response messages when those sections are not required. diff --git a/doc/unbound.conf.5.in b/doc/unbound.conf.5.in index d76655195..37692db5e 100644 --- a/doc/unbound.conf.5.in +++ b/doc/unbound.conf.5.in @@ -932,7 +932,7 @@ are none. .TP .B rrset\-roundrobin: \fI If yes, Unbound rotates RRSet order in response (the random number is taken -from the query ID, for speed and thread safety). Default is no. +from the query ID, for speed and thread safety). Default is yes. .TP .B minimal-responses: \fI If yes, Unbound doesn't insert authority/additional sections into response diff --git a/util/config_file.c b/util/config_file.c index 91a2c19d7..2a809f875 100644 --- a/util/config_file.c +++ b/util/config_file.c @@ -274,7 +274,7 @@ config_create(void) cfg->control_port = UNBOUND_CONTROL_PORT; cfg->control_use_cert = 1; cfg->minimal_responses = 1; - cfg->rrset_roundrobin = 0; + cfg->rrset_roundrobin = 1; cfg->unknown_server_time_limit = 376; cfg->max_udp_size = 4096; if(!(cfg->server_key_file = strdup(RUN_DIR"/unbound_server.key"))) diff --git a/util/net_help.c b/util/net_help.c index 26e0c89ee..e287f90aa 100644 --- a/util/net_help.c +++ b/util/net_help.c @@ -67,8 +67,8 @@ uint16_t EDNS_ADVERTISED_SIZE = 4096; /** minimal responses when positive answer: default is no */ int MINIMAL_RESPONSES = 0; -/** rrset order roundrobin: default is no */ -int RRSET_ROUNDROBIN = 0; +/** rrset order roundrobin: default is yes */ +int RRSET_ROUNDROBIN = 1; /** log tag queries with name instead of 'info' for filtering */ int LOG_TAG_QUERYREPLY = 0;