mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-16 10:49:34 +00:00
Default --fast-dns-retries on when doing DNSSEC.
When doing DNSSEC validation, a single downstream query may trigger many upstream queries. On an unreliable network, there may not be enough downstream retries to ensure that all these queries complete.
This commit is contained in:
2 files changed
+11
-1
No files matched your search
@@ -6027,6 +6027,15 @@ void read_opts(int argc, char **argv, char *compile_opts)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_DNSSEC
|
||||
/* Default fast retry on when doing DNSSEC */
|
||||
if (option_bool(OPT_DNSSEC_VALID) && daemon->fast_retry_time == 0)
|
||||
{
|
||||
daemon->fast_retry_timeout = TIMEOUT;
|
||||
daemon->fast_retry_time = DEFAULT_FAST_RETRY;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* port might not be known when the address is parsed - fill in here */
|
||||
if (daemon->servers)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user