]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add qmin test cases when RRset has expired
authorMatthijs Mekking <matthijs@isc.org>
Fri, 13 Aug 2021 07:24:11 +0000 (09:24 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 13 Aug 2021 07:42:34 +0000 (09:42 +0200)
commit322626ab5bf594d70fa82122bd21869aeaa9db98
tree7dc71bc02ab06e0b6dd33dc8f365a34c29215216
parent502f48aad08a0bbcdaa644704ec8c74aa56eeca7
Add qmin test cases when RRset has expired

Add test cases for GL #2665: The QNAME minimization (if enabled) should
also occur on the second query, after the RRsets have expired from
cache. BIND will still have the entries in cache, but marked stale.
These stale entries should not prevent the resolver from minimizing
the QNAME. We query for the test domain a.b.stale. in all cases (QNAME
minimization off, strict mode, and relaxed mode) and expect it to
behave the same the second time we have a stale delegation structure in
cache.
bin/tests/system/qmin/ans2/ans.py
bin/tests/system/qmin/ans3/ans.py
bin/tests/system/qmin/ans4/ans.py
bin/tests/system/qmin/ns1/root.db
bin/tests/system/qmin/tests.sh