From: Wouter Wijngaards Date: Tue, 15 Jun 2010 10:50:20 +0000 (+0000) Subject: - Max referral count from 30 to 130, because 128 one character domains X-Git-Tag: release-1.4.6rc1~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb3b64970758ba9a1a8fc9cc252ec5a1b55b6894;p=thirdparty%2Funbound.git - Max referral count from 30 to 130, because 128 one character domains is valid DNS. git-svn-id: file:///svn/unbound/trunk@2152 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 3054c0f72..47c3e25b5 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -4,6 +4,8 @@ - Fix TCPreply on systems with no writev, if just 1 byte could be sent. - Fix to use one pointer less for iterator query state store_parent_NS. - makedist crosscompile to windows uses builtin ldns not host ldns. + - Max referral count from 30 to 130, because 128 one character domains + is valid DNS. 11 June 2010: Wouter - When retry to parent the retrycount is not wiped, so failed diff --git a/iterator/iterator.h b/iterator/iterator.h index 30a077c94..59dd4b16b 100644 --- a/iterator/iterator.h +++ b/iterator/iterator.h @@ -55,7 +55,7 @@ struct iter_priv; /** max number of query restarts. Determines max number of CNAME chain. */ #define MAX_RESTART_COUNT 8 /** max number of referrals. Makes sure resolver does not run away */ -#define MAX_REFERRAL_COUNT 30 +#define MAX_REFERRAL_COUNT 130 /** how nice is a server without further information, in msec * Equals rtt initial timeout value. */