bind9/bin/tests
Michał Kępień 7c6bff3c4e Disable SERVFAIL cache for ns5 in the "mkeys" system test
The "check key refreshes are resumed after root servers become
available" check may trigger a false positive for the "mkeys" system
test if the second example/TXT query sent by dig is received by ns5 less
than a second after it receives a REFUSED response to the upstream query
it sends to ns1 in order to resolve the first example/TXT query sent by
dig.  Since that REFUSED response from ns1 causes ns5 to return a
SERVFAIL answer to dig, example/TXT is added to the SERVFAIL cache,
which is enabled by default with a TTL of 1 second.  This in turn may
cause ns5 to return a cached SERVFAIL response to the second example/TXT
query sent by dig, i.e. make ns5 not perform full query processing as
expected by the check.

Since the primary purpose of the check in question is to ensure that key
refreshes are resumed once initially unavailable root servers become
available, the optimal solution appears to be disabling SERVFAIL cache
for ns5 as doing that still allows the check to fulfill its purpose and
it is arguably more prudent than always sleeping for 1 second.
2019-03-05 11:48:26 -08:00
..
bigtest update file headers 2018-03-15 18:33:13 -07:00
optional Remove outdated bin/tests/optional/dst_test test 2018-12-11 11:32:24 +01:00
pkcs11 Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
startperf Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
system Disable SERVFAIL cache for ns5 in the "mkeys" system test 2019-03-05 11:48:26 -08:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 14:12:47 -08:00
virtual-time address win32 build issues 2018-05-22 16:32:21 -07:00
win32 Add @OPENSSL_LIB@ to Windows project files as needed 2018-08-10 16:45:00 +02:00
.gitignore Remove genrandom command and all usage of specific random files throughout the system test suite 2018-05-16 09:54:35 +02:00
cfg_test.c Update documentation 2018-10-24 20:32:56 +02:00
fromhex.pl Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
headerdep_test.sh.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
Makefile.in Fix ax_check_openssl to accept yes and improve it to modern autotools standard 2018-07-23 22:10:52 +02:00
makejournal.c Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
named.conf Add min-cache-ttl and min-ncache-ttl keywords 2018-11-14 18:24:53 +01:00
wire_test.c Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00