bind9/bin/tests/system/checkds
Matthijs Mekking 0b9a9f9955 Add checkds test case with resolver parental-agent
Add a test case for a server that uses a resolver as an parental-agent.

We need two root servers, ns1 and ns10, one that delegates to the
'checkds' tld with the DS published (ns2), and one that delegates to
the 'checkds' tld with the DS removed (ns5). Both root zones are
being setup in the 'ns1/setup.sh' script.

We also need two resolvers, ns3 and ns8, that use different root hints
(one uses ns1 address as a hint, the other uses ns10).

Then add the checks to test_checkds.py is similar to the existing tests.

Update 'types' because for zones that have the DS withdrawn (or to be
withdrawn), the CDS and CDNSKEY records should not be published and
thus should not be in the NSEC bitmap.
2023-01-19 10:19:43 +00:00
..
ns1 Add checkds test case with resolver parental-agent 2023-01-19 10:19:43 +00:00
ns2 Add checkds test case with resolver parental-agent 2023-01-19 10:19:43 +00:00
ns3 Add checkds test case with resolver parental-agent 2023-01-19 10:19:43 +00:00
ns4 Use 'source[-v6]' for transfer, notify, checkds 2022-12-23 13:36:50 +00:00
ns5 Add checkds test case with resolver parental-agent 2023-01-19 10:19:43 +00:00
ns6 Use DEFAULT_HMAC for rndc 2022-07-07 10:11:42 +10:00
ns7 Use 'source[-v6]' for transfer, notify, checkds 2022-12-23 13:36:50 +00:00
ns8 Add checkds test case with resolver parental-agent 2023-01-19 10:19:43 +00:00
ns9 Add checkds test case with resolver parental-agent 2023-01-19 10:19:43 +00:00
ns10 Add checkds test case with resolver parental-agent 2023-01-19 10:19:43 +00:00
clean.sh Add checkds test case with resolver parental-agent 2023-01-19 10:19:43 +00:00
README Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
setup.sh Add checkds test case with resolver parental-agent 2023-01-19 10:19:43 +00:00
tests_checkds.py Add checkds test case with resolver parental-agent 2023-01-19 10:19:43 +00:00

Copyright (C) Internet Systems Consortium, Inc. ("ISC")

SPDX-License-Identifier: MPL-2.0

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0.  If a copy of the MPL was not distributed with this
file, you can obtain one at https://mozilla.org/MPL/2.0/.

See the COPYRIGHT file distributed with this work for additional
information regarding copyright ownership.

The test setup for the checkds tests.

These servers are parent servers:
- ns2 is a primary authoritative server that serves the parent zone for zones
  configured in ns9.
- ns4 is the secondary server for ns2.
- ns5 is a primary authoritative server that serves the parent zone for zones
  configured in ns9, but this one does not publish DS records (to test cases
  where the DS is missing).
- ns6 is an authoritative server for a different zone, to test badly configured
  parental agents.
- ns7 is the secondary server for ns5.

Finally, ns9 is the authoritative server for the various DNSSEC enabled test
domains.