]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add serve-stale CNAME check with stale-answer-client-timeout off
authorAram Sargsyan <aram@isc.org>
Thu, 17 Nov 2022 13:48:36 +0000 (13:48 +0000)
committerMatthijs Mekking <matthijs@isc.org>
Mon, 9 Jan 2023 13:26:02 +0000 (14:26 +0100)
commitd54e7052abe0a7448e803bd0b7abb93ffff6fb0c
tree3ebced6286ce18255e189ba8b87b8fc54219c335
parentbea3d7994ae51103b9a773d9a9923b659e7528aa
Add serve-stale CNAME check with stale-answer-client-timeout off

Prime the cache with the following records:

    shortttl.cname.example. 1 IN CNAME longttl.target.example.
    longttl.target.example. 600 IN A 10.53.0.2

Wait for the CNAME record to expire, disable the authoritative server,
and query 'shortttl.cname.example' again, expecting a stale answer.

(cherry picked from commit 537187bf2f1a1c402d862bbb105da5947b18d217)
bin/tests/system/serve-stale/ans2/ans.pl
bin/tests/system/serve-stale/tests.sh