]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
EDNS fallback fixed for error cache.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 14 Jan 2009 09:56:41 +0000 (09:56 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 14 Jan 2009 09:56:41 +0000 (09:56 +0000)
git-svn-id: file:///svn/unbound/trunk@1434 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
iterator/iterator.h

index 032f3bdd855a06a69ad250eece8550100f440a13..ab0a336962cd8c24ca475e849307e2dcefb4dadc 100644 (file)
@@ -5,6 +5,8 @@
        - the TTL comparison for the cache used different comparisons,
          causing many cache responses that used the iterator and validator
          state machines unnecessarily.
+       - retry from 4 to 5 so that EDNS drop retry is part of the first
+         query resolve attempt, and cached error does not stop EDNS fallback.
 
 13 January 2009: Wouter
        - fixed bug in lameness marking, removed printouts.
index 7a0a1e2cda357f8115cc93f70030d1b4c616a00d..a3f839bf9c74416e632aec3e3551e792df28535f 100644 (file)
@@ -66,7 +66,7 @@ struct iter_priv;
  */
 #define USEFUL_SERVER_TOP_TIMEOUT      120000
 /** number of retries on outgoing queries */
-#define OUTBOUND_MSG_RETRY 4
+#define OUTBOUND_MSG_RETRY 5
 /** RTT band, within this amount from the best, servers are chosen randomly.
  * Chosen so that the UNKNOWN_SERVER_NICENESS falls within the band of a 
  * fast server, this causes server exploration as a side benefit. msec. */