]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use +dnssec instead of separate TXT records
authorMichał Kępień <michal@isc.org>
Wed, 29 May 2019 09:05:01 +0000 (11:05 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 29 May 2019 09:11:31 +0000 (11:11 +0200)
commit35cccf07296d4457a8f1be3eb7b42f91f708362e
treefc792cdb02996d679abc7d05c1b8ceb0a17846d8
parent551f7963139c91135376529aa2ab3a43fb407319
Use +dnssec instead of separate TXT records

When testing named instances which are configured to drop outgoing UDP
responses larger than 512 bytes, querying with DO=1 may be used instead
of querying for large TXT records as the effect achieved will be
identical: an unsigned response for a SOA query will be below 512 bytes
in size while a signed response for the same query will be over 512
bytes in size.  Doing this makes all resolution checks in the "legacy"
system test more similar.  Add checks for the TC flag being set in UDP
responses which are expected to be truncated to further make sure that
tested named instances behave as expected.

(cherry picked from commit aaf81ca6ef0a4b3725de9f41efa3f442a6de1c85)
bin/tests/system/legacy/ns6/edns512.db.in
bin/tests/system/legacy/ns7/edns512-notcp.db.in
bin/tests/system/legacy/tests.sh