gaffa
pushed to master at gaffa/pdnsd
- a8e46ccba7 It proves useful to let various functions involved in resolving DNS
queries return a value that distinguishes between answers obtained
from the cache and those obtained by querying other servers. This can
be used to prevent needless re-caching of results obtained from the
cache and also makes it possible to sometimes use an answer that may
not be completely satisfactory but that is still better than using a
stale cache entry or giving a SERVFAIL response.
- b3cc5599dc On the Linux platform, let the configure script check whether we can
compile and link with the -pthread flag, which is used by default on
the other platforms.
- 8212aae220 When pdnsd fails to get an answer from the last server in a delegation
chain, instead of answering with SERVFAIL, pdnsd will now cache and
return the last "no error" reply in the chain that claimed to be
authoritative or support recursion, if there is one.
- 0f2155d1f9 Made a series a small improvements: in auth_ok() the code checking for
duplicate IP addresses obtained from NS records has been slightly
optimized, in is_local_addr() log a warning message if we can't open
/proc/net/if_inet6, in report_cache_stat() make copies of volatile
data to reduce the chance of inconsistencies during calculations and
changed the default of the configure option --with-max-nameserver-ips
to 3.
- 0f5efdb47d When resolving name servers obtained from NS records, allow pdnsd to
use more than one IP address per name server, because in rare cases,
using just one IP address for each name server can lead to unnecessary
resolve failures.
8 years ago