]> 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 12:57:43 +0000 (13:57 +0100)
commit869abb768bea96dd0bba53a9363cd5ea440cfdb1
tree6a0da7ea913d12cee9a6a89538725b223802e8a3
parentd14a22b3d9fa8e8bb21dfe3bb0bca216a5b93910
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