]> 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 14:04:36 +0000 (15:04 +0100)
commit63e8af927068c58782073650c068ff375e232ffd
treefe56bfec8853e89d458e8c4ff04712be965e65c9
parent9a8483becef1285d874bccc140e14b8e9966c90f
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.

(cherry picked from commit cfee6aa56557f9fde8bd47949c5165edaf350113)
lib/dns/rbtdb.c