]> 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)
committerAram Sargsyan <aram@isc.org>
Tue, 6 Dec 2022 13:50:54 +0000 (13:50 +0000)
commit8fcb333622f233ce2aa0a79932475f2bd7dbf654
treeb1b2a6927c21b7a561e79141d75ec7041bed2dd9
parent8924f929569324e8a9390cf4b7b0f63c1a0dc17f
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 21faf44ef7754e6f482786ca7433d3fa57c0a222)
bin/tests/system/serve-stale/ans2/ans.pl
bin/tests/system/serve-stale/tests.sh