]> 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:26:53 +0000 (13:26 +0000)
commit21faf44ef7754e6f482786ca7433d3fa57c0a222
treeb6fded8367de6584679bf9627f77c8ce13b9c9c8
parent84a7be327e801cfda207629285bf3302a71e8119
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.
bin/tests/system/serve-stale/ans2/ans.pl
bin/tests/system/serve-stale/tests.sh