]> git.ipfire.org Git - thirdparty/pdns.git/commit
Make sure we take the right minimum for the PC TTL data in the SERVFAIL case. 10185/head
authorOtto <otto.moerbeek@open-xchange.com>
Wed, 17 Mar 2021 15:00:16 +0000 (16:00 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 18 Mar 2021 14:27:03 +0000 (15:27 +0100)
commit9a3abf5a3be01c68f456b765314e8dd5599fcff5
treee2bf62e65c73dde1ce82afd393b1d17099b2906a
parent4f49c5890d3d7957580bf94d25b6dfb14d935519
Make sure we take the right minimum for the PC TTL data in the SERVFAIL case.

Also add safety belt to the ageing code to not wrap TTLs,
adjust one dnsdist test for ageDNSPacket no longer underflowing, and
stop dnsdist from relying on ageDNSPacket wrapping around.
pdns/dnsdist-cache.cc
pdns/dnsparser.hh
pdns/pdns_recursor.cc
pdns/test-dnsparser_cc.cc