]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Don't serve a stale CNAME or record when fresh data of the other exists
authorOndřej Surý <ondrej@isc.org>
Wed, 24 Jun 2026 04:53:34 +0000 (06:53 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 24 Jun 2026 04:53:34 +0000 (06:53 +0200)
When a cached name held both a CNAME and records of another type — one stale,
the other still fresh — named with serve-stale could return the expired set
instead of the fresh one, in either direction. It now prefers whichever is fresh.

Merge branch 'ondrej/fix-serve_stale-cname-and-type' into 'main'

See merge request isc-projects/bind9!12282


Trivial merge