]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add better ZEROTTL handling in bindrdataset()
authorOndřej Surý <ondrej@isc.org>
Sun, 2 Feb 2025 12:38:04 +0000 (13:38 +0100)
committerOndřej Surý <ondrej@isc.org>
Mon, 3 Feb 2025 13:39:06 +0000 (14:39 +0100)
commitcfee6aa56557f9fde8bd47949c5165edaf350113
tree15193cc19c1df9422690ed4f0c8324a841a0b03c
parente07f5a4a5bb3aac984743bfba409da47ccc17e7d
Add better ZEROTTL handling in bindrdataset()

If we know that the header has ZEROTTL set, the server should never send
stale records for it and the TTL should never be anything else than 0.
The comment was already there, but the code was not matching the
comment.
lib/dns/qpcache.c