feat: add full Zonemaster stack with Docker and Spanish UI

- Clone all 5 Zonemaster component repos (LDNS, Engine, CLI, Backend, GUI)
- Dockerfile.backend: 8-stage multi-stage build LDNS→Engine→CLI→Backend
- Dockerfile.gui: Astro static build served via nginx
- docker-compose.yml: backend (internal) + frontend (port 5353)
- nginx.conf: root redirects to /es/, /api/ proxied to backend
- zonemaster-gui/config.ts: defaultLanguage set to 'es' (Spanish)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-21 08:19:24 +02:00
commit 8d4eaa1489
1567 changed files with 204155 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
[This directory](.), i.e. the same directory as this README file, holds zone
files and configuration files to implement the test zones for the scenarios
defined in [ADDRESS01 test scenario specification].
For these test zones the following files are found in [this directory]:
* Zone files for `address01.xa` and other related zones;
* CoreDNS configuration file;
* Output from `zonemaster-cli` on all test scenarios in
[Address01 Test Zones Output].
[Address01 Test Zones Output]: ./test-zones-output.md
[Address01 test scenario specification]: ../../../docs/public/specifications/test-zones/Address-TP/address01.md
[This directory]: .

View File

@@ -0,0 +1,10 @@
# address01.xa
address01.xa:53 {
bind 127.11.1.21 # ns1
bind fda1:b2:c3:0:127:11:1:21 # ns1
bind 127.11.1.22 # ns2
bind fda1:b2:c3:0:127:11:1:22 # ns2
log
file Address-TP/address01/address01.xa.zone address01.xa
}

View File

@@ -0,0 +1,100 @@
$ORIGIN address01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2025111300 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1
NS ns2
ns1 A 127.11.1.21
ns1 AAAA fda1:b2:c3:0:127:11:1:21
ns2 A 127.11.1.22
ns2 AAAA fda1:b2:c3:0:127:11:1:22
$ORIGIN good-1.address01.xa.
@ NS ns1
@ NS ns2
ns1 A 192.36.148.17 ; i.root-servers.net.
ns1 AAAA 2001:7fe::53 ; i.root-servers.net.
ns2 A 192.175.48.1 ; Direct Delegation AS112 Service (192.175.48.0/24)
ns2 AAAA 64:ff9b::1 ; IPv4-IPv6 Translat. (64:ff9b::/96)
$ORIGIN mixed-local-doc-1.address01.xa.
@ NS ns1
@ NS ns2
ns1 A 192.168.11.31 ; Private-Use [RFC1918]
ns1 AAAA 2001:7fe::53 ; i.root-servers.net.
ns2 A 192.36.148.17 ; i.root-servers.net.
ns2 AAAA 2001:db8::127:11:1:32 ; Documentation [RFC3849]
$ORIGIN mixed-local-doc-2.address01.xa.
@ NS ns1
@ NS ns2
ns1 A 192.0.2.31 ; Documentation (TEST-NET-1) [RFC5737]
ns1 AAAA 2001:7fe::53 ; i.root-servers.net.
ns2 A 192.58.128.30 ; j.root-servers.net.
ns2 AAAA fc00::127:11:1:32 ; Unique-Local [RFC4193] [RFC8190]
$ORIGIN mixed-doc-other-1.address01.xa.
@ NS ns1
@ NS ns2
ns1 A 198.51.100.31 ; Documentation (TEST-NET-2) [RFC5737]
ns1 AAAA 2001:7fe::53 ; i.root-servers.net.
ns2 A 192.58.128.30 ; j.root-servers.net.
ns2 AAAA 64:ff9b:1::127:11:1:32 ; IPv4-IPv6 Translat. [RFC8215]
$ORIGIN mixed-doc-other-2.address01.xa.
@ NS ns1
@ NS ns2
ns1 A 240.0.0.31 ; Reserved [RFC1112]
ns1 AAAA 2001:7fe::53 ; i.root-servers.net.
ns2 A 192.58.128.30 ; j.root-servers.net.
ns2 AAAA 3fff::127:11:1:32 ; Documentation [RFC9637]
$ORIGIN mixed-local-other-1.address01.xa.
@ NS ns1
@ NS ns2
ns1 A 169.254.0.31 ; Link Local [RFC3927]
ns1 AAAA 2001:7fe::53 ; i.root-servers.net.
ns2 A 192.58.128.30 ; j.root-servers.net.
ns2 AAAA 2001:2::127:11:1:32 ; Benchmarking [RFC5180][RFC Errata 1752]
$ORIGIN mixed-local-other-2.address01.xa.
@ NS ns1
@ NS ns2
ns1 A 198.18.0.31 ; Benchmarking [RFC2544]
ns1 AAAA 2001:7fe::53 ; i.root-servers.net.
ns2 A 192.58.128.30 ; j.root-servers.net.
ns2 AAAA fc00::127:11:1:32 ; Unique-Local [RFC4193] [RFC8190]
$ORIGIN mixed-all-1.address01.xa.
@ NS ns1
@ NS ns2
ns1 A 172.16.0.31 ; Private-Use [RFC1918]
ns1 AAAA 2001:7fe::53 ; i.root-servers.net.
ns2 A 203.0.113.32 ; Documentation (TEST-NET-3) [RFC5737]
ns2 AAAA 2002::127:11:1:32 ; 6to4 [RFC3056]
$ORIGIN mixed-all-2.address01.xa.
@ NS ns1
@ NS ns2
ns1 A 198.18.0.31 ; Benchmarking [RFC2544] (RE-USED)
ns1 AAAA fe80::127:11:1:31 ; Link-Local Unicast [RFC4291]
ns2 A 192.58.128.30 ; j.root-servers.net.
ns2 AAAA 2001:db8::127:11:1:32 ; Documentation [RFC3849] (RE-USED)
$ORIGIN all-non-reachable.address01.xa.
@ NS ns1
@ NS ns2
@ NS ns3
ns1 A 10.0.0.31 ; Private-Use [RFC1918]
ns1 AAAA 2001:2::127:11:1:31 ; Benchmarking [RFC5180][RFC Errata 1752]
ns2 A 203.0.113.32 ; Documentation (TEST-NET-3) [RFC5737]
ns2 AAAA fc00::127:11:1:32 ; Unique-Local [RFC4193][RFC8190] (RE-USED)
ns3 A 192.0.0.33 ; IETF Protocol Assignments [RFC6890]
ns3 AAAA 3fff::127:11:1:33 ; Documentation [RFC9637]

View File

@@ -0,0 +1,215 @@
# Address01 Test Zones Output
# Table of contents
* [Introduction](#introduction)
* [All message tags](#all-message-tags)
* [All scenarios](#all-scenarios)
* [zonemaster-cli commands and their output for each test scenario](#zonemaster-cli-command-and-their-output-for-each-test-scenario)
## Introduction
In this file the output of running `zonemaster-cli` for every test zone is
found. This file is created during the development of the test zones and should
be updated as the implementation of the test case or the test scenarios or test
zones are updated or corrected.
During development and any update this document serves as tracking and log tool.
It also serves as a template for future development of test zones for
scenarios for other test cases.
## All message tags
* A01_ADDR_NOT_GLOBALLY_REACHABLE
* A01_DOCUMENTATION_ADDR
* A01_GLOBALLY_REACHABLE_ADDR
* A01_LOCAL_USE_ADDR
* A01_NO_GLOBALLY_REACHABLE_ADDR
* A01_NO_NAME_SERVERS_FOUND
## All scenarios
| Scenario name | Zone name |
|:---------------------|:--------------------------------------|
| GOOD-1 | good-1.address01.xa |
| MIXED-LOCAL-DOC-1 | mixed-local-doc-1.address01.xa |
| MIXED-LOCAL-DOC-2 | mixed-local-doc-2.address01.xa |
| MIXED-LOCAL-OTHER-1 | mixed-doc-other-1.address01.xa |
| MIXED-LOCAL-OTHER-2 | mixed-doc-other-2.address01.xa |
| MIXED-DOC-OTHER-1 | mixed-local-other-1.address01.xa |
| MIXED-DOC-OTHER-2 | mixed-local-other-2.address01.xa |
| MIXED-ALL-1 | mixed-all-1.address01.xa |
| MIXED-ALL-2 | mixed-all-2.address01.xa |
| ALL-NON-REACHABLE | all-non-reachable.address01.xa |
| NO-NAME-SERVERS | no-name-servers.address01.xa |
## zonemaster-cli commands and their output for each test scenario
For this test case it is only meaningful to test the test zones with
`--level=info --test=address01`. All commands are run from the same directory as
this file is in.
| Scenario name | Mandatory message tag | Forbidden message tags |
|:--------------|:----------------------------|:-----------------------|
| GOOD-1 | A01_GLOBALLY_REACHABLE_ADDR | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --show-testcase --level INFO --test address01 --hints ../../COMMON/hintfile --raw good-1.address01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
10.09 INFO Address01 A01_GLOBALLY_REACHABLE_ADDR ns_list=ns1.good-1.address01.xa/192.36.148.17;ns1.good-1.address01.xa/2001:7fe::53;ns2.good-1.address01.xa/192.175.48.1;ns2.good-1.address01.xa/64:ff9b::1
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:------------------|:------------------------------------------------------------------------|:-----------------------|
| MIXED-LOCAL-DOC-1 | A01_LOCAL_USE_ADDR, A01_DOCUMENTATION_ADDR, A01_GLOBALLY_REACHABLE_ADDR | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --show-testcase --level INFO --test address01 --hints ../../COMMON/hintfile --raw mixed-local-doc-1.address01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
20.08 INFO Address01 A01_GLOBALLY_REACHABLE_ADDR ns_list=ns1.mixed-local-doc-1.address01.xa/2001:7fe::53;ns2.mixed-local-doc-1.address01.xa/192.36.148.17
20.08 ERROR Address01 A01_DOCUMENTATION_ADDR ns_list=ns2.mixed-local-doc-1.address01.xa/2001:db8::127:11:1:32
20.08 ERROR Address01 A01_LOCAL_USE_ADDR ns_list=ns1.mixed-local-doc-1.address01.xa/192.168.11.31
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:------------------|:------------------------------------------------------------------------|:-----------------------|
| MIXED-LOCAL-DOC-2 | A01_LOCAL_USE_ADDR, A01_DOCUMENTATION_ADDR, A01_GLOBALLY_REACHABLE_ADDR | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --show-testcase --level INFO --test address01 --hints ../../COMMON/hintfile --raw mixed-local-doc-2.address01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
20.07 INFO Address01 A01_GLOBALLY_REACHABLE_ADDR ns_list=ns1.mixed-local-doc-2.address01.xa/2001:7fe::53;ns2.mixed-local-doc-2.address01.xa/192.58.128.30
20.07 ERROR Address01 A01_DOCUMENTATION_ADDR ns_list=ns1.mixed-local-doc-2.address01.xa/192.0.2.31
20.07 ERROR Address01 A01_LOCAL_USE_ADDR ns_list=ns2.mixed-local-doc-2.address01.xa/fc00::127:11:1:32
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:--------------------|:---------------------------------------------------------------------------------|:-----------------------|
| MIXED-LOCAL-OTHER-1 | A01_LOCAL_USE_ADDR, A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_GLOBALLY_REACHABLE_ADDR | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --show-testcase --level INFO --test address01 --hints ../../COMMON/hintfile --raw mixed-local-other-1.address01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
20.08 INFO Address01 A01_GLOBALLY_REACHABLE_ADDR ns_list=ns1.mixed-local-other-1.address01.xa/2001:7fe::53;ns2.mixed-local-other-1.address01.xa/192.58.128.30
20.08 ERROR Address01 A01_LOCAL_USE_ADDR ns_list=ns1.mixed-local-other-1.address01.xa/169.254.0.31
20.08 ERROR Address01 A01_ADDR_NOT_GLOBALLY_REACHABLE ns_list=ns2.mixed-local-other-1.address01.xa/2001:2::127:11:1:32
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:--------------------|:---------------------------------------------------------------------------------|:-----------------------|
| MIXED-LOCAL-OTHER-2 | A01_LOCAL_USE_ADDR, A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_GLOBALLY_REACHABLE_ADDR | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --show-testcase --level INFO --test address01 --hints ../../COMMON/hintfile --raw mixed-local-other-2.address01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
20.08 INFO Address01 A01_GLOBALLY_REACHABLE_ADDR ns_list=ns1.mixed-local-other-2.address01.xa/2001:7fe::53;ns2.mixed-local-other-2.address01.xa/192.58.128.30
20.08 ERROR Address01 A01_LOCAL_USE_ADDR ns_list=ns2.mixed-local-other-2.address01.xa/fc00::127:11:1:32
20.08 ERROR Address01 A01_ADDR_NOT_GLOBALLY_REACHABLE ns_list=ns1.mixed-local-other-2.address01.xa/198.18.0.31
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:------------------|:-------------------------------------------------------------------------------------|:-----------------------|
| MIXED-DOC-OTHER-1 | A01_DOCUMENTATION_ADDR, A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_GLOBALLY_REACHABLE_ADDR | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --show-testcase --level INFO --test address01 --hints ../../COMMON/hintfile --raw mixed-doc-other-1.address01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
20.08 INFO Address01 A01_GLOBALLY_REACHABLE_ADDR ns_list=ns1.mixed-doc-other-1.address01.xa/2001:7fe::53;ns2.mixed-doc-other-1.address01.xa/192.58.128.30
20.08 ERROR Address01 A01_DOCUMENTATION_ADDR ns_list=ns1.mixed-doc-other-1.address01.xa/198.51.100.31
20.08 ERROR Address01 A01_ADDR_NOT_GLOBALLY_REACHABLE ns_list=ns2.mixed-doc-other-1.address01.xa/64:ff9b:1:0:127:11:1:32
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:------------------|:-------------------------------------------------------------------------------------|:-----------------------|
| MIXED-DOC-OTHER-2 | A01_DOCUMENTATION_ADDR, A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_GLOBALLY_REACHABLE_ADDR | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --show-testcase --level INFO --test address01 --hints ../../COMMON/hintfile --raw mixed-doc-other-2.address01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
20.08 INFO Address01 A01_GLOBALLY_REACHABLE_ADDR ns_list=ns1.mixed-doc-other-2.address01.xa/2001:7fe::53;ns2.mixed-doc-other-2.address01.xa/192.58.128.30
20.08 ERROR Address01 A01_DOCUMENTATION_ADDR ns_list=ns2.mixed-doc-other-2.address01.xa/3fff::127:11:1:32
20.08 ERROR Address01 A01_ADDR_NOT_GLOBALLY_REACHABLE ns_list=ns1.mixed-doc-other-2.address01.xa/240.0.0.31
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:--------------|:---------------------------------------------------------------------------------------------------------|:-----------------------|
| MIXED-ALL-1 | A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_DOCUMENTATION_ADDR, A01_LOCAL_USE_ADDR, A01_GLOBALLY_REACHABLE_ADDR | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --show-testcase --level INFO --test address01 --hints ../../COMMON/hintfile --raw mixed-all-1.address01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
30.08 INFO Address01 A01_GLOBALLY_REACHABLE_ADDR ns_list=ns1.mixed-all-1.address01.xa/2001:7fe::53
30.08 ERROR Address01 A01_DOCUMENTATION_ADDR ns_list=ns2.mixed-all-1.address01.xa/203.0.113.32
30.08 ERROR Address01 A01_LOCAL_USE_ADDR ns_list=ns1.mixed-all-1.address01.xa/172.16.0.31
30.08 ERROR Address01 A01_ADDR_NOT_GLOBALLY_REACHABLE ns_list=ns2.mixed-all-1.address01.xa/2002::127:11:1:32
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:--------------|:---------------------------------------------------------------------------------------------------------|:-----------------------|
| MIXED-ALL-2 | A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_DOCUMENTATION_ADDR, A01_LOCAL_USE_ADDR, A01_GLOBALLY_REACHABLE_ADDR | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --show-testcase --level INFO --test address01 --hints ../../COMMON/hintfile --raw mixed-all-2.address01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
30.09 INFO Address01 A01_GLOBALLY_REACHABLE_ADDR ns_list=ns2.mixed-all-2.address01.xa/192.58.128.30
30.09 ERROR Address01 A01_DOCUMENTATION_ADDR ns_list=ns2.mixed-all-2.address01.xa/2001:db8::127:11:1:32
30.09 ERROR Address01 A01_LOCAL_USE_ADDR ns_list=ns1.mixed-all-2.address01.xa/fe80::127:11:1:31
30.09 ERROR Address01 A01_ADDR_NOT_GLOBALLY_REACHABLE ns_list=ns1.mixed-all-2.address01.xa/198.18.0.31
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:------------------|:------------------------------------------------------------------------------------------------------------|:-----------------------|
| ALL-NON-REACHABLE | A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_LOCAL_USE_ADDR, A01_DOCUMENTATION_ADDR, A01_NO_GLOBALLY_REACHABLE_ADDR | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --show-testcase --level INFO --test address01 --hints ../../COMMON/hintfile --raw all-non-reachable.address01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
60.11 ERROR Address01 A01_NO_GLOBALLY_REACHABLE_ADDR
60.11 ERROR Address01 A01_DOCUMENTATION_ADDR ns_list=ns2.all-non-reachable.address01.xa/203.0.113.32;ns3.all-non-reachable.address01.xa/3fff::127:11:1:33
60.11 ERROR Address01 A01_LOCAL_USE_ADDR ns_list=ns1.all-non-reachable.address01.xa/10.0.0.31;ns2.all-non-reachable.address01.xa/fc00::127:11:1:32
60.11 ERROR Address01 A01_ADDR_NOT_GLOBALLY_REACHABLE ns_list=ns1.all-non-reachable.address01.xa/2001:2::127:11:1:31;ns3.all-non-reachable.address01.xa/192.0.0.33
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:----------------|:--------------------------|:-----------------------|
| NO_NAME_SERVERS | A01_NO_NAME_SERVERS_FOUND | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --show-testcase --level INFO --test address01 --hints ../../COMMON/hintfile --raw no-name-servers.address01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
0.04 CRITICAL Address01 A01_NO_NAME_SERVERS_FOUND
```
--> OK

View File

@@ -0,0 +1,83 @@
$ORIGIN 3.0.0.0.1.1.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1.address03.xa.
NS ns2.address03.xa.
;;;
;;; Name servers for parent zone
;;;
1.2.0.0 PTR ns1.address03.xa.
2.2.0.0 PTR ns2.address03.xa.
;;;
;;; Name servers for child (scenario) zones
;;;
;; For the “happy path”.
1.3.0.0 PTR ns1.child.address03.xa.
;; One more for the “happy path”.
2.3.0.0 PTR ns2.child.address03.xa.
;; Multiple PTR records, among which one matches the actual name server name.
;; For the curious: the languages used are English, French, Swedish, German,
;; Dutch and Esperanto.
3.3.0.0 PTR ns3.child.address03.xa.
PTR name-server-three.child.address03.xa.
PTR serveur-de-noms-trois.child.address03.xa.
PTR namnsevrar-tre.child.address03.xa.
PTR nameserver-drei.child.address03.xa.
PTR naamserver-drie.child.address03.xa.
PTR nomservilo-tri.child.address03.xa.
;; Empty non-terminal.
_.4.3.0.0 TXT "To make the parent node an empty non-terminal"
;; Nonexistent node. This name server has no reverse DNS at all.
; 5.3.0.0 PTR nothing-here.invalid.
;; This name server has reverse DNS for IPv6 only, none for IPv4.
6.3.0.0 PTR ns6.child.address03.xa.
;; Nonexistent node. This name server has reverse DNS for IPv4 only, none for IPv6.
; 7.3.0.0 PTR ns7.child.address03.xa.
;; Non-matching name.
8.3.0.0 PTR a-naughty-nameserver.child.address03.xa.
;; Multiple non-matching names.
9.3.0.0 PTR non-matching-set-1.child.address03.xa.
PTR non-matching-set-2.child.address03.xa.
;; An alias to a node with a good PTR record set (which is legal, and can
;; happen with classless IN-ADDR.ARPA delegation, as in RFC 2317).
0.4.0.0 CNAME 0-4-0-0.alias
0-4-0-0.alias PTR ns10.child.address03.xa.
;; Another good alias, but the target is in another zone.
1.4.0.0 CNAME 1-4-0-0.reverse-aliases.address03.xa.
;; A dangling alias (pointing to a nonexistent node).
2.4.0.0 CNAME dangling.alias
;; An illegal alias (with more than one CNAME RR).
;; NOTE: The resolver MUST NOT attempt to follow any of the CNAME resource records!
3.4.0.0 CNAME illegal1.alias
CNAME illegal2.alias
;; Queries for the following name must be dropped.
; 4.4.0.0 PTR ns14.child.address03.xa.
;; Queries for the following name must fail with RCODE SERVFAIL.
; 5.4.0.0 PTR ns15.child.address03.xa.
illegal1.alias PTR ns13.child.address03.xa.
illegal2.alias PTR ns13.child.address03.xa.

View File

@@ -0,0 +1,83 @@
$ORIGIN 3.11.127.in-addr.arpa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1.address03.xa.
NS ns2.address03.xa.
;;;
;;; Name servers for parent zone
;;;
21 PTR ns1.address03.xa.
22 PTR ns2.address03.xa.
;;;
;;; Name servers for child (scenario) zones
;;;
;; For the “happy path”.
31 PTR ns1.child.address03.xa.
;; One more for the “happy path”.
32 PTR ns2.child.address03.xa.
;; Multiple PTR records, among which one matches the actual name server name.
;; For the curious: the languages used are English, French, Swedish, German,
;; Dutch and Esperanto.
33 PTR ns3.child.address03.xa.
PTR name-server-three.child.address03.xa.
PTR serveur-de-noms-trois.child.address03.xa.
PTR namnsevrar-tre.child.address03.xa.
PTR nameserver-drei.child.address03.xa.
PTR naamserver-drie.child.address03.xa.
PTR nomservilo-tri.child.address03.xa.
;; Empty non-terminal.
_.34 TXT "To make the parent node an empty non-terminal"
;; Nonexistent node. This name server has no reverse DNS at all.
; 35 PTR nothing-here.invalid.
;; Nonexistent node. This name server has reverse DNS for IPv6 only, none for IPv4.
; 36 PTR ns6.child.address03.xa.
;; This name server has reverse DNS for IPv4 only, none for IPv6.
37 PTR ns7.child.address03.xa.
;; Non-matching name.
38 PTR a-naughty-nameserver.child.address03.xa.
;; Multiple non-matching names.
39 PTR non-matching-set-1.child.address03.xa.
PTR non-matching-set-2.child.address03.xa.
;; An alias to a node with a good PTR record set (which is legal, and can
;; happen with classless IN-ADDR.ARPA delegation, as in RFC 2317).
40 CNAME 40.alias
40.alias PTR ns10.child.address03.xa.
;; Another good alias, but the target is another zone.
41 CNAME 41.reverse-aliases.address03.xa.
;; A dangling alias (pointing to a nonexistent node).
42 CNAME dangling.alias
;; An illegal alias (with more than one CNAME RR).
;; NOTE: The resolver MUST NOT attempt to follow any of the CNAME resource records!
43 CNAME illegal1.alias
CNAME illegal2.alias
;; Queries for the following name must be dropped.
; 44 PTR ns14.child.address03.xa.
;; Queries for the following name must fail with RCODE SERVFAIL.
; 45 PTR ns15.child.address03.xa.
illegal1.alias PTR ns13.child.address03.xa.
illegal2.alias PTR ns13.child.address03.xa.

View File

@@ -0,0 +1,13 @@
[This directory], i.e. the same directory as this README file, holds zone
files and configuration files to implement the test zones for the scenarios
defined in [Address03 test scenario specification].
For these test zones the following files are found in [this directory]:
* Zone files for `address03.xa` and other related zones;
* CoreDNS configuration file;
* Output from `zonemaster-cli` on all test scenarios in
[Address03 Test Zones Output].
[Address03 Test Zones Output]: ./test-zones-output.md
[Address03 test scenario specification]: ../../../docs/public/specifications/test-zones/Address-TP/address03.md
[This directory]: .

View File

@@ -0,0 +1,185 @@
# address03.xa
address03.xa:53 {
bind 127.11.3.21 # ns1
bind fda1:b2:c3::127:11:3:21 # ns1
bind 127.11.3.22 # ns2
bind fda1:b2:c3::127:11:3:22 # ns2
log
file Address-TP/address03/address03.xa.zone address03.xa
}
# reverse-aliases.address03.xa
reverse-aliases.address03.xa:53 {
bind 127.11.3.31 # ns1.child
bind fda1:b2:c3::127:11:3:31 # ns1.child
bind 127.11.3.32 # ns2.child
bind fda1:b2:c3::127:11:3:32 # ns2.child
log
file Address-TP/address03/reverse-aliases.address03.xa.zone reverse-aliases.address03.xa
}
# 3.11.127.in-addr.arpa
3.11.127.in-addr.arpa:53 {
bind 127.11.3.21 # ns1
bind fda1:b2:c3::127:11:3:21 # ns1
bind 127.11.3.22 # ns2
bind fda1:b2:c3::127:11:3:22 # ns2
log
file Address-TP/address03/3.11.127.in-addr.arpa.zone 3.11.127.in-addr.arpa
acl 44.3.11.127.in-addr.arpa {
drop
}
template IN ANY 45.3.11.127.in-addr.arpa {
rcode SERVFAIL
}
}
# 3.0.0.0.1.1.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa
3.0.0.0.1.1.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa:53 {
bind 127.11.3.21 # ns1
bind fda1:b2:c3::127:11:3:21 # ns1
bind 127.11.3.22 # ns2
bind fda1:b2:c3::127:11:3:22 # ns2
log
file Address-TP/address03/3.0.0.0.1.1.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa.zone 3.0.0.0.1.1.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa
acl 4.4.0.0.3.0.0.0.1.1.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa {
drop
}
template IN ANY 5.4.0.0.3.0.0.0.1.1.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa {
rcode SERVFAIL
}
}
### ALL-NS-HAVE-PTR-1
# all-ns-have-ptr-1.address03.xa.
all-ns-have-ptr-1.address03.xa:53 {
bind 127.11.3.31 # ns1.child
bind fda1:b2:c3::127:11:3:31 # ns1.child
bind 127.11.3.32 # ns2.child
bind fda1:b2:c3::127:11:3:32 # ns2.child
log
file Address-TP/address03/all-ns-have-ptr-1.address03.xa.zone all-ns-have-ptr-1.address03.xa
}
### ALL-NS-HAVE-PTR-2
# all-ns-have-ptr-2.address03.xa.
all-ns-have-ptr-2.address03.xa:53 {
bind 127.11.3.31 # ns1.child
bind fda1:b2:c3::127:11:3:31 # ns1.child
bind 127.11.3.33 # ns3.child
bind fda1:b2:c3::127:11:3:33 # ns3.child
log
file Address-TP/address03/all-ns-have-ptr-2.address03.xa.zone all-ns-have-ptr-2.address03.xa
}
### NO-NS-HAVE-PTR
# no-ns-have-ptr.address03.xa.
no-ns-have-ptr.address03.xa:53 {
bind 127.11.3.34 # ns4.child
bind fda1:b2:c3::127:11:3:34 # ns4.child
bind 127.11.3.35 # ns5.child
bind fda1:b2:c3::127:11:3:35 # ns5.child
log
file Address-TP/address03/no-ns-have-ptr.address03.xa.zone no-ns-have-ptr.address03.xa
}
### INCOMPLETE-PTR-1
# incomplete-ptr-1.address03.xa.
incomplete-ptr-1.address03.xa:53 {
bind 127.11.3.31 # ns1.child
bind fda1:b2:c3::127:11:3:31 # ns1.child
bind 127.11.3.36 # ns6.child
bind fda1:b2:c3::127:11:3:36 # ns6.child
log
file Address-TP/address03/incomplete-ptr-1.address03.xa.zone incomplete-ptr-1.address03.xa
}
### INCOMPLETE-PTR-2
# incomplete-ptr-2.address03.xa.
incomplete-ptr-2.address03.xa:53 {
bind 127.11.3.31 # ns1.child
bind fda1:b2:c3::127:11:3:31 # ns1.child
bind 127.11.3.37 # ns7.child
bind fda1:b2:c3::127:11:3:37 # ns7.child
log
file Address-TP/address03/incomplete-ptr-2.address03.xa.zone incomplete-ptr-2.address03.xa
}
### NON-MATCHING-NAMES
# non-matching-names.address03.xa.
non-matching-names.address03.xa:53 {
bind 127.11.3.38 # ns8.child
bind fda1:b2:c3::127:11:3:38 # ns8.child
bind 127.11.3.39 # ns9.child
bind fda1:b2:c3::127:11:3:39 # ns9.child
log
file Address-TP/address03/non-matching-names.address03.xa.zone non-matching-names.address03.xa
}
### PTR-IS-GOOD-CNAME-1
# ptr-is-good-cname-1.address03.xa.
ptr-is-good-cname-1.address03.xa:53 {
bind 127.11.3.31 # ns1.child
bind fda1:b2:c3::127:11:3:31 # ns1.child
bind 127.11.3.40 # ns10.child
bind fda1:b2:c3::127:11:3:40 # ns10.child
log
file Address-TP/address03/ptr-is-good-cname-1.address03.xa.zone ptr-is-good-cname-1.address03.xa
}
### PTR-IS-GOOD-CNAME-2
# ptr-is-good-cname-2.address03.xa.
ptr-is-good-cname-2.address03.xa:53 {
bind 127.11.3.31 # ns1.child
bind fda1:b2:c3::127:11:3:31 # ns1.child
bind 127.11.3.41 # ns11.child
bind fda1:b2:c3::127:11:3:41 # ns11.child
log
file Address-TP/address03/ptr-is-good-cname-2.address03.xa.zone ptr-is-good-cname-2.address03.xa
}
### PTR-IS-DANGLING-CNAME
# ptr-is-dangling-cname.address03.xa.
ptr-is-dangling-cname.address03.xa:53 {
bind 127.11.3.35 # ns5.child
bind fda1:b2:c3::127:11:3:35 # ns5.child
bind 127.11.3.42 # ns12.child
bind fda1:b2:c3::127:11:3:42 # ns12.child
log
file Address-TP/address03/ptr-is-dangling-cname.address03.xa.zone ptr-is-dangling-cname.address03.xa
}
### PTR-IS-ILLEGAL-CNAME
# ptr-is-illegal-cname.address03.xa.
ptr-is-illegal-cname.address03.xa:53 {
bind 127.11.3.34 # ns4.child
bind fda1:b2:c3::127:11:3:34 # ns4.child
bind 127.11.3.43 # ns13.child
bind fda1:b2:c3::127:11:3:43 # ns13.child
log
file Address-TP/address03/ptr-is-illegal-cname.address03.xa.zone ptr-is-illegal-cname.address03.xa
}
### PTR-RESOLUTION-NO-RESPONSE
# ptr-resolution-no-response.address03.xa.
ptr-resolution-no-response.address03.xa:53 {
bind 127.11.3.31 # ns1.child
bind fda1:b2:c3::127:11:3:31 # ns1.child
bind 127.11.3.44 # ns14.child
bind fda1:b2:c3::127:11:3:44 # ns14.child
log
file Address-TP/address03/ptr-resolution-no-response.address03.xa.zone ptr-resolution-no-response.address03.xa
}
### PTR-RESOLUTION-SERVFAIL
# ptr-resolution-servfail.address03.xa.
ptr-resolution-servfail.address03.xa:53 {
bind 127.11.3.31 # ns1.child
bind fda1:b2:c3::127:11:3:31 # ns1.child
bind 127.11.3.45 # ns15.child
bind fda1:b2:c3::127:11:3:45 # ns15.child
log
file Address-TP/address03/ptr-resolution-servfail.address03.xa.zone ptr-resolution-servfail.address03.xa
}

View File

@@ -0,0 +1,99 @@
$ORIGIN address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1
NS ns2
ns1 A 127.11.3.21
ns1 AAAA fda1:b2:c3::127:11:3:21
ns2 A 127.11.3.22
ns2 AAAA fda1:b2:c3::127:11:3:22
;;;
;;; Name servers for child (scenario) zones
;;;
ns1.child A 127.11.3.31
ns1.child AAAA fda1:b2:c3::127:11:3:31
ns2.child A 127.11.3.32
ns2.child AAAA fda1:b2:c3::127:11:3:32
ns3.child A 127.11.3.33
ns3.child AAAA fda1:b2:c3::127:11:3:33
ns4.child A 127.11.3.34
ns4.child AAAA fda1:b2:c3::127:11:3:34
ns5.child A 127.11.3.35
ns5.child AAAA fda1:b2:c3::127:11:3:35
ns6.child A 127.11.3.36
ns6.child AAAA fda1:b2:c3::127:11:3:36
ns7.child A 127.11.3.37
ns7.child AAAA fda1:b2:c3::127:11:3:37
ns8.child A 127.11.3.38
ns8.child AAAA fda1:b2:c3::127:11:3:38
ns9.child A 127.11.3.39
ns9.child AAAA fda1:b2:c3::127:11:3:39
ns10.child A 127.11.3.40
ns10.child AAAA fda1:b2:c3::127:11:3:40
ns11.child A 127.11.3.41
ns11.child AAAA fda1:b2:c3::127:11:3:41
ns12.child A 127.11.3.42
ns12.child AAAA fda1:b2:c3::127:11:3:42
ns13.child A 127.11.3.43
ns13.child AAAA fda1:b2:c3::127:11:3:43
ns14.child A 127.11.3.44
ns14.child AAAA fda1:b2:c3::127:11:3:44
ns15.child A 127.11.3.45
ns15.child AAAA fda1:b2:c3::127:11:3:45
;;;
;;; Some targets of aliases (CNAMEs) need to be in another zone
;;;
reverse-aliases NS ns1.child
reverse-aliases NS ns2.child
;;;
;;; Scenario definitions
;;;
all-ns-have-ptr-1 NS ns1.child
all-ns-have-ptr-1 NS ns2.child
all-ns-have-ptr-2 NS ns1.child
all-ns-have-ptr-2 NS ns3.child
no-ns-have-ptr NS ns4.child
no-ns-have-ptr NS ns5.child
incomplete-ptr-1 NS ns1.child
incomplete-ptr-1 NS ns6.child
incomplete-ptr-2 NS ns1.child
incomplete-ptr-2 NS ns7.child
non-matching-names NS ns8.child
non-matching-names NS ns9.child
ptr-is-good-cname-1 NS ns1.child
ptr-is-good-cname-1 NS ns10.child
ptr-is-good-cname-2 NS ns1.child
ptr-is-good-cname-2 NS ns11.child
ptr-is-dangling-cname NS ns5.child
ptr-is-dangling-cname NS ns12.child
ptr-is-illegal-cname NS ns4.child
ptr-is-illegal-cname NS ns13.child
ptr-resolution-no-response NS ns1.child
ptr-resolution-no-response NS ns14.child
ptr-resolution-servfail NS ns1.child
ptr-resolution-servfail NS ns15.child

View File

@@ -0,0 +1,12 @@
$ORIGIN all-ns-have-ptr-1.address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns1.child.address03.xa. admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1.child.address03.xa.
NS ns2.child.address03.xa.

View File

@@ -0,0 +1,12 @@
$ORIGIN all-ns-have-ptr-2.address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns1.child.address03.xa. admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1.child.address03.xa.
NS ns3.child.address03.xa.

View File

@@ -0,0 +1,12 @@
$ORIGIN incomplete-ptr-1.address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns1.child.address03.xa. admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1.child.address03.xa.
NS ns6.child.address03.xa.

View File

@@ -0,0 +1,12 @@
$ORIGIN incomplete-ptr-2.address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns1.child.address03.xa. admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1.child.address03.xa.
NS ns7.child.address03.xa.

View File

@@ -0,0 +1,12 @@
$ORIGIN no-ns-have-ptr.address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns4.child.address03.xa. admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns4.child.address03.xa.
NS ns5.child.address03.xa.

View File

@@ -0,0 +1,12 @@
$ORIGIN non-matching-names.address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns8.child.address03.xa. admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns8.child.address03.xa.
NS ns9.child.address03.xa.

View File

@@ -0,0 +1,12 @@
$ORIGIN ptr-is-dangling-cname.address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns5.child.address03.xa. admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns5.child.address03.xa.
NS ns12.child.address03.xa.

View File

@@ -0,0 +1,12 @@
$ORIGIN ptr-is-good-cname-1.address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns1.child.address03.xa. admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1.child.address03.xa.
NS ns10.child.address03.xa.

View File

@@ -0,0 +1,12 @@
$ORIGIN ptr-is-good-cname-2.address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns1.child.address03.xa. admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1.child.address03.xa.
NS ns11.child.address03.xa.

View File

@@ -0,0 +1,12 @@
$ORIGIN ptr-is-illegal-cname.address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns4.child.address03.xa. admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns4.child.address03.xa.
NS ns13.child.address03.xa.

View File

@@ -0,0 +1,12 @@
$ORIGIN ptr-resolution-no-response.address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns1.child.address03.xa. admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1.child.address03.xa.
NS ns14.child.address03.xa.

View File

@@ -0,0 +1,12 @@
$ORIGIN ptr-resolution-servfail.address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns1.child.address03.xa. admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1.child.address03.xa.
NS ns15.child.address03.xa.

View File

@@ -0,0 +1,15 @@
$ORIGIN reverse-aliases.address03.xa. ; Must end with "."
$TTL 3600
@ SOA ns1.child.address03.xa. admin. (
2025022400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1.child.address03.xa.
NS ns2.child.address03.xa.
1-4-0-0 PTR ns11.child.address03.xa.
41 PTR ns11.child.address03.xa.

View File

@@ -0,0 +1,219 @@
# Address03 Test Zones Output
# Table of contents
* [Introduction](#introduction)
* [All message tags](#all-message-tags)
* [All scenarios](#all-scenarios)
* [zonemaster-cli commands and their output for each test scenario](#zonemaster-cli-command-and-their-output-for-each-test-scenario)
## Introduction
In this file the output of running `zonemaster-cli` for every test zone is
found. This file is created during the development of the test zones and should
be updated as the implementation of the test case or the test scenarios or test
zones are updated or corrected.
During development and any update this document serves as tracking and log tool.
It also serves as a template for future development of test zones for
scenarios for other test cases.
## All message tags
* NAMESERVER\_IP\_PTR\_MATCH
* NAMESERVER\_IP\_PTR\_MISMATCH
* NAMESERVER\_IP\_WITHOUT\_REVERSE
* NO\_RESPONSE\_PTR\_QUERY
## All scenarios
| Scenario name | Zone name |
|:---------------------------|:----------------------------------------|
| ALL-NS-HAVE-PTR-1 | all-ns-have-ptr-1.address03.xa |
| ALL-NS-HAVE-PTR-2 | all-ns-have-ptr-2.address03.xa |
| NO-NS-HAVE-PTR | no-ns-have-ptr.address03.xa |
| INCOMPLETE-PTR-1 | incomplete-ptr-1.address03.xa |
| INCOMPLETE-PTR-2 | incomplete-ptr-2.address03.xa |
| NON-MATCHING-NAMES | non-matching-names.address03.xa |
| PTR-IS-GOOD-CNAME-1 | ptr-is-good-cname-1.address03.xa |
| PTR-IS-GOOD-CNAME-2 | ptr-is-good-cname-2.address03.xa |
| PTR-IS-DANGLING-CNAME | ptr-is-dangling-cname.address03.xa |
| PTR-IS-ILLEGAL-CNAME | ptr-is-illegal-cname.address03.xa |
| PTR-RESOLUTION-NO-RESPONSE | ptr-resolution-no-response.address03.xa |
| PTR-RESOLUTION-SERVFAIL | ptr-resolution-servfail.address03.xa |
## zonemaster-cli commands and their output for each test scenario
The level (`--level`) must be set to the lowest level of the message tags. For
this test case `INFO` is the lowest level. It is only meaningful to test the
test zones with `--test Address03`.
| Scenario name | Mandatory message tag | Forbidden message tags |
|:------------------|:---------------------------|:-----------------------|
| ALL-NS-HAVE-PTR-1 | NAMESERVER\_IP\_PTR\_MATCH | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --raw --show-testcase --test address03 --hints COMMON/hintfile --level info all-ns-have-ptr-1.address03.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.0.0
0.10 INFO Address03 NAMESERVER_IP_PTR_MATCH
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:------------------|:---------------------------|:-----------------------|
| ALL-NS-HAVE-PTR-2 | NAMESERVER\_IP\_PTR\_MATCH | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --raw --show-testcase --test address03 --hints COMMON/hintfile --level info all-ns-have-ptr-2.address03.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.0.0
0.11 INFO Address03 NAMESERVER_IP_PTR_MATCH
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:---------------|:---------------------------------|:-----------------------|
| NO-NS-HAVE-PTR | NAMESERVER\_IP\_WITHOUT\_REVERSE | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --raw --show-testcase --test address03 --hints COMMON/hintfile --level info no-ns-have-ptr.address03.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.0.0
0.06 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=127.11.3.34; nsname=ns4.child.address03.xa
0.07 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=fda1:b2:c3:0:127:11:3:34; nsname=ns4.child.address03.xa
0.08 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=127.11.3.35; nsname=ns5.child.address03.xa
0.09 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=fda1:b2:c3:0:127:11:3:35; nsname=ns5.child.address03.xa
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:-----------------|:---------------------------------|:-----------------------|
| INCOMPLETE-PTR-1 | NAMESERVER\_IP\_WITHOUT\_REVERSE | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --raw --show-testcase --test address03 --hints COMMON/hintfile --level info incomplete-ptr-1.address03.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.0.0
0.08 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=127.11.3.36; nsname=ns6.child.address03.xa
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:-----------------|:---------------------------------|:-----------------------|
| INCOMPLETE-PTR-2 | NAMESERVER\_IP\_WITHOUT\_REVERSE | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --raw --show-testcase --test address03 --hints COMMON/hintfile --level info incomplete-ptr-2.address03.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.0.0
0.07 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=fda1:b2:c3:0:127:11:3:37; nsname=ns7.child.address03.xa
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:-------------------|:------------------------------|:-----------------------|
| NON-MATCHING-NAMES | NAMESERVER\_IP\_PTR\_MISMATCH | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --raw --show-testcase --test address03 --hints COMMON/hintfile --level info non-matching-names.address03.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.0.0
0.11 NOTICE Address03 NAMESERVER_IP_PTR_MISMATCH names=a-naughty-nameserver.child.address03.xa.; ns_ip=127.11.3.38; nsname=ns8.child.address03.xa
0.12 NOTICE Address03 NAMESERVER_IP_PTR_MISMATCH names=a-naughty-nameserver.child.address03.xa.; ns_ip=fda1:b2:c3:0:127:11:3:38; nsname=ns8.child.address03.xa
0.13 NOTICE Address03 NAMESERVER_IP_PTR_MISMATCH names=non-matching-set-1.child.address03.xa./non-matching-set-2.child.address03.xa.; ns_ip=127.11.3.39; nsname=ns9.child.address03.xa
0.13 NOTICE Address03 NAMESERVER_IP_PTR_MISMATCH names=non-matching-set-1.child.address03.xa./non-matching-set-2.child.address03.xa.; ns_ip=fda1:b2:c3:0:127:11:3:39; nsname=ns9.child.address03.xa
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:--------------------|:---------------------------|:-----------------------|
| PTR-IS-GOOD-CNAME-1 | NAMESERVER\_IP\_PTR\_MATCH | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --raw --show-testcase --test address03 --hints COMMON/hintfile --level info ptr-is-good-cname-1.address03.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.0.0
0.15 INFO Address03 NAMESERVER_IP_PTR_MATCH
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:--------------------|:---------------------------|:-----------------------|
| PTR-IS-GOOD-CNAME-2 | NAMESERVER\_IP\_PTR\_MATCH | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --raw --show-testcase --test address03 --hints COMMON/hintfile --level info ptr-is-good-cname-2.address03.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.0.0
0.14 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=127.11.3.41; nsname=ns11.child.address03.xa
0.16 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=fda1:b2:c3:0:127:11:3:41; nsname=ns11.child.address03.xa
```
The output is incorrect with Zonemaster-Engine version 7.0.0 due to a bug (<https://github.com/zonemaster/zonemaster/issues/1353>).
--> Not yet OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:----------------------|:---------------------------------|:-----------------------|
| PTR-IS-DANGLING-CNAME | NAMESERVER\_IP\_WITHOUT\_REVERSE | 2) |
* (2) All tags except for those specified as “Mandatory message tags”
```
$ zonemaster-cli --raw --show-testcase --test address03 --hints COMMON/hintfile --level info ptr-is-dangling-cname.address03.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.0.0
0.07 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=127.11.3.42; nsname=ns12.child.address03.xa
0.08 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=fda1:b2:c3:0:127:11:3:42; nsname=ns12.child.address03.xa
0.08 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=127.11.3.35; nsname=ns5.child.address03.xa
0.09 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=fda1:b2:c3:0:127:11:3:35; nsname=ns5.child.address03.xa
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:---------------------|:---------------------------------|:----------------------------------------------------------|
| PTR-IS-ILLEGAL-CNAME | NAMESERVER\_IP\_WITHOUT\_REVERSE | NAMESERVER\_IP\_PTR\_MATCH, NAMESERVER\_IP\_PTR\_MISMATCH |
```
$ zonemaster-cli --raw --show-testcase --test address03 --hints COMMON/hintfile --level info ptr-is-illegal-cname.address03.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.0.0
0.06 ERROR Address03 CNAME_RECORDS_MULTIPLE_FOR_NAME name="43.3.11.127.in-addr.arpa"
0.06 WARNING Address03 NO_RESPONSE_PTR_QUERY domain=43.3.11.127.in-addr.arpa.
0.06 ERROR Address03 CNAME_RECORDS_MULTIPLE_FOR_NAME name="3.4.0.0.3.0.0.0.1.1.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa"
0.06 WARNING Address03 NO_RESPONSE_PTR_QUERY domain=3.4.0.0.3.0.0.0.1.1.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa.
0.07 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=127.11.3.34; nsname=ns4.child.address03.xa
0.07 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=fda1:b2:c3:0:127:11:3:34; nsname=ns4.child.address03.xa
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:---------------------------|:-------------------------|:----------------------------------------------------------|
| PTR-RESOLUTION-NO-RESPONSE | NO\_RESPONSE\_PTR\_QUERY | NAMESERVER\_IP\_PTR\_MATCH, NAMESERVER\_IP\_PTR\_MISMATCH |
```
$ zonemaster-cli --raw --show-testcase --test address03 --hints COMMON/hintfile --level info ptr-resolution-no-response.address03.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.0.0
40.12 WARNING Address03 NO_RESPONSE_PTR_QUERY domain=44.3.11.127.in-addr.arpa.
40.12 WARNING Address03 NO_RESPONSE_PTR_QUERY domain=4.4.0.0.3.0.0.0.1.1.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa.
```
--> OK
| Scenario name | Mandatory message tag | Forbidden message tags |
|:------------------------|:-------------------------|:----------------------------------------------------------|
| PTR-RESOLUTION-SERVFAIL | NO\_RESPONSE\_PTR\_QUERY | NAMESERVER\_IP\_PTR\_MATCH, NAMESERVER\_IP\_PTR\_MISMATCH |
```
$ zonemaster-cli --raw --show-testcase --test address03 --hints COMMON/hintfile --level info ptr-resolution-servfail.address03.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.0.0
0.07 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=127.11.3.45; nsname=ns15.child.address03.xa
0.08 WARNING Address03 NAMESERVER_IP_WITHOUT_REVERSE ns_ip=fda1:b2:c3:0:127:11:3:45; nsname=ns15.child.address03.xa
```
--> Not yet OK

View File

@@ -0,0 +1,30 @@
; Shared zone files for granparent zones when "child"
; is to be delegated directly from grandparent, or overridden
; in basic01.cfg file.
;
; * All names must be relative here.
; * $ORIGIN is inherited from the loading of the zone
$TTL 3600
@ SOA ns1 admin. (
2024052000 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN child.parent ; Must not end with "."
@ NS ns1-delegated-child.basic01.xa. ; Dummy server
@ NS ns2-delegated-child.basic01.xa. ; Dummy server

View File

@@ -0,0 +1,34 @@
; Shared zone files for grandparent zones when "parent"
; is to be delegated in the standard way or overridden
; in basic01.cfg file.
;
; * All names must be relative here.
; * $ORIGIN is inherited from the loading of the zone
$TTL 3600
@ SOA ns1 admin. (
2024051900 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN parent ; Must not end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42

View File

@@ -0,0 +1,610 @@
# Basic01
[This directory](.), i.e. the same directory as this README file, holds
zone files and `coredns` configuration files for scenarios for test case Basic01.
## All message tags
* B01_CHILD_FOUND
* B01_CHILD_IS_ALIAS
* B01_INCONSISTENT_ALIAS
* B01_INCONSISTENT_DELEGATION
* B01_NO_CHILD
* B01_PARENT_DISREGARDED
* B01_PARENT_FOUND
* B01_PARENT_NOT_FOUND
* B01_PARENT_UNDETERMINED
* B01_ROOT_HAS_NO_PARENT
* B01_SERVER_ZONE_ERROR
## All scenarios
Scenario name | Zone name
:-------------------------|:---------------------------------------------
GOOD-1 | child.parent.good-1.basic01.xa
GOOD-MIXED-1 | child.parent.good-mixed-1.basic01.xa
GOOD-MIXED-2 | child.parent.good-mixed-2.basic01.xa
GOOD-PARENT-HOST-1 | child.parent.good-parent-host-1.basic01.xa
GOOD-GRANDPARENT-HOST-1 | child.parent.good-grandparent-host-1.basic01.xa
GOOD-UNDEL-1 | child.parent.good-undel-1.basic01.xa
GOOD-MIXED-UNDEL-1 | child.parent.good-mixed-undel-1.basic01.xa
GOOD-MIXED-UNDEL-2 | child.parent.good-mixed-undel-2.basic01.xa
NO-DEL-UNDEL-1 | child.parent.no-del-undel-1.basic01.xa
NO-DEL-MIXED-UNDEL-1 | child.parent.no-del-mixed-undel-1.basic01.xa
NO-DEL-MIXED-UNDEL-2 | child.w.x.parent.y.z.no-del-mixed-undel-2.basic01.xa
NO-CHILD-1 | child.parent.no-child-1.basic01.xa
NO-CHILD-2 | child.parent.no-child-2.basic01.xa
NO-CHLD-PAR-UNDETER-1 | child.parent.no-chld-par-undeter-1.basic01.xa
CHLD-FOUND-PAR-UNDET-1 | child.parent.chld-found-par-undet-1.basic01.xa
CHLD-FOUND-INCONSIST-1 | child.parent.chld-found-inconsist-1.basic01.xa
CHLD-FOUND-INCONSIST-2 | child.parent.chld-found-inconsist-2.basic01.xa
CHLD-FOUND-INCONSIST-3 | child.parent.chld-found-inconsist-3.basic01.xa
CHLD-FOUND-INCONSIST-4 | child.parent.chld-found-inconsist-4.basic01.xa
CHLD-FOUND-INCONSIST-5 | child.parent.chld-found-inconsist-5.basic01.xa
CHLD-FOUND-INCONSIST-6 | child.parent.chld-found-inconsist-6.basic01.xa
CHLD-FOUND-INCONSIST-7 | child.parent.chld-found-inconsist-7.basic01.xa
CHLD-FOUND-INCONSIST-8 | child.parent.chld-found-inconsist-8.basic01.xa
CHLD-FOUND-INCONSIST-9 | child.parent.chld-found-inconsist-9.basic01.xa
CHLD-FOUND-INCONSIST-10 | child.parent.chld-found-inconsist-10.basic01.xa
NO-DEL-UNDEL-NO-PAR-1 | child.parent.no-del-undel-no-par-1.basic01.xa
NO-DEL-UNDEL-PAR-UND-1 | child.parent.no-del-undel-par-und-1.basic01.xa
NO-CHLD-NO-PAR-1 | child.parent.no-chld-no-par-1.basic01.xa
CHILD-ALIAS-1 | child.parent.child-alias-1.basic01.xa
CHILD-ALIAS-2 | child.parent.child-alias-2.basic01.xa
ZONE-ERR-GRANDPARENT-1 | child.parent.zone-err-grandparent-1.basic01.xa
ZONE-ERR-GRANDPARENT-2 | child.parent.zone-err-grandparent-2.basic01.xa
ZONE-ERR-GRANDPARENT-3 | child.parent.zone-err-grandparent-3.basic01.xa
## zonemaster-cli commands and their output for each test scenario
The level (`--level`) must be set to the lowest level of the message tags. For
this test case `DEBUG` is the lowest level. `--level DEBUG` gives too much extra
so it is better to create a profile where `B01_SERVER_ZONE_ERROR` is raised from
`DEBUG` to `INFO`. It is only meaningful to test the test zones with
`--test Basic01`.
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:-------------------------------------------------|:----------------------
GOOD-1 | B01_CHILD_FOUND, B01_PARENT_FOUND | 2)
* (2) All tags except for those specified as "Mandatory message tags"
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.good-1.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.13 INFO Basic01 B01_PARENT_FOUND domain=parent.good-1.basic01.xa; ns_list=ns1.parent.good-1.basic01.xa/127.12.1.41;ns1.parent.good-1.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.good-1.basic01.xa/127.12.1.42;ns2.parent.good-1.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.13 INFO Basic01 B01_CHILD_FOUND domain=child.parent.good-1.basic01.xa
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:-------------------------------------------------|:----------------------
GOOD-MIXED-1 | B01_CHILD_FOUND, B01_PARENT_FOUND | 2)
* (2) All tags except for those specified as "Mandatory message tags"
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.good-mixed-1.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.17 INFO Basic01 B01_PARENT_FOUND domain=parent.good-mixed-1.basic01.xa; ns_list=ns1.parent.good-mixed-1.basic01.xa/127.12.1.41;ns1.parent.good-mixed-1.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.good-mixed-1.basic01.xa/127.12.1.42;ns2.parent.good-mixed-1.basic01.xa/fda1:b2:c3:0:127:12:1:42;ns4.good-mixed-1.basic01.xa/127.12.1.34;ns4.good-mixed-1.basic01.xa/fda1:b2:c3:0:127:12:1:34
0.17 INFO Basic01 B01_CHILD_FOUND domain=child.parent.good-mixed-1.basic01.xa
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:-------------------------------------------------|:----------------------
GOOD-MIXED-2 | B01_CHILD_FOUND, B01_PARENT_FOUND | 2)
* (2) All tags except for those specified as "Mandatory message tags"
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.good-mixed-2.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.12 INFO Basic01 B01_PARENT_FOUND domain=parent.good-mixed-2.basic01.xa; ns_list=ns1.parent.good-mixed-2.basic01.xa/127.12.1.41;ns1.parent.good-mixed-2.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns4.parent.good-mixed-2.basic01.xa/127.12.1.44;ns4.parent.good-mixed-2.basic01.xa/fda1:b2:c3:0:127:12:1:44
0.12 INFO Basic01 B01_CHILD_FOUND domain=child.parent.good-mixed-2.basic01.xa
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:-------------------------------------------------|:----------------------
GOOD-PARENT-HOST-1 | B01_CHILD_FOUND, B01_PARENT_FOUND | 2)
* (2) All tags except for those specified as "Mandatory message tags"
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.good-parent-host-1.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.11 INFO Basic01 B01_PARENT_FOUND domain=parent.good-parent-host-1.basic01.xa; ns_list=ns1.parent.good-parent-host-1.basic01.xa/127.12.1.41;ns1.parent.good-parent-host-1.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.good-parent-host-1.basic01.xa/127.12.1.42;ns2.parent.good-parent-host-1.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.11 INFO Basic01 B01_CHILD_FOUND domain=child.parent.good-parent-host-1.basic01.xa
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:-------------------------------------------------|:----------------------
GOOD-GRANDPARENT-HOST-1 | B01_CHILD_FOUND, B01_PARENT_FOUND | 2)
* (2) All tags except for those specified as "Mandatory message tags"
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.good-grandparent-host-1.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.13 INFO Basic01 B01_PARENT_FOUND domain=parent.good-grandparent-host-1.basic01.xa; ns_list=ns1.parent.good-grandparent-host-1.basic01.xa/127.12.1.41;ns1.parent.good-grandparent-host-1.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.good-grandparent-host-1.basic01.xa/127.12.1.42;ns2.parent.good-grandparent-host-1.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.13 INFO Basic01 B01_CHILD_FOUND domain=child.parent.good-grandparent-host-1.basic01.xa
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:-------------------------------------------------|:----------------------
GOOD-UNDEL-1 | B01_CHILD_FOUND, B01_PARENT_DISREGARDED | 2)
* (2) All tags except for those specified as "Mandatory message tags"
* Undelegated data:
* ns3-undelegated-child.basic01.xa
* ns4-undelegated-child.basic01.xa
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --ns ns3-undelegated-child.basic01.xa --ns ns4-undelegated-child.basic01.xa child.parent.good-undel-1.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
0.00 INFO Basic01 B01_CHILD_FOUND domain=child.parent.good-undel-1.basic01.xa
0.00 INFO Basic01 B01_PARENT_DISREGARDED
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:-------------------------------------------------|:----------------------
GOOD-MIXED-UNDEL-1 | B01_CHILD_FOUND, B01_PARENT_DISREGARDED | 2)
* (2) All tags except for those specified as "Mandatory message tags"
* Undelegated data:
* ns3-undelegated-child.basic01.xa
* ns4-undelegated-child.basic01.xa
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --ns ns3-undelegated-child.basic01.xa --ns ns4-undelegated-child.basic01.xa child.parent.good-mixed-undel-1.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
0.00 INFO Basic01 B01_CHILD_FOUND domain=child.parent.good-mixed-undel-1.basic01.xa
0.00 INFO Basic01 B01_PARENT_DISREGARDED
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:-------------------------------------------------|:----------------------
GOOD-MIXED-UNDEL-2 | B01_CHILD_FOUND, B01_PARENT_DISREGARDED | 2)
* (2) All tags except for those specified as "Mandatory message tags"
* Undelegated data:
* ns3-undelegated-child.basic01.xa
* ns4-undelegated-child.basic01.xa
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --ns ns3-undelegated-child.basic01.xa --ns ns4-undelegated-child.basic01.xa child.parent.good-mixed-undel-2.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
0.00 INFO Basic01 B01_CHILD_FOUND domain=child.parent.good-mixed-undel-2.basic01.xa
0.00 INFO Basic01 B01_PARENT_DISREGARDED
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:-------------------------------------------------|:----------------------
NO-DEL-UNDEL-1 | B01_CHILD_FOUND, B01_PARENT_DISREGARDED | 2)
* (2) All tags except for those specified as "Mandatory message tags"
* Undelegated data:
* ns3-undelegated-child.basic01.xa
* ns4-undelegated-child.basic01.xa
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --ns ns3-undelegated-child.basic01.xa --ns ns4-undelegated-child.basic01.xa child.parent.no-del-undel-1.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
0.00 INFO Basic01 B01_CHILD_FOUND domain=child.parent.no-del-undel-1.basic01.xa
0.00 INFO Basic01 B01_PARENT_DISREGARDED
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:-------------------------------------------------|:----------------------
NO-DEL-MIXED-UNDEL-1 | B01_CHILD_FOUND, B01_PARENT_DISREGARDED | 2)
* (2) All tags except for those specified as "Mandatory message tags"
* Undelegated data:
* ns3-undelegated-child.basic01.xa
* ns4-undelegated-child.basic01.xa
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --profile Basic-TP/basic01/profile.json --ns ns3-undelegated-child.basic01.xa --ns ns4-undelegated-child.basic01.xa child.parent.no-del-mixed-undel-1.basic01.xa
Loading profile from Basic-TP/basic01/profile.json.
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
0.00 INFO Basic01 TEST_CASE_START testcase=Basic01
0.00 INFO Basic01 B01_CHILD_FOUND domain=child.parent.no-del-mixed-undel-1.basic01.xa
0.00 INFO Basic01 B01_PARENT_DISREGARDED
0.00 INFO Basic01 TEST_CASE_END testcase=Basic01
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:-------------------------------------------------|:----------------------
NO-DEL-MIXED-UNDEL-2 | B01_CHILD_FOUND, B01_PARENT_DISREGARDED | 2)
* (2) All tags except for those specified as "Mandatory message tags"
* Undelegated data:
* ns3-undelegated-child.basic01.xa
* ns4-undelegated-child.basic01.xa
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --profile Basic-TP/basic01/profile.json --ns ns3-undelegated-child.basic01.xa --ns ns4-undelegated-child.basic01.xa child.w.x.parent.y.z.no-del-mixed-undel-2.basic01.xa
Loading profile from Basic-TP/basic01/profile.json.
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
0.00 INFO Basic01 TEST_CASE_START testcase=Basic01
0.00 INFO Basic01 B01_CHILD_FOUND domain=child.w.x.parent.y.z.no-del-mixed-undel-2.basic01.xa
0.00 INFO Basic01 B01_PARENT_DISREGARDED
0.00 INFO Basic01 TEST_CASE_END testcase=Basic01
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:-------------------------------------------------|:----------------------
NO-CHILD-1 | B01_NO_CHILD, B01_PARENT_FOUND | 2)
* (2) All tags except for those specified as "Mandatory message tags"
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.no-child-1.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.08 INFO Basic01 B01_PARENT_FOUND domain=parent.no-child-1.basic01.xa; ns_ip_list=ns1.parent.no-child-1.basic01.xa/127.12.1.41;ns1.parent.no-child-1.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.no-child-1.basic01.xa/127.12.1.42;ns2.parent.no-child-1.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.08 ERROR Basic01 B01_NO_CHILD domain_child=child.parent.no-child-1.basic01.xa; domain_super="parent.no-child-1.basic01.xa"
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
NO-CHILD-2 | B01_NO_CHILD, B01_PARENT_FOUND | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.no-child-2.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.09 INFO Basic01 B01_PARENT_FOUND domain=parent.no-child-2.basic01.xa; ns_list=ns1.parent.no-child-2.basic01.xa/127.12.1.41;ns1.parent.no-child-2.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.no-child-2.basic01.xa/127.12.1.42;ns2.parent.no-child-2.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.09 ERROR Basic01 B01_NO_CHILD domain_child=child.parent.no-child-2.basic01.xa; domain_super="parent.no-child-2.basic01.xa"
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
NO-CHLD-PAR-UNDETER-1 | B01_NO_CHILD, B01_PARENT_FOUND, B01_PARENT_UNDETERMINED | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.no-chld-par-undeter-1.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.11 INFO Basic01 B01_PARENT_FOUND domain=no-chld-par-undeter-1.basic01.xa; ns_list=ns1.no-chld-par-undeter-1.basic01.xa/127.12.1.31;ns1.no-chld-par-undeter-1.basic01.xa/fda1:b2:c3:0:127:12:1:31
0.11 INFO Basic01 B01_PARENT_FOUND domain=parent.no-chld-par-undeter-1.basic01.xa; ns_list=ns1.parent.no-chld-par-undeter-1.basic01.xa/127.12.1.41;ns1.parent.no-chld-par-undeter-1.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.no-chld-par-undeter-1.basic01.xa/127.12.1.42;ns2.parent.no-chld-par-undeter-1.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.11 WARNING Basic01 B01_PARENT_UNDETERMINED ns_list=ns1.no-chld-par-undeter-1.basic01.xa/127.12.1.31;ns1.no-chld-par-undeter-1.basic01.xa/fda1:b2:c3:0:127:12:1:31;ns1.parent.no-chld-par-undeter-1.basic01.xa/127.12.1.41;ns1.parent.no-chld-par-undeter-1.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.no-chld-par-undeter-1.basic01.xa/127.12.1.42;ns2.parent.no-chld-par-undeter-1.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.11 ERROR Basic01 B01_NO_CHILD domain_child=child.parent.no-chld-par-undeter-1.basic01.xa; domain_super="parent.no-chld-par-undeter-1.basic01.xa"
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
CHLD-FOUND-PAR-UNDET-1 | B01_CHILD_FOUND, B01_PARENT_FOUND, B01_PARENT_UNDETERMINED | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.chld-found-par-undet-1.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.15 INFO Basic01 B01_PARENT_FOUND domain=parent.chld-found-par-undet-1.basic01.xa; ns_list=ns1.parent.chld-found-par-undet-1.basic01.xa/127.12.1.41;ns1.parent.chld-found-par-undet-1.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.chld-found-par-undet-1.basic01.xa/127.12.1.42;ns2.parent.chld-found-par-undet-1.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.15 INFO Basic01 B01_PARENT_FOUND domain=chld-found-par-undet-1.basic01.xa; ns_list=ns1.chld-found-par-undet-1.basic01.xa/127.12.1.31;ns1.chld-found-par-undet-1.basic01.xa/fda1:b2:c3:0:127:12:1:31
0.15 WARNING Basic01 B01_PARENT_UNDETERMINED ns_list=ns1.chld-found-par-undet-1.basic01.xa/127.12.1.31;ns1.chld-found-par-undet-1.basic01.xa/fda1:b2:c3:0:127:12:1:31;ns1.parent.chld-found-par-undet-1.basic01.xa/127.12.1.41;ns1.parent.chld-found-par-undet-1.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.chld-found-par-undet-1.basic01.xa/127.12.1.42;ns2.parent.chld-found-par-undet-1.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.15 INFO Basic01 B01_CHILD_FOUND domain=child.parent.chld-found-par-undet-1.basic01.xa
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
CHLD-FOUND-INCONSIST-1 | B01_CHILD_FOUND, B01_INCONSISTENT_DELEGATION, B01_PARENT_FOUND | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.CHLD-FOUND-INCONSIST-1.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.13 INFO Basic01 B01_PARENT_FOUND domain=parent.chld-found-inconsist-1.basic01.xa; ns_list=ns1.parent.chld-found-inconsist-1.basic01.xa/127.12.1.41;ns1.parent.chld-found-inconsist-1.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.chld-found-inconsist-1.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-1.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.13 INFO Basic01 B01_CHILD_FOUND domain=child.parent.chld-found-inconsist-1.basic01.xa
0.13 ERROR Basic01 B01_INCONSISTENT_DELEGATION domain_child=child.parent.chld-found-inconsist-1.basic01.xa; domain_parent=parent.chld-found-inconsist-1.basic01.xa; ns_list=ns2.parent.chld-found-inconsist-1.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-1.basic01.xa/fda1:b2:c3:0:127:12:1:42
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
CHLD-FOUND-INCONSIST-2 | B01_CHILD_FOUND, B01_INCONSISTENT_DELEGATION, B01_PARENT_FOUND | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.CHLD-FOUND-INCONSIST-2.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.14 INFO Basic01 B01_PARENT_FOUND domain=parent.chld-found-inconsist-2.basic01.xa; ns_list=ns1.parent.chld-found-inconsist-2.basic01.xa/127.12.1.41;ns1.parent.chld-found-inconsist-2.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.chld-found-inconsist-2.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-2.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.14 INFO Basic01 B01_CHILD_FOUND domain=child.parent.chld-found-inconsist-2.basic01.xa
0.15 ERROR Basic01 B01_INCONSISTENT_DELEGATION domain_child=child.parent.chld-found-inconsist-2.basic01.xa; domain_parent=parent.chld-found-inconsist-2.basic01.xa; ns_list=ns2.parent.chld-found-inconsist-2.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-2.basic01.xa/fda1:b2:c3:0:127:12:1:42
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
CHLD-FOUND-INCONSIST-3 | B01_CHILD_FOUND, B01_INCONSISTENT_DELEGATION, B01_PARENT_FOUND | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.CHLD-FOUND-INCONSIST-3.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.15 INFO Basic01 B01_PARENT_FOUND domain=parent.chld-found-inconsist-3.basic01.xa; ns_list=ns1.parent.chld-found-inconsist-3.basic01.xa/127.12.1.41;ns1.parent.chld-found-inconsist-3.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.chld-found-inconsist-3.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-3.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.15 INFO Basic01 B01_CHILD_FOUND domain=child.parent.chld-found-inconsist-3.basic01.xa
0.15 ERROR Basic01 B01_INCONSISTENT_DELEGATION domain_child=child.parent.chld-found-inconsist-3.basic01.xa; domain_parent=parent.chld-found-inconsist-3.basic01.xa; ns_list=ns2.parent.chld-found-inconsist-3.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-3.basic01.xa/fda1:b2:c3:0:127:12:1:42
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
CHLD-FOUND-INCONSIST-4 | B01_PARENT_FOUND, B01_CHILD_IS_ALIAS, B01_CHILD_FOUND, B01_INCONSISTENT_DELEGATION | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.CHLD-FOUND-INCONSIST-4.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.16 INFO Basic01 B01_PARENT_FOUND domain=parent.chld-found-inconsist-4.basic01.xa; ns_list=ns1.parent.chld-found-inconsist-4.basic01.xa/127.12.1.41;ns1.parent.chld-found-inconsist-4.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.chld-found-inconsist-4.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-4.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.16 INFO Basic01 B01_CHILD_FOUND domain=child.parent.chld-found-inconsist-4.basic01.xa
0.16 ERROR Basic01 B01_INCONSISTENT_DELEGATION domain_child=child.parent.chld-found-inconsist-4.basic01.xa; domain_parent=parent.chld-found-inconsist-4.basic01.xa; ns_list=ns2.parent.chld-found-inconsist-4.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-4.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.16 NOTICE Basic01 B01_CHILD_IS_ALIAS domain_child=child.parent.chld-found-inconsist-4.basic01.xa; domain_target=sister.parent.chld-found-inconsist-4.basic01.xa.; ns_list=ns2.parent.chld-found-inconsist-4.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-4.basic01.xa/fda1:b2:c3:0:127:12:1:42
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
CHLD-FOUND-INCONSIST-5 | B01_CHILD_FOUND, B01_INCONSISTENT_DELEGATION, B01_PARENT_FOUND | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.CHLD-FOUND-INCONSIST-5.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.12 INFO Basic01 B01_PARENT_FOUND domain=parent.chld-found-inconsist-5.basic01.xa; ns_list=ns1.parent.chld-found-inconsist-5.basic01.xa/127.12.1.41;ns1.parent.chld-found-inconsist-5.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.chld-found-inconsist-5.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-5.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.12 INFO Basic01 B01_CHILD_FOUND domain=child.parent.chld-found-inconsist-5.basic01.xa
0.12 ERROR Basic01 B01_INCONSISTENT_DELEGATION domain_child=child.parent.chld-found-inconsist-5.basic01.xa; domain_parent=parent.chld-found-inconsist-5.basic01.xa; ns_list=ns2.parent.chld-found-inconsist-5.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-5.basic01.xa/fda1:b2:c3:0:127:12:1:42
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
CHLD-FOUND-INCONSIST-6 | B01_CHILD_FOUND, B01_INCONSISTENT_DELEGATION, B01_PARENT_FOUND | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.CHLD-FOUND-INCONSIST-6.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.10 INFO Basic01 B01_PARENT_FOUND domain=parent.chld-found-inconsist-6.basic01.xa; ns_list=ns1.parent.chld-found-inconsist-6.basic01.xa/127.12.1.41;ns1.parent.chld-found-inconsist-6.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.chld-found-inconsist-6.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-6.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.10 INFO Basic01 B01_CHILD_FOUND domain=child.parent.chld-found-inconsist-6.basic01.xa
0.10 ERROR Basic01 B01_INCONSISTENT_DELEGATION domain_child=child.parent.chld-found-inconsist-6.basic01.xa; domain_parent=parent.chld-found-inconsist-6.basic01.xa; ns_list=ns2.parent.chld-found-inconsist-6.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-6.basic01.xa/fda1:b2:c3:0:127:12:1:42
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
CHLD-FOUND-INCONSIST-7 | B01_CHILD_FOUND, B01_INCONSISTENT_DELEGATION, B01_PARENT_FOUND | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.CHLD-FOUND-INCONSIST-7.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.09 INFO Basic01 B01_PARENT_FOUND domain=parent.chld-found-inconsist-7.basic01.xa; ns_list=ns1.parent.chld-found-inconsist-7.basic01.xa/127.12.1.41;ns1.parent.chld-found-inconsist-7.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.chld-found-inconsist-7.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-7.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.10 INFO Basic01 B01_CHILD_FOUND domain=child.parent.chld-found-inconsist-7.basic01.xa
0.10 ERROR Basic01 B01_INCONSISTENT_DELEGATION domain_child=child.parent.chld-found-inconsist-7.basic01.xa; domain_parent=parent.chld-found-inconsist-7.basic01.xa; ns_list=ns2.parent.chld-found-inconsist-7.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-7.basic01.xa/fda1:b2:c3:0:127:12:1:42
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
CHLD-FOUND-INCONSIST-8 | B01_CHILD_FOUND, B01_INCONSISTENT_DELEGATION, B01_PARENT_FOUND | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.CHLD-FOUND-INCONSIST-8.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.10 INFO Basic01 B01_PARENT_FOUND domain=parent.chld-found-inconsist-8.basic01.xa; ns_list=ns1.parent.chld-found-inconsist-8.basic01.xa/127.12.1.41;ns1.parent.chld-found-inconsist-8.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.chld-found-inconsist-8.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-8.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.10 INFO Basic01 B01_CHILD_FOUND domain=child.parent.chld-found-inconsist-8.basic01.xa
0.10 ERROR Basic01 B01_INCONSISTENT_DELEGATION domain_child=child.parent.chld-found-inconsist-8.basic01.xa; domain_parent=parent.chld-found-inconsist-8.basic01.xa; ns_list=ns2.parent.chld-found-inconsist-8.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-8.basic01.xa/fda1:b2:c3:0:127:12:1:42
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:------------------------------------------------------------------------------------|:----------------------
CHLD-FOUND-INCONSIST-9 | B01_CHILD_IS_ALIAS, B01_CHILD_FOUND, B01_INCONSISTENT_DELEGATION, B01_PARENT_FOUND | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.CHLD-FOUND-INCONSIST-9.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.13 INFO Basic01 B01_PARENT_FOUND domain=parent.chld-found-inconsist-9.basic01.xa; ns_list=ns1.parent.chld-found-inconsist-9.basic01.xa/127.12.1.41;ns1.parent.chld-found-inconsist-9.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.chld-found-inconsist-9.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-9.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.13 INFO Basic01 B01_CHILD_FOUND domain=child.parent.chld-found-inconsist-9.basic01.xa
0.13 ERROR Basic01 B01_INCONSISTENT_DELEGATION domain_child=child.parent.chld-found-inconsist-9.basic01.xa; domain_parent=parent.chld-found-inconsist-9.basic01.xa; ns_list=ns2.parent.chld-found-inconsist-9.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-9.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.13 NOTICE Basic01 B01_CHILD_IS_ALIAS domain_child=child.parent.chld-found-inconsist-9.basic01.xa; domain_target=sister.parent.chld-found-inconsist-9.basic01.xa.; ns_list=ns2.parent.chld-found-inconsist-9.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-9.basic01.xa/fda1:b2:c3:0:127:12:1:42
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
CHLD-FOUND-INCONSIST-10 | B01_CHILD_FOUND, B01_INCONSISTENT_DELEGATION, B01_PARENT_FOUND | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info child.parent.CHLD-FOUND-INCONSIST-10.basic01.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.12 INFO Basic01 B01_PARENT_FOUND domain=parent.chld-found-inconsist-10.basic01.xa; ns_list=ns1.parent.chld-found-inconsist-10.basic01.xa/127.12.1.41;ns1.parent.chld-found-inconsist-10.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.chld-found-inconsist-10.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-10.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.12 INFO Basic01 B01_CHILD_FOUND domain=child.parent.chld-found-inconsist-10.basic01.xa
0.12 ERROR Basic01 B01_INCONSISTENT_DELEGATION domain_child=child.parent.chld-found-inconsist-10.basic01.xa; domain_parent=parent.chld-found-inconsist-10.basic01.xa; ns_list=ns2.parent.chld-found-inconsist-10.basic01.xa/127.12.1.42;ns2.parent.chld-found-inconsist-10.basic01.xa/fda1:b2:c3:0:127:12:1:42
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
NO-DEL-UNDEL-NO-PAR-1 | B01_CHILD_FOUND, B01_PARENT_DISREGARDED | 2)
* Undelegated data:
* ns3-undelegated-child.basic01.xa
* ns4-undelegated-child.basic01.xa
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --profile Basic-TP/basic01/profile.json child.parent.no-del-undel-no-par-1.basic01.xa --ns ns3-undelegated-child.basic01.xa --ns ns4-undelegated-child.basic01.xa
Loading profile from Basic-TP/basic01/profile.json.
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
0.00 INFO Basic01 TEST_CASE_START testcase=Basic01
0.00 INFO Basic01 B01_CHILD_FOUND domain=child.parent.no-del-undel-no-par-1.basic01.xa
0.00 INFO Basic01 B01_PARENT_DISREGARDED
0.00 INFO Basic01 TEST_CASE_END testcase=Basic01
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
NO-DEL-UNDEL-PAR-UND-1 | B01_CHILD_FOUND, B01_PARENT_DISREGARDED | 2)
* Undelegated data:
* ns3-undelegated-child.basic01.xa
* ns4-undelegated-child.basic01.xa
```
zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --profile Basic-TP/basic01/profile.json child.parent.no-del-undel-par-und-1.basic01.xa --ns ns3-undelegated-child.basic01.xa --ns ns4-undelegated-child.basic01.xa
Loading profile from Basic-TP/basic01/profile.json.
0.00 INFO Unspecified GLOBAL_VERSION version=v8.0.0
0.00 INFO Basic01 TEST_CASE_START testcase=Basic01
0.00 INFO Basic01 B01_CHILD_FOUND domain=child.parent.no-del-undel-par-und-1.basic01.xa
0.00 INFO Basic01 B01_PARENT_DISREGARDED
0.00 INFO Basic01 TEST_CASE_END testcase=Basic01
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
NO-CHLD-NO-PAR-1 | B01_NO_CHILD, B01_PARENT_NOT_FOUND, B01_SERVER_ZONE_ERROR | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --profile Basic-TP/basic01/profile.json --level info child.parent.no-chld-no-par-1.basic01.xa
Loading profile from Basic-TP/basic01/profile.json.
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.00 INFO Basic01 TEST_CASE_START testcase=Basic01
0.07 INFO Basic01 B01_SERVER_ZONE_ERROR ns=ns2.no-chld-no-par-1.basic01.xa/127.12.1.32; query_name="no-chld-no-par-1.basic01.xa"; rrtype=SOA
0.07 INFO Basic01 B01_SERVER_ZONE_ERROR ns=ns2.no-chld-no-par-1.basic01.xa/fda1:b2:c3:0:127:12:1:32; query_name="no-chld-no-par-1.basic01.xa"; rrtype=SOA
0.07 INFO Basic01 B01_SERVER_ZONE_ERROR ns=ns1.no-chld-no-par-1.basic01.xa/127.12.1.31; query_name="no-chld-no-par-1.basic01.xa"; rrtype=SOA
0.07 INFO Basic01 B01_SERVER_ZONE_ERROR ns=ns1.no-chld-no-par-1.basic01.xa/fda1:b2:c3:0:127:12:1:31; query_name="no-chld-no-par-1.basic01.xa"; rrtype=SOA
0.07 WARNING Basic01 B01_PARENT_NOT_FOUND
0.07 ERROR Basic01 B01_NO_CHILD domain_child=child.parent.no-chld-no-par-1.basic01.xa; domain_super="parent.no-chld-no-par-1.basic01.xa"
0.07 INFO Basic01 TEST_CASE_END testcase=Basic01
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
CHILD-ALIAS-1 | B01_CHILD_IS_ALIAS, B01_NO_CHILD, B01_PARENT_FOUND | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --profile Basic-TP/basic01/profile.json child.parent.child-alias-1.basic01.xa
Loading profile from Basic-TP/basic01/profile.json.
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.00 INFO Basic01 TEST_CASE_START testcase=Basic01
0.19 INFO Basic01 B01_PARENT_FOUND domain=parent.child-alias-1.basic01.xa; ns_list=ns1.parent.child-alias-1.basic01.xa/127.12.1.41;ns1.parent.child-alias-1.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.child-alias-1.basic01.xa/127.12.1.42;ns2.parent.child-alias-1.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.19 ERROR Basic01 B01_NO_CHILD domain_child=child.parent.child-alias-1.basic01.xa; domain_super="parent.child-alias-1.basic01.xa"
0.19 NOTICE Basic01 B01_CHILD_IS_ALIAS domain_child=child.parent.child-alias-1.basic01.xa; domain_target=sister.parent.child-alias-1.basic01.xa.; ns_list=ns1.parent.child-alias-1.basic01.xa/127.12.1.41;ns1.parent.child-alias-1.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.child-alias-1.basic01.xa/127.12.1.42;ns2.parent.child-alias-1.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.19 INFO Basic01 TEST_CASE_END testcase=Basic01
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
CHILD-ALIAS-2 | B01_CHILD_IS_ALIAS, B01_NO_CHILD, B01_INCONSISTENT_ALIAS, B01_PARENT_FOUND | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --profile Basic-TP/basic01/profile.json child.parent.child-alias-2.basic01.xa
Loading profile from Basic-TP/basic01/profile.json.
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.00 INFO Basic01 TEST_CASE_START testcase=Basic01
0.18 INFO Basic01 B01_PARENT_FOUND domain=parent.child-alias-2.basic01.xa; ns_list=ns1.parent.child-alias-2.basic01.xa/127.12.1.41;ns1.parent.child-alias-2.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.child-alias-2.basic01.xa/127.12.1.42;ns2.parent.child-alias-2.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.18 ERROR Basic01 B01_NO_CHILD domain_child=child.parent.child-alias-2.basic01.xa; domain_super="parent.child-alias-2.basic01.xa"
0.18 NOTICE Basic01 B01_CHILD_IS_ALIAS domain_child=child.parent.child-alias-2.basic01.xa; domain_target=sister.parent.child-alias-2.basic01.xa.; ns_list=ns1.parent.child-alias-2.basic01.xa/127.12.1.41;ns1.parent.child-alias-2.basic01.xa/fda1:b2:c3:0:127:12:1:41
0.18 NOTICE Basic01 B01_CHILD_IS_ALIAS domain_child=child.parent.child-alias-2.basic01.xa; domain_target=brother.parent.child-alias-2.basic01.xa.; ns_list=ns2.parent.child-alias-2.basic01.xa/127.12.1.42;ns2.parent.child-alias-2.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.18 ERROR Basic01 B01_INCONSISTENT_ALIAS domain=child.parent.child-alias-2.basic01.xa
0.18 INFO Basic01 TEST_CASE_END testcase=Basic01
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
ZONE-ERR-GRANDPARENT-1 | B01_CHILD_FOUND, B01_PARENT_FOUND, B01_SERVER_ZONE_ERROR | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --profile Basic-TP/basic01/profile.json child.parent.zone-err-grandparent-1.basic01.xa
Loading profile from Basic-TP/basic01/profile.json.
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.00 INFO Basic01 TEST_CASE_START testcase=Basic01
0.07 INFO Basic01 B01_SERVER_ZONE_ERROR ns=ns1.zone-err-grandparent-1.basic01.xa/127.12.1.31; query_name="zone-err-grandparent-1.basic01.xa"; rrtype=SOA
0.07 INFO Basic01 B01_SERVER_ZONE_ERROR ns=ns1.zone-err-grandparent-1.basic01.xa/fda1:b2:c3:0:127:12:1:31; query_name="zone-err-grandparent-1.basic01.xa"; rrtype=SOA
0.09 INFO Basic01 B01_PARENT_FOUND domain=parent.zone-err-grandparent-1.basic01.xa; ns_list=ns1.parent.zone-err-grandparent-1.basic01.xa/127.12.1.41;ns1.parent.zone-err-grandparent-1.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.zone-err-grandparent-1.basic01.xa/127.12.1.42;ns2.parent.zone-err-grandparent-1.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.09 INFO Basic01 B01_CHILD_FOUND domain=child.parent.zone-err-grandparent-1.basic01.xa
0.09 INFO Basic01 TEST_CASE_END testcase=Basic01
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
ZONE-ERR-GRANDPARENT-2 | B01_CHILD_FOUND, B01_PARENT_FOUND, B01_SERVER_ZONE_ERROR | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --profile Basic-TP/basic01/profile.json child.parent.zone-err-grandparent-2.basic01.xa
Loading profile from Basic-TP/basic01/profile.json.
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.00 INFO Basic01 TEST_CASE_START testcase=Basic01
0.12 INFO Basic01 B01_SERVER_ZONE_ERROR ns=ns2.zone-err-grandparent-2.basic01.xa/127.12.1.32; query_name="zone-err-grandparent-2.basic01.xa"; rrtype=NS
0.12 INFO Basic01 B01_SERVER_ZONE_ERROR ns=ns2.zone-err-grandparent-2.basic01.xa/fda1:b2:c3:0:127:12:1:32; query_name="zone-err-grandparent-2.basic01.xa"; rrtype=NS
0.15 INFO Basic01 B01_PARENT_FOUND domain=parent.zone-err-grandparent-2.basic01.xa; ns_list=ns1.parent.zone-err-grandparent-2.basic01.xa/127.12.1.41;ns1.parent.zone-err-grandparent-2.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.zone-err-grandparent-2.basic01.xa/127.12.1.42;ns2.parent.zone-err-grandparent-2.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.15 INFO Basic01 B01_CHILD_FOUND domain=child.parent.zone-err-grandparent-2.basic01.xa
0.15 INFO Basic01 TEST_CASE_END testcase=Basic01
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
ZONE-ERR-GRANDPARENT-3 | B01_CHILD_FOUND, B01_PARENT_FOUND, B01_SERVER_ZONE_ERROR | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --profile Basic-TP/basic01/profile.json child.parent.zone-err-grandparent-3.basic01.xa
Loading profile from Basic-TP/basic01/profile.json.
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.00 INFO Basic01 TEST_CASE_START testcase=Basic01
0.07 INFO Basic01 B01_SERVER_ZONE_ERROR ns=ns2.zone-err-grandparent-3.basic01.xa/127.12.1.32; query_name="zone-err-grandparent-3.basic01.xa"; rrtype=NS
0.07 INFO Basic01 B01_SERVER_ZONE_ERROR ns=ns2.zone-err-grandparent-3.basic01.xa/fda1:b2:c3:0:127:12:1:32; query_name="zone-err-grandparent-3.basic01.xa"; rrtype=NS
0.09 INFO Basic01 B01_PARENT_FOUND domain=parent.zone-err-grandparent-3.basic01.xa; ns_list=ns1.parent.zone-err-grandparent-3.basic01.xa/127.12.1.41;ns1.parent.zone-err-grandparent-3.basic01.xa/fda1:b2:c3:0:127:12:1:41;ns2.parent.zone-err-grandparent-3.basic01.xa/127.12.1.42;ns2.parent.zone-err-grandparent-3.basic01.xa/fda1:b2:c3:0:127:12:1:42
0.09 INFO Basic01 B01_CHILD_FOUND domain=child.parent.zone-err-grandparent-3.basic01.xa
0.09 INFO Basic01 TEST_CASE_END testcase=Basic01
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:-------------------------|:----------------------------------------------------------------------------------|:----------------------
ROOT-ZONE | B01_CHILD_FOUND, B01_ROOT_HAS_NO_PARENT | 2)
```
$ zonemaster-cli --raw --show-testcase --test basic01 --hints COMMON/hintfile --level info --profile Basic-TP/basic01/profile.json .
Loading profile from Basic-TP/basic01/profile.json.
0.00 INFO Unspecified GLOBAL_VERSION version=v5.0.0
0.00 INFO Basic01 TEST_CASE_START testcase=Basic01
0.00 INFO Basic01 B01_CHILD_FOUND domain=.
0.00 INFO Basic01 B01_ROOT_HAS_NO_PARENT
0.00 INFO Basic01 TEST_CASE_END testcase=Basic01
```
--> OK

View File

@@ -0,0 +1,938 @@
# basic01.xa
basic01.xa:53 {
bind 127.12.1.21 # ns1
bind fda1:b2:c3:0:127:12:1:21 # ns1
bind 127.12.1.22 # ns2
bind fda1:b2:c3:0:127:12:1:22 # ns2
log
file Basic-TP/basic01/basic01.xa.zone basic01.xa
}
### GOOD-1
# good-1.basic01.xa.
good-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone good-1.basic01.xa
}
# parent.good-1.basic01.xa.
parent.good-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.good-1.basic01.xa
}
# child.parent.good-1.basic01.xa is not hosted.
### GOOD-MIXED-1
# good-mixed-1.basic01.xa.
good-mixed-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.34 # ns4
bind fda1:b2:c3:0:127:12:1:34 # ns4
log
file Basic-TP/basic01/good-mixed-1.basic01.xa.zone good-mixed-1.basic01.xa
}
# parent.good-mixed-1.basic01.xa.
parent.good-mixed-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
bind 127.12.1.34 # ns4.good-mixed-1.basic01.xa
bind fda1:b2:c3:0:127:12:1:34 # ns4.good-mixed-1.basic01.xa
log
file Basic-TP/basic01/parent.good-mixed-1.basic01.xa.zone parent.good-mixed-1.basic01.xa
}
# child.parent.good-mixed-1.basic01.xa is not hosted.
### GOOD-MIXED-2
# good-mixed-2.basic01.xa.
good-mixed-2.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/good-mixed-2.basic01.xa.zone good-mixed-2.basic01.xa
}
# parent.good-mixed-2.basic01.xa.
parent.good-mixed-2.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.44 # ns4
bind fda1:b2:c3:0:127:12:1:44 # ns4
log
file Basic-TP/basic01/parent.good-mixed-2.basic01.xa.zone parent.good-mixed-2.basic01.xa
}
# child.parent.good-mixed-2.basic01.xa.
child.parent.good-mixed-2.basic01.xa:53 {
bind 127.12.1.51 # ns1
bind fda1:b2:c3:0:127:12:1:51 # ns1
bind 127.12.1.52 # ns2
bind fda1:b2:c3:0:127:12:1:52 # ns2
bind 127.12.1.44 # ns4.parent.good-mixed-2.basic01.xa.
bind fda1:b2:c3:0:127:12:1:44 # ns4.parent.good-mixed-2.basic01.xa.
log
file Basic-TP/basic01/child.parent.good-mixed-2.basic01.xa.zone child.parent.good-mixed-2.basic01.xa
}
### GOOD-PARENT-HOST-1
# good-parent-host-1.basic01.xa.
good-parent-host-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone good-parent-host-1.basic01.xa
}
# parent.good-parent-host-1.basic01.xa.
parent.good-parent-host-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.good-parent-host-1.basic01.xa.zone parent.good-parent-host-1.basic01.xa
}
# child.parent.good-parent-host-1.basic01.xa.
child.parent.good-parent-host-1.basic01.xa:53 {
bind 127.12.1.41 # ns1.parent.good-parent-host-1.basic01.xa.
bind fda1:b2:c3:0:127:12:1:41 # ns1.parent.good-parent-host-1.basic01.xa.
bind 127.12.1.42 # ns2.parent.good-parent-host-1.basic01.xa.
bind fda1:b2:c3:0:127:12:1:42 # ns2.parent.good-parent-host-1.basic01.xa.
log
file Basic-TP/basic01/child.parent.good-parent-host-1.basic01.xa.zone child.parent.good-parent-host-1.basic01.xa
}
### GOOD-GRANDPARENT-HOST-1
# good-grandparent-host-1.basic01.xa.
good-grandparent-host-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone good-grandparent-host-1.basic01.xa
}
# parent.good-grandparent-host-1.basic01.xa
parent.good-grandparent-host-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.good-grandparent-host-1.basic01.xa.zone parent.good-grandparent-host-1.basic01.xa
}
# child.parent.good-grandparent-host-1.basic01.xa.
child.parent.good-grandparent-host-1.basic01.xa:53 {
bind 127.12.1.31 # ns1.good-grandparent-host-1.basic01.xa
bind fda1:b2:c3:0:127:12:1:31 # ns1.good-grandparent-host-1.basic01.xa
bind 127.12.1.32 # ns2.good-grandparent-host-1.basic01.xa
bind fda1:b2:c3:0:127:12:1:32 # ns2.good-grandparent-host-1.basic01.xa
log
file Basic-TP/basic01/child.parent.good-grandparent-host-1.basic01.xa.zone child.parent.good-grandparent-host-1.basic01.xa
}
### GOOD-UNDEL-1
# good-undel-1.basic01.xa.
good-undel-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone good-undel-1.basic01.xa
}
# parent.good-undel-1.basic01.xa.
parent.good-undel-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.good-undel-1.basic01.xa
}
# child.parent.good-undel-1.basic01.xa is not hosted.
### GOOD-MIXED-UNDEL-1
# good-mixed-undel-1.basic01.xa.
good-mixed-undel-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.34 # ns4
bind fda1:b2:c3:0:127:12:1:34 # ns4
log
file Basic-TP/basic01/good-mixed-undel-1.basic01.xa.zone good-mixed-undel-1.basic01.xa
}
# parent.good-mixed-undel-1.basic01.xa.
parent.good-mixed-undel-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
bind 127.12.1.34 # ns4.good-mixed-undel-1.basic01.xa
bind fda1:b2:c3:0:127:12:1:34 # ns4.good-mixed-undel-1.basic01.xa
log
file Basic-TP/basic01/parent.good-mixed-undel-1.basic01.xa.zone parent.good-mixed-undel-1.basic01.xa
}
# child.parent.good-mixed-undel-1.basic01.xa is not hosted.
### GOOD-MIXED-UNDEL-2
# good-mixed-undel-2.basic01.xa.
good-mixed-undel-2.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/good-mixed-undel-2.basic01.xa.zone good-mixed-undel-2.basic01.xa
}
# parent.good-mixed-undel-2.basic01.xa.
parent.good-mixed-undel-2.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.46 # ns6
bind fda1:b2:c3:0:127:12:1:46 # ns6
log
file Basic-TP/basic01/parent.good-mixed-undel-2.basic01.xa.zone parent.good-mixed-undel-2.basic01.xa
}
# child.parent.good-mixed-undel-2.basic01.xa.
child.parent.good-mixed-undel-2.basic01.xa:53 {
bind 127.12.1.51 # ns1
bind fda1:b2:c3:0:127:12:1:51 # ns1
bind 127.12.1.52 # ns2
bind fda1:b2:c3:0:127:12:1:52 # ns2
bind 127.12.1.46 # ns6.parent.good-mixed-undel-2.basic01.xa.
bind fda1:b2:c3:0:127:12:1:46 # ns6.parent.good-mixed-undel-2.basic01.xa.
log
file Basic-TP/basic01/child.parent.good-mixed-undel-2.basic01.xa.zone child.parent.good-mixed-undel-2.basic01.xa
}
### NO-DEL-UNDEL-1
# no-del-undel-1.basic01.xa.
no-del-undel-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone no-del-undel-1.basic01.xa
}
# parent.no-del-undel-1.basic01.xa.
parent.no-del-undel-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.no-del-undel-1.basic01.xa
template IN ANY child.parent.no-del-undel-1.basic01.xa {
rcode NXDOMAIN
authority "parent.no-del-undel-1.basic01.xa. 3600 IN SOA ns1.parent.no-del-undel-1.basic01.xa. admin. 2024041902 21600 3600 604800 86400"
}
}
# child.parent.no-del-undel-1.basic01.xa is not hosted.
### NO-DEL-MIXED-UNDEL-1
# no-del-mixed-undel-1.basic01.xa.
no-del-mixed-undel-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.34 # ns4
bind fda1:b2:c3:0:127:12:1:34 # ns4
log
file Basic-TP/basic01/no-del-mixed-undel-1.basic01.xa.zone no-del-mixed-undel-1.basic01.xa
}
# parent.no-del-mixed-undel-1.basic01.xa.
parent.no-del-mixed-undel-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
bind 127.12.1.34 # ns4.no-del-mixed-undel-1.basic01.xa
bind fda1:b2:c3:0:127:12:1:34 # ns4.no-del-mixed-undel-1.basic01.xa
log
file Basic-TP/basic01/parent.no-del-mixed-undel-1.basic01.xa.zone parent.no-del-mixed-undel-1.basic01.xa
}
# child.parent.no-del-mixed-undel-1.basic01.xa is not hosted.
### NO-DEL-MIXED-UNDEL-2
# no-del-mixed-undel-2.basic01.xa.
no-del-mixed-undel-2.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.34 # ns4
bind fda1:b2:c3:0:127:12:1:34 # ns4
log
file Basic-TP/basic01/no-del-mixed-undel-2.basic01.xa.zone no-del-mixed-undel-2.basic01.xa
}
# parent.y.z.no-del-mixed-undel-2.basic01.xa.
parent.y.z.no-del-mixed-undel-2.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
bind 127.12.1.34 # ns4.no-del-mixed-undel-2.basic01.xa.
bind fda1:b2:c3:0:127:12:1:34 # ns4.no-del-mixed-undel-2.basic01.xa.
log
file Basic-TP/basic01/parent.y.z.no-del-mixed-undel-2.basic01.xa.zone parent.y.z.no-del-mixed-undel-2.basic01.xa
}
# child.w.x.parent.y.z.no-del-mixed-undel-2.basic01.xa is not hosted.
### NO-CHILD-1
# no-child-1.basic01.xa.
no-child-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone no-child-1.basic01.xa.
}
# parent.no-child-1.basic01.xa.
parent.no-child-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.no-child-1.basic01.xa
template IN ANY child.parent.no-child-1.basic01.xa {
rcode NXDOMAIN
authority "parent.no-child-1.basic01.xa. 3600 IN SOA ns1.parent.no-child-1.basic01.xa. admin. 2024041902 21600 3600 604800 86400"
}
}
# child.parent.no-child-1.basic01.xa does not exist in any way.
### NO-CHILD-2
# no-child-2.basic01.xa.
no-child-2.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone no-child-2.basic01.xa.
}
# parent.no-child-2.basic01.xa.
parent.no-child-2.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.no-child-2.basic01.xa.zone parent.no-child-2.basic01.xa
}
# child.parent.no-child-2.basic01.xa does not exist in any way.
### NO-CHLD-PAR-UNDETER-1
# no-chld-par-undeter-1.basic01.xa (ns1)
no-chld-par-undeter-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
log
file Basic-TP/basic01/COMMON.basic01.xa.zone no-chld-par-undeter-1.basic01.xa.
template IN ANY parent.no-chld-par-undeter-1.basic01.xa {
rcode NXDOMAIN
authority "no-chld-par-undeter-1.basic01.xa. 3600 IN SOA ns1.no-chld-par-undeter-1.basic01.xa. admin. 2024041902 21600 3600 604800 86400"
}
}
# no-chld-par-undeter-1.basic01.xa (ns2)
no-chld-par-undeter-1.basic01.xa:53 {
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone no-chld-par-undeter-1.basic01.xa.
}
# parent.no-chld-par-undeter-1.basic01.xa.
parent.no-chld-par-undeter-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.no-chld-par-undeter-1.basic01.xa
template IN ANY child.parent.no-chld-par-undeter-1.basic01.xa {
rcode NXDOMAIN
authority "parent.no-chld-par-undeter-1.basic01.xa. 3600 IN SOA ns1.parent.no-chld-par-undeter-1.basic01.xa. admin. 2024041902 21600 3600 604800 86400"
}
}
# child.parent.no-chld-par-undeter-1.basic01.xa does not exist in any way.
### CHLD-FOUND-PAR-UNDET-1
# chld-found-par-undet-1.basic01.xa (ns1)
chld-found-par-undet-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
log
file Basic-TP/basic01/COMMON-DEL-CHILD.basic01.xa.zone chld-found-par-undet-1.basic01.xa.
}
# chld-found-par-undet-1.basic01.xa (ns2)
chld-found-par-undet-1.basic01.xa:53 {
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone chld-found-par-undet-1.basic01.xa.
}
# parent.chld-found-par-undet-1.basic01.xa.
parent.chld-found-par-undet-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.chld-found-par-undet-1.basic01.xa
}
# child.parent.chld-found-par-undet-1.basic01.xa does not exist as zone.
### CHLD-FOUND-INCONSIST-1
# chld-found-inconsist-1.basic01.xa
chld-found-inconsist-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone chld-found-inconsist-1.basic01.xa.
}
# parent.chld-found-inconsist-1.basic01.xa. (ns1)
parent.chld-found-inconsist-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.chld-found-inconsist-1.basic01.xa
}
# parent.chld-found-inconsist-1.basic01.xa. (ns2)
parent.chld-found-inconsist-1.basic01.xa:53 {
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.chld-found-inconsist-1.basic01.xa
template IN ANY child.parent.chld-found-inconsist-1.basic01.xa {
rcode NXDOMAIN
authority "parent.chld-found-inconsist-1.basic01.xa. 3600 IN SOA ns1.parent.chld-found-inconsist-1.basic01.xa. admin. 2024041902 21600 3600 604800 86400"
}
}
### CHLD-FOUND-INCONSIST-2
# chld-found-inconsist-2.basic01.xa
chld-found-inconsist-2.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone chld-found-inconsist-2.basic01.xa.
}
# parent.chld-found-inconsist-2.basic01.xa. (ns1)
parent.chld-found-inconsist-2.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.chld-found-inconsist-2.basic01.xa
}
# parent.chld-found-inconsist-2.basic01.xa. (ns2)
parent.chld-found-inconsist-2.basic01.xa:53 {
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/ns2.parent.chld-found-inconsist-2.basic01.xa.zone parent.chld-found-inconsist-2.basic01.xa
}
### CHLD-FOUND-INCONSIST-3
# chld-found-inconsist-3.basic01.xa
chld-found-inconsist-3.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone chld-found-inconsist-3.basic01.xa.
}
# parent.chld-found-inconsist-3.basic01.xa. (ns1)
parent.chld-found-inconsist-3.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.chld-found-inconsist-3.basic01.xa
}
# parent.chld-found-inconsist-3.basic01.xa. (ns2)
parent.chld-found-inconsist-3.basic01.xa:53 {
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/ns2.parent.chld-found-inconsist-3.basic01.xa.zone parent.chld-found-inconsist-3.basic01.xa
}
# child.parent.chld-found-inconsist-3.basic01.xa does not exist.
### CHLD-FOUND-INCONSIST-4
# chld-found-inconsist-4.basic01.xa
chld-found-inconsist-4.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone chld-found-inconsist-4.basic01.xa.
}
# parent.chld-found-inconsist-4.basic01.xa. (ns1)
parent.chld-found-inconsist-4.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.chld-found-inconsist-4.basic01.xa
}
# parent.chld-found-inconsist-4.basic01.xa. (ns2)
parent.chld-found-inconsist-4.basic01.xa:53 {
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/ns2.parent.chld-found-inconsist-4.basic01.xa.zone parent.chld-found-inconsist-4.basic01.xa
}
# child.parent.chld-found-inconsist-4.basic01.xa does not exist.
### CHLD-FOUND-INCONSIST-5
# chld-found-inconsist-5.basic01.xa
chld-found-inconsist-5.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone chld-found-inconsist-5.basic01.xa.
}
# parent.chld-found-inconsist-5.basic01.xa. (ns1)
parent.chld-found-inconsist-5.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.chld-found-inconsist-5.basic01.xa
}
# parent.chld-found-inconsist-5.basic01.xa. (ns2)
parent.chld-found-inconsist-5.basic01.xa:53 {
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/ns2.parent.chld-found-inconsist-5.basic01.xa.zone parent.chld-found-inconsist-5.basic01.xa
}
# child.parent.chld-found-inconsist-5.basic01.xa does not exist.
### CHLD-FOUND-INCONSIST-6
# chld-found-inconsist-6.basic01.xa
chld-found-inconsist-6.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone chld-found-inconsist-6.basic01.xa.
}
# parent.chld-found-inconsist-6.basic01.xa. (ns1)
parent.chld-found-inconsist-6.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
log
file Basic-TP/basic01/ns1.parent.chld-found-inconsist-6.basic01.xa.zone parent.chld-found-inconsist-6.basic01.xa
}
# parent.chld-found-inconsist-6.basic01.xa. (ns2)
parent.chld-found-inconsist-6.basic01.xa:53 {
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone parent.chld-found-inconsist-6.basic01.xa
template IN ANY child.parent.chld-found-inconsist-6.basic01.xa {
rcode NXDOMAIN
authority "parent.chld-found-inconsist-6.basic01.xa. 3600 IN SOA ns1.parent.chld-found-inconsist-6.basic01.xa. admin. 2024041902 21600 3600 604800 86400"
}
}
# child.parent.chld-found-inconsist-6.basic01.xa
child.parent.chld-found-inconsist-6.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.52 # ns2
bind fda1:b2:c3:0:127:12:1:52 # ns2
log
file Basic-TP/basic01/child.parent.chld-found-inconsist-6.basic01.xa.zone child.parent.chld-found-inconsist-6.basic01.xa
}
### CHLD-FOUND-INCONSIST-7
# chld-found-inconsist-7.basic01.xa
chld-found-inconsist-7.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone chld-found-inconsist-7.basic01.xa.
}
# parent.chld-found-inconsist-7.basic01.xa. (ns1)
parent.chld-found-inconsist-7.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
log
file Basic-TP/basic01/ns1.parent.chld-found-inconsist-7.basic01.xa.zone parent.chld-found-inconsist-7.basic01.xa
}
# parent.chld-found-inconsist-7.basic01.xa. (ns2)
parent.chld-found-inconsist-7.basic01.xa:53 {
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/ns2.parent.chld-found-inconsist-7.basic01.xa.zone parent.chld-found-inconsist-7.basic01.xa
}
# child.parent.chld-found-inconsist-7.basic01.xa
child.parent.chld-found-inconsist-7.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.52 # ns2
bind fda1:b2:c3:0:127:12:1:52 # ns2
log
file Basic-TP/basic01/child.parent.chld-found-inconsist-7.basic01.xa.zone child.parent.chld-found-inconsist-7.basic01.xa
}
### CHLD-FOUND-INCONSIST-8
# chld-found-inconsist-8.basic01.xa
chld-found-inconsist-8.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone chld-found-inconsist-8.basic01.xa.
}
# parent.chld-found-inconsist-8.basic01.xa. (ns1)
parent.chld-found-inconsist-8.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
log
file Basic-TP/basic01/ns1.parent.chld-found-inconsist-8.basic01.xa.zone parent.chld-found-inconsist-8.basic01.xa
}
# parent.chld-found-inconsist-8.basic01.xa. (ns2)
parent.chld-found-inconsist-8.basic01.xa:53 {
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/ns2.parent.chld-found-inconsist-8.basic01.xa.zone parent.chld-found-inconsist-8.basic01.xa
}
# child.parent.chld-found-inconsist-8.basic01.xa
child.parent.chld-found-inconsist-8.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.52 # ns2
bind fda1:b2:c3:0:127:12:1:52 # ns2
log
file Basic-TP/basic01/child.parent.chld-found-inconsist-8.basic01.xa.zone child.parent.chld-found-inconsist-8.basic01.xa
}
### CHLD-FOUND-INCONSIST-9
# chld-found-inconsist-9.basic01.xa
chld-found-inconsist-9.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone chld-found-inconsist-9.basic01.xa.
}
# parent.chld-found-inconsist-9.basic01.xa. (ns1)
parent.chld-found-inconsist-9.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
log
file Basic-TP/basic01/ns1.parent.chld-found-inconsist-9.basic01.xa.zone parent.chld-found-inconsist-9.basic01.xa
}
# parent.chld-found-inconsist-9.basic01.xa. (ns2)
parent.chld-found-inconsist-9.basic01.xa:53 {
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/ns2.parent.chld-found-inconsist-9.basic01.xa.zone parent.chld-found-inconsist-9.basic01.xa
}
# child.parent.chld-found-inconsist-9.basic01.xa
child.parent.chld-found-inconsist-9.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.52 # ns2
bind fda1:b2:c3:0:127:12:1:52 # ns2
log
file Basic-TP/basic01/child.parent.chld-found-inconsist-9.basic01.xa.zone child.parent.chld-found-inconsist-9.basic01.xa
}
### CHLD-FOUND-INCONSIST-10
# chld-found-inconsist-10.basic01.xa
chld-found-inconsist-10.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone chld-found-inconsist-10.basic01.xa.
}
# parent.chld-found-inconsist-10.basic01.xa. (ns1)
parent.chld-found-inconsist-10.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
log
file Basic-TP/basic01/ns1.parent.chld-found-inconsist-10.basic01.xa.zone parent.chld-found-inconsist-10.basic01.xa
}
# parent.chld-found-inconsist-10.basic01.xa. (ns2)
parent.chld-found-inconsist-10.basic01.xa:53 {
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/ns2.parent.chld-found-inconsist-10.basic01.xa.zone parent.chld-found-inconsist-10.basic01.xa
}
# child.parent.chld-found-inconsist-10.basic01.xa
child.parent.chld-found-inconsist-10.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.52 # ns2
bind fda1:b2:c3:0:127:12:1:52 # ns2
log
file Basic-TP/basic01/child.parent.chld-found-inconsist-10.basic01.xa.zone child.parent.chld-found-inconsist-10.basic01.xa
}
### NO-DEL-UNDEL-NO-PAR-1
# no-del-undel-no-par-1.basic01.xa
no-del-undel-no-par-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
template IN ANY no-del-undel-no-par-1.basic01.xa {
rcode SERVFAIL
}
}
# No zones at all, grandparent, parent or child.
### NO-DEL-UNDEL-PAR-UND-1
# no-del-undel-par-und-1.basic01.xa
no-del-undel-par-und-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
log
file Basic-TP/basic01/COMMON.basic01.xa.zone no-del-undel-par-und-1.basic01.xa.
template IN ANY parent.no-del-undel-par-und-1.basic01.xa {
rcode NXDOMAIN
authority "no-del-undel-par-und-1.basic01.xa. 3600 IN SOA ns1.no-del-undel-par-und-1.basic01.xa. admin. 2024041902 21600 3600 604800 86400"
}
}
no-del-undel-par-und-1.basic01.xa:53 {
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone no-del-undel-par-und-1.basic01.xa.
}
# parent.no-del-undel-par-und-1.basic01.xa.
parent.no-del-undel-par-und-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.no-del-undel-par-und-1.basic01.xa
template IN ANY child.parent.no-del-undel-par-und-1.basic01.xa {
rcode NXDOMAIN
authority "parent.no-del-undel-par-und-1.basic01.xa. 3600 IN SOA ns1.parent.no-del-undel-par-und-1.basic01.xa. admin. 2024041902 21600 3600 604800 86400"
}
}
### NO-CHLD-NO-PAR-1
# no-chld-no-par-1.basic01.xa
no-chld-no-par-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
template IN ANY no-chld-no-par-1.basic01.xa {
rcode SERVFAIL
}
}
# No zones at all, grandparent, parent or child.
### CHILD-ALIAS-1
# child-alias-1.basic01.xa
child-alias-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone child-alias-1.basic01.xa.
}
# parent.child-alias-1.basic01.xa.
parent.child-alias-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.child-alias-1.basic01.xa.zone parent.child-alias-1.basic01.xa
}
### CHILD-ALIAS-2
# child-alias-2.basic01.xa
child-alias-2.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone child-alias-2.basic01.xa.
}
# parent.child-alias-2.basic01.xa. (ns1)
parent.child-alias-2.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
log
file Basic-TP/basic01/ns1.parent.child-alias-2.basic01.xa.zone parent.child-alias-2.basic01.xa
}
# parent.child-alias-2.basic01.xa. (ns1)
parent.child-alias-2.basic01.xa:53 {
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/ns2.parent.child-alias-2.basic01.xa.zone parent.child-alias-2.basic01.xa
}
### ZONE-ERR-GRANDPARENT-1
# zone-err-grandparent-1.basic01.xa
zone-err-grandparent-1.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
log
file Basic-TP/basic01/COMMON.basic01.xa.zone zone-err-grandparent-1.basic01.xa.
header {
response clear aa
}
}
# zone-err-grandparent-1.basic01.xa
zone-err-grandparent-1.basic01.xa:53 {
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone zone-err-grandparent-1.basic01.xa.
}
# parent.zone-err-grandparent-1.basic01.xa.
parent.zone-err-grandparent-1.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.zone-err-grandparent-1.basic01.xa
}
### ZONE-ERR-GRANDPARENT-2
# zone-err-grandparent-2.basic01.xa
zone-err-grandparent-2.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
log
file Basic-TP/basic01/COMMON.basic01.xa.zone zone-err-grandparent-2.basic01.xa.
}
# zone-err-grandparent-2.basic01.xa
zone-err-grandparent-2.basic01.xa:53 {
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone zone-err-grandparent-2.basic01.xa.
template IN NS zone-err-grandparent-2.basic01.xa {
rcode NOERROR
authority "zone-err-grandparent-2.basic01.xa. 3600 IN SOA ns1.zone-err-grandparent-2.basic01.xa. admin. 2024041902 21600 3600 604800 86400"
}
}
# parent.zone-err-grandparent-2.basic01.xa.
parent.zone-err-grandparent-2.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.zone-err-grandparent-2.basic01.xa
}
### ZONE-ERR-GRANDPARENT-3
# zone-err-grandparent-3.basic01.xa
zone-err-grandparent-3.basic01.xa:53 {
bind 127.12.1.31 # ns1
bind fda1:b2:c3:0:127:12:1:31 # ns1
log
file Basic-TP/basic01/COMMON.basic01.xa.zone zone-err-grandparent-3.basic01.xa.
}
# zone-err-grandparent-3.basic01.xa
zone-err-grandparent-3.basic01.xa:53 {
bind 127.12.1.32 # ns2
bind fda1:b2:c3:0:127:12:1:32 # ns2
log
file Basic-TP/basic01/COMMON.basic01.xa.zone zone-err-grandparent-3.basic01.xa.
template IN NS zone-err-grandparent-3.basic01.xa {
rcode NOERROR
answer "uncle.zone-err-grandparent-3.basic01.xa. 3600 IN NS ns1.zone-err-grandparent-3.basic01.xa."
answer "uncle.zone-err-grandparent-3.basic01.xa. 3600 IN NS ns2.zone-err-grandparent-3.basic01.xa."
additional "ns1.zone-err-grandparent-3.basic01.xa. 3600 IN A 127.12.1.31"
additional "ns1.zone-err-grandparent-3.basic01.xa. 3600 IN AAAA fda1:b2:c3:0:127:12:1:31"
additional "ns2.zone-err-grandparent-3.basic01.xa. 3600 IN A 127.12.1.32"
additional "ns2.zone-err-grandparent-3.basic01.xa. 3600 IN AAAA fda1:b2:c3:0:127:12:1:32"
}
}
# parent.zone-err-grandparent-3.basic01.xa.
parent.zone-err-grandparent-3.basic01.xa:53 {
bind 127.12.1.41 # ns1
bind fda1:b2:c3:0:127:12:1:41 # ns1
bind 127.12.1.42 # ns2
bind fda1:b2:c3:0:127:12:1:42 # ns2
log
file Basic-TP/basic01/parent.COMMON.basic01.xa.zone parent.zone-err-grandparent-3.basic01.xa
}

View File

@@ -0,0 +1,294 @@
$ORIGIN basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024052020 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1
NS ns2
ns1 A 127.12.1.21
ns1 AAAA fda1:b2:c3:0:127:12:1:21
ns2 A 127.12.1.22
ns2 AAAA fda1:b2:c3:0:127:12:1:22
; Name server names that holds no zones. Just provides addresses.
ns1-delegated-child A 127.12.1.31
ns1-delegated-child AAAA fda1:b2:c3:0:127:12:1:31
ns2-delegated-child A 127.12.1.32
ns2-delegated-child AAAA fda1:b2:c3:0:127:12:1:32
ns3-undelegated-child A 127.12.1.33
ns3-undelegated-child AAAA fda1:b2:c3:0:127:12:1:33
ns4-undelegated-child A 127.12.1.34
ns4-undelegated-child AAAA fda1:b2:c3:0:127:12:1:34
$ORIGIN good-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN good-mixed-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns4
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns4 A 127.12.1.34
ns4 AAAA fda1:b2:c3:0:127:12:1:34
$ORIGIN good-mixed-2.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN good-parent-host-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN good-grandparent-host-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN good-undel-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN good-mixed-undel-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns4
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns4 A 127.12.1.34
ns4 AAAA fda1:b2:c3:0:127:12:1:34
$ORIGIN good-mixed-undel-2.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN no-del-undel-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN no-del-mixed-undel-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns4
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns4 A 127.12.1.34
ns4 AAAA fda1:b2:c3:0:127:12:1:34
$ORIGIN no-del-mixed-undel-2.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns4
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns4 A 127.12.1.34
ns4 AAAA fda1:b2:c3:0:127:12:1:34
$ORIGIN no-child-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN no-child-2.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN no-chld-par-undeter-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN chld-found-par-undet-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN chld-found-inconsist-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN chld-found-inconsist-2.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN chld-found-inconsist-3.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN chld-found-inconsist-4.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN chld-found-inconsist-5.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN chld-found-inconsist-6.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN chld-found-inconsist-7.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN chld-found-inconsist-8.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN chld-found-inconsist-9.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN chld-found-inconsist-10.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN no-del-undel-no-par-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN no-del-undel-par-und-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN no-chld-no-par-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN child-alias-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN child-alias-2.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN zone-err-grandparent-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN zone-err-grandparent-2.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN zone-err-grandparent-3.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32

View File

@@ -0,0 +1,17 @@
$ORIGIN child.parent.chld-found-inconsist-10.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024052004 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1.parent.chld-found-inconsist-10.basic01.xa.
@ NS ns2
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,17 @@
$ORIGIN child.parent.chld-found-inconsist-6.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024052000 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1.parent.chld-found-inconsist-6.basic01.xa.
@ NS ns2
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,17 @@
$ORIGIN child.parent.chld-found-inconsist-7.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024052001 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1.parent.chld-found-inconsist-7.basic01.xa.
@ NS ns2
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,17 @@
$ORIGIN child.parent.chld-found-inconsist-8.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024052002 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1.parent.chld-found-inconsist-8.basic01.xa.
@ NS ns2
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,17 @@
$ORIGIN child.parent.chld-found-inconsist-9.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024052003 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1.parent.chld-found-inconsist-9.basic01.xa.
@ NS ns2
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,13 @@
$ORIGIN child.parent.good-grandparent-host-1.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024050801 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1.good-grandparent-host-1.basic01.xa.
@ NS ns2.good-grandparent-host-1.basic01.xa.

View File

@@ -0,0 +1,19 @@
$ORIGIN child.parent.good-mixed-2.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024041903 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
@ NS ns4.parent.good-mixed-2.basic01.xa.
ns1 A 127.12.1.51
ns1 AAAA fda1:b2:c3:0:127:12:1:51
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,20 @@
$ORIGIN child.parent.good-mixed-undel-2.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024041907 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
@ NS ns6.parent.good-mixed-undel-2.basic01.xa.
ns1 A 127.12.1.51
ns1 AAAA fda1:b2:c3:0:127:12:1:51
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,13 @@
$ORIGIN child.parent.good-parent-host-1.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024050703 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1.parent.good-parent-host-1.basic01.xa.
@ NS ns2.parent.good-parent-host-1.basic01.xa.

View File

@@ -0,0 +1,28 @@
$ORIGIN good-mixed-1.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024041902 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns4
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns4 A 127.12.1.34
ns4 AAAA fda1:b2:c3:0:127:12:1:34
$ORIGIN parent.good-mixed-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
@ NS ns4.good-mixed-1.basic01.xa.
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42

View File

@@ -0,0 +1,28 @@
$ORIGIN good-mixed-2.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024041903 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN parent.good-mixed-2.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns4
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns4 A 127.12.1.44
ns4 AAAA fda1:b2:c3:0:127:12:1:44

View File

@@ -0,0 +1,27 @@
$ORIGIN good-mixed-undel-1.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024041902 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns4
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns4 A 127.12.1.34
ns4 AAAA fda1:b2:c3:0:127:12:1:34
$ORIGIN parent.good-mixed-undel-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
@ NS ns4.good-mixed-undel-1.basic01.xa.
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42

View File

@@ -0,0 +1,28 @@
$ORIGIN good-mixed-undel-2.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024041902 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns2 A 127.12.1.32
ns2 AAAA fda1:b2:c3:0:127:12:1:32
$ORIGIN parent.good-mixed-undel-2.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns6
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns6 A 127.12.1.46
ns6 AAAA fda1:b2:c3:0:127:12:1:46

View File

@@ -0,0 +1,30 @@
$ORIGIN no-del-mixed-undel-1.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024041902 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns4
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns4 A 127.12.1.34
ns4 AAAA fda1:b2:c3:0:127:12:1:34
$ORIGIN parent.no-del-mixed-undel-1.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
@ NS ns4.no-del-mixed-undel-1.basic01.xa.
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42

View File

@@ -0,0 +1,31 @@
$ORIGIN no-del-mixed-undel-2.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024041902 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns4
ns1 A 127.12.1.31
ns1 AAAA fda1:b2:c3:0:127:12:1:31
ns4 A 127.12.1.34
ns4 AAAA fda1:b2:c3:0:127:12:1:34
$ORIGIN parent.y.z.no-del-mixed-undel-2.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
@ NS ns4.no-del-mixed-undel-2.basic01.xa.
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42

View File

@@ -0,0 +1,28 @@
$ORIGIN parent.child-alias-2.basic01.xa.
; For ns1. Different version for ns2.
$TTL 3600
@ SOA ns1 admin. (
2024052008 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
child DNAME sister
$ORIGIN sister
@ NS ns1-delegated-child.basic01.xa.
@ NS ns2-delegated-child.basic01.xa.
;EOF

View File

@@ -0,0 +1,30 @@
$ORIGIN parent.chld-found-inconsist-10.basic01.xa.
; For ns1 only. ns2 has a different version of the zone.
$TTL 3600
@ SOA ns1 admin. (
2024052009 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
$ORIGIN child
@ NS ns1.parent.chld-found-inconsist-10.basic01.xa.
@ NS ns2
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,30 @@
$ORIGIN parent.chld-found-inconsist-6.basic01.xa.
; For ns1 only. ns2 has a different version of the zone.
$TTL 3600
@ SOA ns1 admin. (
2024052005 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
$ORIGIN child
@ NS ns1.parent.chld-found-inconsist-6.basic01.xa.
@ NS ns2
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,30 @@
$ORIGIN parent.chld-found-inconsist-7.basic01.xa.
; For ns1 only. ns2 has a different version of the zone.
$TTL 3600
@ SOA ns1 admin. (
2024052006 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
$ORIGIN child
@ NS ns1.parent.chld-found-inconsist-7.basic01.xa.
@ NS ns2
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,30 @@
$ORIGIN parent.chld-found-inconsist-8.basic01.xa.
; For ns1 only. ns2 has a different version of the zone.
$TTL 3600
@ SOA ns1 admin. (
2024052007 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
$ORIGIN child
@ NS ns1.parent.chld-found-inconsist-8.basic01.xa.
@ NS ns2
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,30 @@
$ORIGIN parent.chld-found-inconsist-9.basic01.xa.
; For ns1 only. ns2 has a different version of the zone.
$TTL 3600
@ SOA ns1 admin. (
2024052008 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
$ORIGIN child
@ NS ns1.parent.chld-found-inconsist-9.basic01.xa.
@ NS ns2
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,28 @@
$ORIGIN parent.child-alias-2.basic01.xa.
; For ns2. Different version for ns1.
$TTL 3600
@ SOA ns1 admin. (
2024052010 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
child DNAME brother
$ORIGIN brother
@ NS ns1-delegated-child.basic01.xa.
@ NS ns2-delegated-child.basic01.xa.
;EOF

View File

@@ -0,0 +1,24 @@
$ORIGIN parent.chld-found-inconsist-10.basic01.xa.
; For ns2 only. ns1 has a different version of the zone.
$TTL 3600
@ SOA ns1 admin. (
2024052006 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
child A 127.12.1.32
AAAA fda1:b2:c3:0:127:12:1:32
;EOF

View File

@@ -0,0 +1,25 @@
$ORIGIN parent.chld-found-inconsist-2.basic01.xa.
; For ns2 only. ns1 has a different version of the zone.
$TTL 3600
@ SOA ns1 admin. (
2024052001 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
child CNAME no-child
no-child A 127.12.1.32
AAAA fda1:b2:c3:0:127:12:1:32

View File

@@ -0,0 +1,28 @@
$ORIGIN parent.chld-found-inconsist-3.basic01.xa.
; For ns2 only. ns1 has a different version of the zone.
$TTL 3600
@ SOA ns1 admin. (
2024052002 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
child CNAME sister
$ORIGIN sister
@ NS ns1-delegated-child.basic01.xa.
@ NS ns2-delegated-child.basic01.xa.

View File

@@ -0,0 +1,28 @@
$ORIGIN parent.chld-found-inconsist-4.basic01.xa.
; For ns2 only. ns1 has a different version of the zone.
$TTL 3600
@ SOA ns1 admin. (
2024052004 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
child DNAME sister
$ORIGIN sister
@ NS ns1-delegated-child.basic01.xa.
@ NS ns2-delegated-child.basic01.xa.

View File

@@ -0,0 +1,25 @@
$ORIGIN parent.chld-found-inconsist-5.basic01.xa.
; For ns2 only. ns1 has a different version of the zone.
$TTL 3600
@ SOA ns1 admin. (
2024052003 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
child A 127.12.1.32
AAAA fda1:b2:c3:0:127:12:1:32

View File

@@ -0,0 +1,25 @@
$ORIGIN parent.chld-found-inconsist-7.basic01.xa.
; For ns2 only. ns1 has a different version of the zone.
$TTL 3600
@ SOA ns1 admin. (
2024052002 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
child CNAME no-child
no-child A 127.12.1.32
AAAA fda1:b2:c3:0:127:12:1:32

View File

@@ -0,0 +1,26 @@
$ORIGIN parent.chld-found-inconsist-8.basic01.xa.
; For ns2 only. ns1 has a different version of the zone.
$TTL 3600
@ SOA ns1 admin. (
2024052003 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
child CNAME sister
$ORIGIN sister
@ NS ns1-delegated-child.basic01.xa.
@ NS ns2-delegated-child.basic01.xa.

View File

@@ -0,0 +1,28 @@
$ORIGIN parent.chld-found-inconsist-9.basic01.xa.
; For ns2 only. ns1 has a different version of the zone.
$TTL 3600
@ SOA ns1 admin. (
2024052005 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
child DNAME sister
$ORIGIN sister
@ NS ns1-delegated-child.basic01.xa.
@ NS ns2-delegated-child.basic01.xa.
;EOF

View File

@@ -0,0 +1,32 @@
; Shared zone files for granparent zones when "parent"
; is to be delegated in the standard way or overwridden
; in basic01.cfg file.
;
; * All names must be relative here.
; * $ORIGIN is inherited from the loading of the zone
$TTL 3600
@ SOA ns1 admin. (
2024051900 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
$ORIGIN child ; Must not end with "."
@ NS ns1-delegated-child.basic01.xa. ; Dummy server
@ NS ns2-delegated-child.basic01.xa. ; Dummy server

View File

@@ -0,0 +1,27 @@
$ORIGIN parent.child-alias-1.basic01.xa.
$TTL 3600
@ SOA ns1 admin. (
2024052006 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
child DNAME sister
$ORIGIN sister
@ NS ns1-delegated-child.basic01.xa.
@ NS ns2-delegated-child.basic01.xa.
;EOF

View File

@@ -0,0 +1,24 @@
$ORIGIN parent.good-grandparent-host-1.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024050703 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
$ORIGIN child.parent.good-grandparent-host-1.basic01.xa. ; Must end with "."
@ NS ns1.good-grandparent-host-1.basic01.xa.
@ NS ns2.good-grandparent-host-1.basic01.xa.

View File

@@ -0,0 +1,24 @@
$ORIGIN parent.good-mixed-1.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024050500 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
@ NS ns4.good-mixed-1.basic01.xa.
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
$ORIGIN child.parent.good-mixed-1.basic01.xa. ; Must end with "."
@ NS ns1-delegated-child.basic01.xa. ; Dummy server
@ NS ns2-delegated-child.basic01.xa. ; Dummy server

View File

@@ -0,0 +1,30 @@
$ORIGIN parent.good-mixed-2.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024041906 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns4
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns4 A 127.12.1.44
ns4 AAAA fda1:b2:c3:0:127:12:1:44
$ORIGIN child.parent.good-mixed-2.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
@ NS ns4.parent.good-mixed-2.basic01.xa.
ns1 A 127.12.1.51
ns1 AAAA fda1:b2:c3:0:127:12:1:51
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,24 @@
$ORIGIN parent.good-mixed-undel-1.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024050600 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
@ NS ns4.good-mixed-undel-1.basic01.xa.
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
$ORIGIN child.parent.good-mixed-undel-1.basic01.xa. ; Must end with "."
@ NS ns1-delegated-child.basic01.xa. ; Dummy server
@ NS ns2-delegated-child.basic01.xa. ; Dummy server

View File

@@ -0,0 +1,30 @@
$ORIGIN parent.good-mixed-undel-2.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024041908 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns6
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns6 A 127.12.1.46
ns6 AAAA fda1:b2:c3:0:127:12:1:46
$ORIGIN child.parent.good-mixed-undel-2.basic01.xa. ; Must end with "."
@ NS ns1
@ NS ns2
@ NS ns6.parent.good-mixed-undel-2.basic01.xa.
ns1 A 127.12.1.51
ns1 AAAA fda1:b2:c3:0:127:12:1:51
ns2 A 127.12.1.52
ns2 AAAA fda1:b2:c3:0:127:12:1:52

View File

@@ -0,0 +1,24 @@
$ORIGIN parent.good-parent-host-1.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024050701 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
$ORIGIN child.parent.good-parent-host-1.basic01.xa. ; Must end with "."
@ NS ns1.parent.good-parent-host-1.basic01.xa.
@ NS ns2.parent.good-parent-host-1.basic01.xa.

View File

@@ -0,0 +1,22 @@
$ORIGIN parent.no-child-2.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024051900 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
$ORIGIN child.parent.no-child-2.basic01.xa. ; Must end with "."
; No delegation of child.
@ TXT 'No delegation'

View File

@@ -0,0 +1,21 @@
$ORIGIN parent.no-del-mixed-undel-1.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024041906 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
@ NS ns4.no-del-mixed-undel-1.basic01.xa.
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
; No delegation of child. Tested as undelegated.

View File

@@ -0,0 +1,20 @@
$ORIGIN parent.y.z.no-del-mixed-undel-2.basic01.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024041907 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
@ NS ns4.no-del-mixed-undel-2.basic01.xa.
ns1 A 127.12.1.41
ns1 AAAA fda1:b2:c3:0:127:12:1:41
ns2 A 127.12.1.42
ns2 AAAA fda1:b2:c3:0:127:12:1:42
; No delegation of child.w.x. Tested as undelegated.

View File

@@ -0,0 +1,80 @@
{
"test_levels" : {
"BASIC" : {
"A_QUERY_NO_RESPONSES" : "INFO",
"B01_CHILD_IS_ALIAS" : "NOTICE",
"B01_CHILD_FOUND" : "INFO",
"B01_INCONSISTENT_ALIAS" : "ERROR",
"B01_INCONSISTENT_DELEGATION" : "ERROR",
"B01_NO_CHILD" : "ERROR",
"B01_PARENT_DISREGARDED" : "INFO",
"B01_PARENT_FOUND" : "INFO",
"B01_PARENT_NOT_FOUND" : "WARNING",
"B01_PARENT_UNDETERMINED" : "WARNING",
"B01_ROOT_HAS_NO_PARENT" : "INFO",
"B01_SERVER_ZONE_ERROR" : "INFO",
"B02_AUTH_RESPONSE_SOA" : "INFO",
"B02_NO_DELEGATION" : "CRITICAL",
"B02_NO_WORKING_NS" : "CRITICAL",
"B02_NS_BROKEN" : "ERROR",
"B02_NS_NOT_AUTH" : "ERROR",
"B02_NS_NO_IP_ADDR" : "ERROR",
"B02_NS_NO_RESPONSE" : "WARNING",
"B02_UNEXPECTED_RCODE" : "ERROR",
"DOMAIN_NAME_LABEL_TOO_LONG" : "CRITICAL",
"DOMAIN_NAME_TOO_LONG" : "CRITICAL",
"DOMAIN_NAME_ZERO_LENGTH_LABEL" : "CRITICAL",
"HAS_A_RECORDS" : "ERROR",
"HAS_NAMESERVER_NO_WWW_A_TEST" : "INFO",
"IPV4_DISABLED" : "DEBUG",
"IPV4_ENABLED" : "DEBUG",
"IPV6_DISABLED" : "DEBUG",
"IPV6_ENABLED" : "DEBUG",
"TEST_CASE_END" : "INFO",
"TEST_CASE_START" : "INFO"
},
"SYSTEM" : {
"CACHE_CREATED" : "DEBUG2",
"CACHE_FETCHED" : "DEBUG2",
"CACHED_RETURN" : "DEBUG3",
"CANNOT_CONTINUE" : "CRITICAL",
"DEPENDENCY_VERSION" : "DEBUG",
"EMPTY_RETURN" : "DEBUG3",
"EXTERNAL_RESPONSE" : "DEBUG3",
"FAKE_DELEGATION_ADDED" : "DEBUG2",
"FAKE_DELEGATION_IN_ZONE_NO_IP" : "ERROR",
"FAKE_DELEGATION_NO_IP" : "ERROR",
"FAKE_DELEGATION_RETURNED" : "DEBUG2",
"FAKE_DELEGATION_TO_SELF" : "DEBUG2",
"FAKE_DS_ADDED" : "DEBUG2",
"FAKE_DS_RETURNED" : "DEBUG2",
"FAKE_PACKET_RETURNED" : "DEBUG3",
"GLOBAL_VERSION" : "INFO",
"IPV4_BLOCKED" : "DEBUG2",
"IPV6_BLOCKED" : "DEBUG2",
"IS_BLACKLISTED" : "DEBUG",
"IS_REDIRECT" : "DEBUG2",
"LOGGER_CALLBACK_ERROR" : "DEBUG",
"LOOKUP_ERROR" : "DEBUG",
"MODULE_ERROR" : "CRITICAL",
"MODULE_VERSION" : "DEBUG",
"MODULE_END" : "DEBUG",
"NO_NETWORK": "CRITICAL",
"NO_SUCH_NAME" : "DEBUG2",
"NO_SUCH_RECORD" : "DEBUG2",
"NS_CREATED" : "DEBUG2",
"PACKET_BIG" : "DEBUG",
"QUERY" : "DEBUG2",
"RECURSE" : "DEBUG2",
"RECURSE_QUERY" : "DEBUG2",
"RESTORED_NS_CACHE" : "DEBUG2",
"SAVED_NS_CACHE" : "DEBUG2",
"SKIP_IPV4_DISABLED": "DEBUG",
"SKIP_IPV6_DISABLED": "DEBUG",
"START_TIME": "DEBUG",
"TEST_TARGET": "DEBUG",
"UNKNOWN_METHOD" : "CRITICAL",
"UNKNOWN_MODULE" : "CRITICAL"
}
}
}

View File

@@ -0,0 +1,26 @@
; $ORIGIN not set.
; This zone file is used by several zones, delegated or undelegated, where
; ns1 and ns2 in-bailiwick name servers are used with default IP addresses.
$TTL 3600
; All names must be relative
@ SOA ns1 admin. (
2025040700 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.2.31
ns1 AAAA fda1:b2:c3:0:127:12:2:31
ns2 A 127.12.2.32
ns2 AAAA fda1:b2:c3:0:127:12:2:32
; EOF

View File

@@ -0,0 +1,26 @@
; $ORIGIN not set.
; This zone file is used by several zones, delegated or undelegated, where
; ns3 and ns4 in-bailiwick name servers are used with default IP addresses.
$TTL 3600
; All names must be relative
@ SOA ns1 admin. (
2025040703 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns3
@ NS ns4
ns3 A 127.12.2.33
ns3 AAAA fda1:b2:c3:0:127:12:2:33
ns4 A 127.12.2.34
ns5 AAAA fda1:b2:c3:0:127:12:2:34
; EOF

View File

@@ -0,0 +1,13 @@
[This directory](.), i.e. the same directory as this README file, holds zone
files and configuration files to implement the test zones for the scenarios
defined in [Basic02 test scenario specification].
For these test zones the following files are found in [This directory](.):
* Zone files for `basic02.xa` and other related zones.
* CoreDNS configuration file
* Zone file and hint file for local root zone.
* Output from `zonemaster-cli` on all test scenarios in
[test-zones-output.md](test-zones-output.md).
[Basic02 test scenario specification]: ../../../docs/public/specifications/test-zones/Basic-TP/basic02.md

View File

@@ -0,0 +1,422 @@
# 127.12.2.0/24 | Basic02 scenarios |
# 127.12.2.21 | ns1.basic02.xa |
# 127.12.2.22 | ns2.basic02.xa |
# 127.12.2.23 | root-ns1.xa |
# 127.12.2.24 | root-ns1.xa |
# 127.12.2.25 | ns1.basic02.xa |
# 127.12.2.26 | ns2.basic02.xa |
# 127.12.2.31 | ns1 child zone |
# 127.12.2.32 | ns2 child zone |
# 127.12.2.33 | ns3 child zone |
# 127.12.2.34 | ns4 child zone |
# 127.12.2.53 | resolver with test case local hint |
## root
.:53 {
bind 127.12.2.23 # ns1
bind fda1:b2:c3:0:127:12:2:23 # ns1
bind 127.12.2.24 # ns2
bind fda1:b2:c3:0:127:12:2:24 # ns2
log
file Basic-TP/basic02/root-zone.zone .
}
# Resolver using test case local root
. {
bind 127.12.2.53
unbound {
option root-hints Basic-TP/basic02/hintfile.zone
}
log
}
basic02.xa:53 {
bind 127.12.2.21 # ns1
bind fda1:b2:c3:0:127:12:2:21 # ns1
bind 127.12.2.22 # ns2
bind fda1:b2:c3:0:127:12:2:22 # ns2
log
file Basic-TP/basic02/basic02.xa.zone basic02.xa
}
basic02.xb:53 { # xb
bind 127.12.2.25 # ns1
bind fda1:b2:c3:0:127:12:2:25 # ns1
bind 127.12.2.26 # ns2
bind fda1:b2:c3:0:127:12:2:26 # ns2
log
file Basic-TP/basic02/basic02.xb.zone basic02.xb
}
### Child zones
good-1.basic02.xa:53 {
bind 127.12.2.31 # ns1
bind fda1:b2:c3:0:127:12:2:31 # ns1
bind 127.12.2.32 # ns2
bind fda1:b2:c3:0:127:12:2:32 # ns2
log
file Basic-TP/basic02/CHILD-ns1-ns2-IB.basic02.xa.zone good-1.basic02.xa
}
good-2.basic02.xa:53 {
bind 127.12.2.31 # ns1.good-2.basic02.xb.
bind fda1:b2:c3:0:127:12:2:31 # ns1.good-2.basic02.xb.
bind 127.12.2.32 # ns2.good-2.basic02.xb.
bind fda1:b2:c3:0:127:12:2:32 # ns2.good-2.basic02.xb.
log
file Basic-TP/basic02/good-2.basic02.xa.zone good-2.basic02.xa
}
good-undel-1.basic02.xa:53 {
# Undelegated
bind 127.12.2.31 # ns1
bind fda1:b2:c3:0:127:12:2:31 # ns1
bind 127.12.2.32 # ns2
bind fda1:b2:c3:0:127:12:2:32 # ns2
log
file Basic-TP/basic02/CHILD-ns1-ns2-IB.basic02.xa.zone good-undel-1.basic02.xa
}
good-undel-2.basic02.xa:53 {
# Undelegated
bind 127.12.2.31 # ns1.good-undel-2.basic02.xb.
bind fda1:b2:c3:0:127:12:2:31 # ns1.good-undel-2.basic02.xb.
bind 127.12.2.32 # ns2.good-undel-2.basic02.xb.
bind fda1:b2:c3:0:127:12:2:32 # ns2.good-undel-2.basic02.xb.
log
file Basic-TP/basic02/good-undel-2.basic02.xa.zone good-undel-2.basic02.xa
}
good-undel-3.basic02.xa:53 {
# Delegated
bind 127.12.2.31 # ns1
bind fda1:b2:c3:0:127:12:2:31 # ns1
bind 127.12.2.32 # ns2
bind fda1:b2:c3:0:127:12:2:32 # ns2
log
acl good-undel-3.basic02.xa {
drop
}
}
good-undel-3.basic02.xa:53 {
# Undelegated
bind 127.12.2.33 # ns3.good-undel-3.basic02.xb.
bind fda1:b2:c3:0:127:12:2:33 # ns3.good-undel-3.basic02.xb.
bind 127.12.2.34 # ns4.good-undel-3.basic02.xb.
bind fda1:b2:c3:0:127:12:2:34 # ns4.good-undel-3.basic02.xb.
log
file Basic-TP/basic02/good-undel-3.basic02.xa.zone good-undel-3.basic02.xa
}
# good-undel-4.basic02.xa, delegated IB without glue
#
good-undel-4.basic02.xa:53 {
# Undelegated
bind 127.12.2.31 # ns1.good-undel-4.basic02.xb.
bind fda1:b2:c3:0:127:12:2:31 # ns1.good-undel-4.basic02.xb.
bind 127.12.2.32 # ns2.good-undel-4.basic02.xb.
bind fda1:b2:c3:0:127:12:2:32 # ns2.good-undel-4.basic02.xb.
log
file Basic-TP/basic02/good-undel-4.basic02.xa.zone good-undel-4.basic02.xa
}
# good-undel-5.basic02.xa, delegated IB without glue
#
good-undel-5.basic02.xa:53 {
# Undelegated
bind 127.12.2.31 # ns1
bind fda1:b2:c3:0:127:12:2:31 # ns1
bind 127.12.2.32 # ns2
bind fda1:b2:c3:0:127:12:2:32 # ns2
log
file Basic-TP/basic02/CHILD-ns1-ns2-IB.basic02.xa.zone good-undel-5.basic02.xa
}
good-undel-6.basic02.xa:53 {
# Delegated
bind 127.12.2.31 # ns1.good-undel-6.basic02.xb.
bind fda1:b2:c3:0:127:12:2:31 # ns1.good-undel-6.basic02.xb.
bind 127.12.2.32 # ns2.good-undel-6.basic02.xb.
bind fda1:b2:c3:0:127:12:2:32 # ns2.good-undel-6.basic02.xb.
log
acl good-undel-6.basic02.xa {
drop
}
}
good-undel-6.basic02.xa:53 {
# Undelegated
bind 127.12.2.33 # ns3
bind fda1:b2:c3:0:127:12:2:33 # ns3
bind 127.12.2.34 # ns4
bind fda1:b2:c3:0:127:12:2:34 # ns4
log
file Basic-TP/basic02/CHILD-ns3-ns4-IB.basic02.xa.zone good-undel-6.basic02.xa
}
# good-undel-7.basic02.xa, delegated OOB with no address records
#
good-undel-7.basic02.xa:53 {
# Undelegated
bind 127.12.2.33 # ns3.good-undel-7.basic02.xb
bind fda1:b2:c3:0:127:12:2:33 # ns3.good-undel-7.basic02.xb
bind 127.12.2.34 # ns4.good-undel-7.basic02.xb
bind fda1:b2:c3:0:127:12:2:34 # ns4.good-undel-7.basic02.xb
log
file Basic-TP/basic02/good-undel-7.basic02.xa.zone good-undel-7.basic02.xa
}
good-undel-8.basic02.xa:53 {
# Delegated
bind 127.12.2.31 # dns1, IP of ns1
bind fda1:b2:c3:0:127:12:2:31 # dns1, IP of ns1
bind 127.12.2.32 # dns2, IP of ns2
bind fda1:b2:c3:0:127:12:2:32 # dns2, IP of ns2
log
acl good-undel-8.basic02.xa {
drop
}
}
good-undel-8.basic02.xa:53 {
# Undelegated
bind 127.12.2.33 # dns1, IP of ns3
bind fda1:b2:c3:0:127:12:2:33 # dns1, IP of ns3
bind 127.12.2.34 # dns2, IP of ns4
bind fda1:b2:c3:0:127:12:2:34 # dns2, IP of ns4
log
file Basic-TP/basic02/good-undel-8.basic02.xa.zone good-undel-8.basic02.xa
}
good-undel-9.basic02.xa:53 {
# Delegated
bind 127.12.2.31 # dns1.good-undel-9.basic02.xb, IP of ns1
bind fda1:b2:c3:0:127:12:2:31 # dns1.good-undel-9.basic02.xb, IP of ns1
bind 127.12.2.32 # dns2.good-undel-9.basic02.xb, IP of ns2
bind fda1:b2:c3:0:127:12:2:32 # dns2.good-undel-9.basic02.xb, IP of ns2
log
acl good-undel-9.basic02.xa {
drop
}
}
good-undel-9.basic02.xa:53 {
# Undelegated
bind 127.12.2.33 # dns1.good-undel-9.basic02.xb, IP of ns3
bind fda1:b2:c3:0:127:12:2:33 # dns1.good-undel-9.basic02.xb, IP of ns3
bind 127.12.2.34 # dns2.good-undel-9.basic02.xb, IP of ns4
bind fda1:b2:c3:0:127:12:2:34 # dns2.good-undel-9.basic02.xb, IP of ns4
log
file Basic-TP/basic02/good-undel-9.basic02.xa.zone good-undel-9.basic02.xa
}
# no-delegation.basic02.xa, not delegated and no zone exists
good-undel-10.basic02.xa:53 {
# Delegated
bind 127.12.2.31 # ns1.good-undel-10.basic02.xb.
bind fda1:b2:c3:0:127:12:2:31 # ns1.good-undel-10.basic02.xb.
log
template IN ANY good-undel-10.basic02.xa {
rcode SERVFAIL
}
}
good-undel-10.basic02.xa:53 {
# Delegated
bind 127.12.2.32 # ns2.good-undel-10.basic02.xb.
bind fda1:b2:c3:0:127:12:2:32 # ns2.good-undel-10.basic02.xb.
log
template IN ANY good-undel-10.basic02.xa {
rcode REFUSED
}
header {
response clear aa
}
}
good-undel-10.basic02.xa:53 {
# Undelegated
bind 127.12.2.33 # ns3.good-undel-10.basic02.xb
bind fda1:b2:c3:0:127:12:2:33 # ns3.good-undel-10.basic02.xb
bind 127.12.2.34 # ns4.good-undel-10.basic02.xb
bind fda1:b2:c3:0:127:12:2:34 # ns4.good-undel-10.basic02.xb
log
file Basic-TP/basic02/good-undel-10.basic02.xa.zone good-undel-10.basic02.xa
}
# good-undel-11.basic02.xa, delegated, cannot be reached.
delegated.good-undel-11.basic02.xb:53 {
# Zone to "hide" the resolution of the NS for the delegated zone
bind 127.12.2.31 # dns1
bind fda1:b2:c3:0:127:12:2:31 # dns1
bind 127.12.2.32 # dns2
bind fda1:b2:c3:0:127:12:2:32 # dns2
log
acl delegated.good-undel-11.basic02.xb {
drop
}
}
good-undel-11.basic02.xa:53 {
# Undelegated
bind 127.12.2.33 # ns3.good-undel-11.basic02.xb
bind fda1:b2:c3:0:127:12:2:33 # ns3.good-undel-11.basic02.xb
bind 127.12.2.34 # ns4.good-undel-11.basic02.xb
bind fda1:b2:c3:0:127:12:2:34 # ns4.good-undel-11.basic02.xb
log
file Basic-TP/basic02/good-undel-11.basic02.xa.zone good-undel-11.basic02.xa
}
mixed-1.basic02.xa:53 {
bind 127.12.2.31 # ns1
bind fda1:b2:c3:0:127:12:2:31 # ns1
log
file Basic-TP/basic02/mixed-1.basic02.xa.zone mixed-1.basic02.xa
}
mixed-1.basic02.xa:53 {
bind 127.12.2.32 # ns2
bind fda1:b2:c3:0:127:12:2:32 # ns2
log
acl mixed-1..basic02.xb {
drop
}
}
mixed-1.basic02.xa:53 {
bind 127.12.2.33 # ns3
bind fda1:b2:c3:0:127:12:2:33 # ns3
log
template IN ANY mixed-1.basic02.xb {
rcode SERVFAIL
}
}
mixed-1.basic02.xa:53 {
bind 127.12.2.34 # ns4
bind fda1:b2:c3:0:127:12:2:34 # ns4
log
file Basic-TP/basic02/mixed-1.basic02.xa.zone mixed-1.basic02.xa
header {
response clear aa
}
}
ns-broken-1.basic02.xa:53 {
bind 127.12.2.31 # ns1
bind fda1:b2:c3:0:127:12:2:31 # ns1
bind 127.12.2.32 # ns2
bind fda1:b2:c3:0:127:12:2:32 # ns2
log
template IN ANY ns-broken-1.basic02.xa {
authority "ns-broken-1.basic02.xa. 3600 IN NS ns1.ns-broken-1.basic02.xa."
authority "ns-broken-1.basic02.xa. 3600 IN NS ns2.ns-broken-1.basic02.xa."
additional "ns1.ns-broken-1.basic02.xa 3600 IN A 127.12.2.31"
additional "ns1.ns-broken-1.basic02.xa 3600 IN AAAA fda1:b2:c3:0:127:12:2:31"
additional "ns2.ns-broken-1.basic02.xa 3600 IN A 127.12.2.32"
additional "ns2.ns-broken-1.basic02.xa 3600 IN AAAA fda1:b2:c3:0:127:12:2:32"
}
header {
response set aa
}
}
ns-not-auth-1.basic02.xa:53 {
bind 127.12.2.31 # ns1
bind fda1:b2:c3:0:127:12:2:31 # ns1
bind 127.12.2.32 # ns2
bind fda1:b2:c3:0:127:12:2:32 # ns2
log
file Basic-TP/basic02/CHILD-ns1-ns2-IB.basic02.xa.zone ns-not-auth-1.basic02.xa
header {
response clear aa
}
}
# ns-no-ip-1.basic02.xa, IB NS, no glue, no zone
# ns-no-ip-2.basic02.xa, OOB NS, no IP for NS, no zone
# ns-no-ip-3.basic02.xa. OOB NS, no NS names, no zone
ns-no-ip-undel-1.basic02.xa:53 {
# Delegated
bind 127.12.2.31 # ns1
bind fda1:b2:c3:0:127:12:2:31 # ns1
bind 127.12.2.32 # ns2
bind fda1:b2:c3:0:127:12:2:32 # ns2
log
file Basic-TP/basic02/CHILD-ns1-ns2-IB.basic02.xa.zone ns-no-ip-undel-1.basic02.xa
}
# Undelegated IB NS without glue, no zone
ns-no-ip-undel-2.basic02.xa:53 {
# Delegated
bind 127.12.2.31 # ns1
bind fda1:b2:c3:0:127:12:2:31 # ns1
bind 127.12.2.32 # ns2
bind fda1:b2:c3:0:127:12:2:32 # ns2
log
file Basic-TP/basic02/CHILD-ns1-ns2-IB.basic02.xa.zone ns-no-ip-undel-2.basic02.xa
}
# Undelegated OOB NS without glue, no zone
ns-no-response-1.basic02.xa:53 {
bind 127.12.2.31 # ns1
bind fda1:b2:c3:0:127:12:2:31 # ns1
bind 127.12.2.32 # ns2
bind fda1:b2:c3:0:127:12:2:32 # ns2
log
acl ns-no-response-1.basic02.xa {
drop
}
}
unexpected-rcode-1.basic02.xa:53 {
bind 127.12.2.31 # ns1
bind fda1:b2:c3:0:127:12:2:31 # ns1
log
template IN ANY unexpected-rcode-1.basic02.xa {
authority "basic02.xa. SOA ns1.basic.xa. admin. 2025040906 6h 1h 1w 1d"
rcode NXDOMAIN
}
}
unexpected-rcode-1.basic02.xa:53 {
bind 127.12.2.32 # ns2
bind fda1:b2:c3:0:127:12:2:32 # ns2
log
template IN ANY unexpected-rcode-1.basic02.xa {
rcode REFUSED
}
header {
response clear aa
}
}
unexpected-rcode-1.basic02.xa:53 {
bind 127.12.2.33 # ns3
bind fda1:b2:c3:0:127:12:2:33 # ns3
log
template IN ANY unexpected-rcode-1.basic02.xa {
rcode SERVFAIL
}
}

View File

@@ -0,0 +1,159 @@
$ORIGIN basic02.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2025041102 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.2.21
ns1 AAAA fda1:b2:c3:0:127:12:2:21
ns2 A 127.12.2.22
ns2 AAAA fda1:b2:c3:0:127:12:2:22
$ORIGIN good-1.basic02.xa.
@ NS ns1
@ NS ns2
ns1 A 127.12.2.31
ns1 AAAA fda1:b2:c3:0:127:12:2:31
ns2 A 127.12.2.32
ns2 AAAA fda1:b2:c3:0:127:12:2:32
$ORIGIN good-2.basic02.xa.
@ NS ns1.good-2.basic02.xb.
@ NS ns2.good-2.basic02.xb.
; good-undel-1.basic02.xa, not delegated
; good-undel-2.basic02.xa, not delegated
$ORIGIN good-undel-3.basic02.xa.
@ NS ns1
@ NS ns2
ns1 A 127.12.2.31
ns1 AAAA fda1:b2:c3:0:127:12:2:31
ns2 A 127.12.2.32
ns2 AAAA fda1:b2:c3:0:127:12:2:32
$ORIGIN good-undel-4.basic02.xa.
@ NS ns1
@ NS ns2
$ORIGIN good-undel-5.basic02.xa.
@ NS ns1
@ NS ns2
$ORIGIN good-undel-6.basic02.xa.
@ NS ns1.good-undel-6.basic02.xb.
@ NS ns2.good-undel-6.basic02.xb.
$ORIGIN good-undel-7.basic02.xa.
@ NS ns1.good-undel-7.basic02.xb.
@ NS ns2.good-undel-7.basic02.xb.
$ORIGIN good-undel-8.basic02.xa.
@ NS dns1
@ NS dns2
dns1 A 127.12.2.31
dns1 AAAA fda1:b2:c3:0:127:12:2:31
dns2 A 127.12.2.32
dns2 AAAA fda1:b2:c3:0:127:12:2:32
$ORIGIN good-undel-9.basic02.xa.
@ NS dns1.good-undel-9.basic02.xb.
@ NS dns2.good-undel-9.basic02.xb.
$ORIGIN good-undel-10.basic02.xa.
@ NS ns1.good-undel-10.basic02.xb.
@ NS ns2.good-undel-10.basic02.xb.
$ORIGIN good-undel-11.basic02.xa.
@ NS ns1.delegated.good-undel-11.basic02.xb.
@ NS ns2.delegated.good-undel-11.basic02.xb.
; no-delegation.basic02.xa, not delegated
$ORIGIN mixed-1.basic02.xa.
@ NS ns1
@ NS ns2
@ NS ns3
@ NS ns4
ns1 A 127.12.2.31
ns1 AAAA fda1:b2:c3:0:127:12:2:31
ns2 A 127.12.2.32
ns2 AAAA fda1:b2:c3:0:127:12:2:32
ns3 A 127.12.2.33
ns3 AAAA fda1:b2:c3:0:127:12:2:33
ns4 A 127.12.2.34
ns4 AAAA fda1:b2:c3:0:127:12:2:34
$ORIGIN ns-broken-1.basic02.xa.
@ NS ns1
@ NS ns2
ns1 A 127.12.2.31
ns1 AAAA fda1:b2:c3:0:127:12:2:31
ns2 A 127.12.2.32
ns2 AAAA fda1:b2:c3:0:127:12:2:32
$ORIGIN ns-not-auth-1.basic02.xa.
@ NS ns1
@ NS ns2
ns1 A 127.12.2.31
ns1 AAAA fda1:b2:c3:0:127:12:2:31
ns2 A 127.12.2.32
ns2 AAAA fda1:b2:c3:0:127:12:2:32
$ORIGIN ns-no-ip-1.basic02.xa.
@ NS ns1
@ NS ns2
$ORIGIN ns-no-ip-2.basic02.xa.
@ NS ns1.ns-no-ip-2.basic02.xb.
@ NS ns2.ns-no-ip-2.basic02.xb.
$ORIGIN ns-no-ip-3.basic02.xa.
@ NS ns1.ns-no-ip-3.basic02.xb.
@ NS ns2.ns-no-ip-3.basic02.xb.
$ORIGIN ns-no-ip-undel-1.basic02.xa.
@ NS ns1
@ NS ns2
ns1 A 127.12.2.31
ns1 AAAA fda1:b2:c3:0:127:12:2:31
ns2 A 127.12.2.32
ns2 AAAA fda1:b2:c3:0:127:12:2:32
$ORIGIN ns-no-ip-undel-2.basic02.xa.
@ NS ns1
@ NS ns2
ns1 A 127.12.2.31
ns1 AAAA fda1:b2:c3:0:127:12:2:31
ns2 A 127.12.2.32
ns2 AAAA fda1:b2:c3:0:127:12:2:32
$ORIGIN ns-no-response-1.basic02.xa.
@ NS ns1
@ NS ns2
ns1 A 127.12.2.31
ns1 AAAA fda1:b2:c3:0:127:12:2:31
ns2 A 127.12.2.32
ns2 AAAA fda1:b2:c3:0:127:12:2:32
$ORIGIN unexpected-rcode-1.basic02.xa.
@ NS ns1
@ NS ns2
@ NS ns3
ns1 A 127.12.2.31
ns1 AAAA fda1:b2:c3:0:127:12:2:31
ns2 A 127.12.2.32
ns2 AAAA fda1:b2:c3:0:127:12:2:32
ns3 A 127.12.2.33
ns3 AAAA fda1:b2:c3:0:127:12:2:33

View File

@@ -0,0 +1,84 @@
$ORIGIN basic02.xb. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2025041103 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.12.2.25
ns1 AAAA fda1:b2:c3:0:127:12:2:25
ns2 A 127.12.2.26
ns2 AAAA fda1:b2:c3:0:127:12:2:26
; Name servers for basic02.xa child zones.
ns1.good-2 A 127.12.2.31
ns1.good-2 AAAA fda1:b2:c3:0:127:12:2:31
ns2.good-2 A 127.12.2.32
ns2.good-2 AAAA fda1:b2:c3:0:127:12:2:32
ns1.good-undel-2 A 127.12.2.31
ns1.good-undel-2 AAAA fda1:b2:c3:0:127:12:2:31
ns2.good-undel-2 A 127.12.2.32
ns2.good-undel-2 AAAA fda1:b2:c3:0:127:12:2:32
ns3.good-undel-3 A 127.12.2.33
ns3.good-undel-3 AAAA fda1:b2:c3:0:127:12:2:33
ns4.good-undel-3 A 127.12.2.34
ns4.good-undel-3 AAAA fda1:b2:c3:0:127:12:2:34
ns1.good-undel-4 A 127.12.2.31
ns1.good-undel-4 AAAA fda1:b2:c3:0:127:12:2:31
ns2.good-undel-4 A 127.12.2.32
ns2.good-undel-4 AAAA fda1:b2:c3:0:127:12:2:32
ns1.good-undel-6 A 127.12.2.31
ns1.good-undel-6 AAAA fda1:b2:c3:0:127:12:2:31
ns2.good-undel-6 A 127.12.2.32
ns2.good-undel-6 AAAA fda1:b2:c3:0:127:12:2:32
ns1.good-undel-7 TXT "No address records"
ns2.good-undel-7 TXT "No address records"
dns1.good-undel-9 A 127.12.2.31
dns1.good-undel-9 AAAA fda1:b2:c3:0:127:12:2:31
dns2.good-undel-9 A 127.12.2.32
dns2.good-undel-9 AAAA fda1:b2:c3:0:127:12:2:32
ns1.good-undel-10 A 127.12.2.31
ns1.good-undel-10 AAAA fda1:b2:c3:0:127:12:2:31
ns2.good-undel-10 A 127.12.2.32
ns2.good-undel-10 AAAA fda1:b2:c3:0:127:12:2:32
ns3.good-undel-10 A 127.12.2.33
ns3.good-undel-10 AAAA fda1:b2:c3:0:127:12:2:33
ns4.good-undel-10 A 127.12.2.34
ns4.good-undel-10 AAAA fda1:b2:c3:0:127:12:2:34
ns3.good-undel-11 A 127.12.2.33
ns3.good-undel-11 AAAA fda1:b2:c3:0:127:12:2:33
ns4.good-undel-11 A 127.12.2.34
ns4.good-undel-11 AAAA fda1:b2:c3:0:127:12:2:34
; good-undel-11, also see below
ns1.ns-no-ip-2 TXT "No address records"
ns2.ns-no-ip-2 TXT "No address records"
ns1.ns-no-ip-undel-2 TXT "No address records"
ns2.ns-no-ip-undel-2 TXT "No address records"
$ORIGIN delegated.good-undel-11.basic02.xb.
@ NS dns1
@ NS dns2
dns1 A 127.12.2.31
dns1 AAAA fda1:b2:c3:0:127:12:2:31
dns2 A 127.12.2.32
dns2 AAAA fda1:b2:c3:0:127:12:2:32

View File

@@ -0,0 +1,16 @@
$ORIGIN good-2.basic02.xa.
$TTL 3600
@ SOA ns1 admin. (
2025040702 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1.good-2.basic02.xb.
@ NS ns2.good-2.basic02.xb.
; EOF

View File

@@ -0,0 +1,16 @@
$ORIGIN good-undel-10.basic02.xa.
$TTL 3600
; All names must be relative
@ SOA ns1 admin. (
2025041101 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns3.good-undel-10.basic02.xb.
@ NS ns4.good-undel-10.basic02.xb.
; EOF

View File

@@ -0,0 +1,16 @@
$ORIGIN good-undel-11.basic02.xa.
$TTL 3600
; All names must be relative
@ SOA ns1 admin. (
2025041103 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns3.good-undel-11.basic02.xb.
@ NS ns4.good-undel-11.basic02.xb.
; EOF

View File

@@ -0,0 +1,16 @@
$ORIGIN good-undel-2.basic02.xa.
$TTL 3600
@ SOA ns1 admin. (
2025040703 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1.good-undel-2.basic02.xb.
@ NS ns2.good-undel-2.basic02.xb.
; EOF

View File

@@ -0,0 +1,16 @@
$ORIGIN good-undel-3.basic02.xa.
$TTL 3600
@ SOA ns1 admin. (
2025040705 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns3.good-undel-3.basic02.xb.
@ NS ns4.good-undel-3.basic02.xb.
; EOF

View File

@@ -0,0 +1,16 @@
$ORIGIN good-undel-4.basic02.xa.
$TTL 3600
@ SOA ns1 admin. (
2025051500 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1.good-undel-4.basic02.xb.
@ NS ns2.good-undel-4.basic02.xb.
; EOF

View File

@@ -0,0 +1,16 @@
$ORIGIN good-undel-7.basic02.xa.
$TTL 3600
@ SOA ns3.good-undel-7.basic02.xb. admin. (
2025042501 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns3.good-undel-7.basic02.xb.
@ NS ns4.good-undel-7.basic02.xb.
; EOF

View File

@@ -0,0 +1,25 @@
$ORIGIN good-undel-8.basic02.xa.
$TTL 3600
; All names must be relative
@ SOA ns1 admin. (
2025040800 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS dns1
@ NS dns2
; Using ns3 and ns4 addresses for dns1 and dns2
dns1 A 127.12.2.33
dns1 AAAA fda1:b2:c3:0:127:12:2:33
dns2 A 127.12.2.34
dns2 AAAA fda1:b2:c3:0:127:12:2:34
; EOF

View File

@@ -0,0 +1,16 @@
$ORIGIN good-undel-9.basic02.xa.
$TTL 3600
; All names must be relative
@ SOA ns1 admin. (
2025040802 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS dns1.good-undel-9.basic02.xb.
@ NS dns2.good-undel-9.basic02.xb.
; EOF

View File

@@ -0,0 +1,8 @@
; Hint file for Basic02 local root
. 3600 NS root-ns1.xa.
. 3600 NS root-ns2.xa.
root-ns1.xa. 3600 A 127.12.2.23
root-ns1.xa. 3600 AAAA fda1:b2:c3::127:12:2:23
root-ns2.xa. 3600 A 127.12.2.24
root-ns2.xa. 3600 AAAA fda1:b2:c3::127:12:2:24

View File

@@ -0,0 +1,29 @@
$ORIGIN mixed-1.basic02.xa.
$TTL 3600
; All names must be relative
@ SOA ns1 admin. (
2025041101 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
@ NS ns3
@ NS ns4
ns1 A 127.12.2.31
ns1 AAAA fda1:b2:c3:0:127:12:2:31
ns2 A 127.12.2.32
ns2 AAAA fda1:b2:c3:0:127:12:2:32
ns3 A 127.12.2.33
ns3 AAAA fda1:b2:c3:0:127:12:2:33
ns4 A 127.12.2.34
ns5 AAAA fda1:b2:c3:0:127:12:2:34
; EOF

View File

@@ -0,0 +1,43 @@
; Root zone for Basic02 test zones
$ORIGIN .
$TTL 3600
@ SOA ns1. admin.xa. (
2025040400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS root-ns1.xa.
NS root-ns2.xa.
root-ns1.xa. A 127.12.2.23
root-ns1.xa. AAAA fda1:b2:c3::127:12:2:23
root-ns2.xa. A 127.12.2.24
root-ns2.xa. AAAA fda1:b2:c3::127:12:2:24
$ORIGIN basic02.xa.
@ NS ns1
@ NS ns2
ns1 A 127.12.2.21
ns1 AAAA fda1:b2:c3::127:12:2:21
ns2 A 127.12.2.22
ns1 AAAA fda1:b2:c3::127:12:2:22
$ORIGIN basic02.xb.
@ NS ns1
@ NS ns2
ns1 A 127.12.2.25
ns1 AAAA fda1:b2:c3::127:12:2:25
ns2 A 127.12.2.26
ns1 AAAA fda1:b2:c3::127:12:2:26
;EOF

View File

@@ -0,0 +1,463 @@
# Basic02 Test Zones Output
# Table of contents
* [Introduction](#introduction)
* [All message tags](#all-message-tags)
* [All scenarios](#all-scenarios)
* [zonemaster-cli commands and their output for each test scenario](#zonemaster-cli-commands-and-their-output-for-each-test-scenario)
## Introduction
In this file the output of running `zonemaster-cli` for every test zone is
found. This file is created during the development of the test zones and should
be updated as the implementation of the test case or the test scenarios or test
zones are updated or corrected.
During development and any update this document serves as tracking and log tool.
It also serves as a template for future development of test zones for
scenarios for other test cases.
## All message tags
* B02_AUTH_RESPONSE_SOA
* B02_NO_DELEGATION
* B02_NO_WORKING_NS
* B02_NS_BROKEN
* B02_NS_NOT_AUTH
* B02_NS_NO_IP_ADDR
* B02_NS_NO_RESPONSE
* B02_UNEXPECTED_RCODE
## All scenarios
Scenario name | Zone name
:----------------------|:---------------------------------------------
GOOD-1 | good-1.basic02.xa
GOOD-2 | good-1.basic02.xa
GOOD-UNDEL-1 | good-undel-1.basic02.xa
GOOD-UNDEL-2 | good-undel-2.basic02.xa
GOOD-UNDEL-3 | good-undel-3.basic02.xa
GOOD-UNDEL-4 | good-undel-4.basic02.xa
GOOD-UNDEL-5 | good-undel-5.basic02.xa
GOOD-UNDEL-6 | good-undel-6.basic02.xa
GOOD-UNDEL-7 | good-undel-7.basic02.xa
GOOD-UNDEL-8 | good-undel-8.basic02.xa
GOOD-UNDEL-9 | good-undel-9.basic02.xa
GOOD-UNDEL-10 | good-undel-10.basic02.xa
GOOD-UNDEL-11 | good-undel-11.basic02.xa
MIXED-1 | mixed-1.basic02.xa
NO-DELEGATION-1 | no-delegation.basic02.xa
NS-BROKEN-1 | ns-broken-1.basic02.xa
NS-NOT-AUTH-1 | ns-not-auth-1.basic02.xa
NS-NO-IP-1 | ns-no-ip-1.basic02.xa
NS-NO-IP-2 | ns-no-ip-2.basic02.xa
NS-NO-IP-3 | ns-no-ip-3.basic02.xa
NS-NO-IP-UNDEL-1 | ns-no-ip-undel-1.basic02.xa
NS-NO-IP-UNDEL-2 | ns-no-ip-undel-2.basic02.xa
NS-NO-RESPONSE-1 | ns-no-response-1.basic02.xa
UNEXPECTED-RCODE-1 | unexpected-rcode-1.basic02.xa
## zonemaster-cli commands and their output for each test scenario
For this test case it is only meaningful to test the test zones with `--level=info
--test=basic02`.
The test zones for these scenarios have a dedicated root zone, which means that
the hint files in the commands below must be used.
All commands are run from the same directory as this file is in.
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
GOOD-1 | B02_AUTH_RESPONSE_SOA | 2)
* (2) All tags except for those specified as "Mandatory message tags"
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw good-1.basic02.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.04 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="good-1.basic02.xa"; ns_list=ns1.good-1.basic02.xa/127.12.2.31;ns1.good-1.basic02.xa/fda1:b2:c3:0:127:12:2:31;ns2.good-1.basic02.xa/127.12.2.32;ns2.good-1.basic02.xa/fda1:b2:c3:0:127:12:2:32
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
GOOD-2 | B02_AUTH_RESPONSE_SOA | 2)
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw good-2.basic02.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.05 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="good-2.basic02.xa"; ns_list=ns1.good-2.basic02.xb/127.12.2.31;ns1.good-2.basic02.xb/fda1:b2:c3:0:127:12:2:31;ns2.good-2.basic02.xb/127.12.2.32;ns2.good-2.basic02.xb/fda1:b2:c3:0:127:12:2:32
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
GOOD-UNDEL-1 | B02_AUTH_RESPONSE_SOA | 2)
* Undelegated data:
* ns1.good-undel-1.basic02.xa/127.12.2.31
* ns1.good-undel-1.basic02.xa/fda1:b2:c3:0:127:12:2:31
* ns2.good-undel-1.basic02.xa/127.12.2.32
* ns2.good-undel-1.basic02.xa/fda1:b2:c3:0:127:12:2:32
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw good-undel-1.basic02.xa --ns ns1.good-undel-1.basic02.xa/127.12.2.31 --ns ns1.good-undel-1.basic02.xa/fda1:b2:c3:0:127:12:2:31 --ns ns2.good-undel-1.basic02.xa/127.12.2.32 --ns ns2.good-undel-1.basic02.xa/fda1:b2:c3:0:127:12:2:32
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.02 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="good-undel-1.basic02.xa"; ns_list=ns1.good-undel-1.basic02.xa/127.12.2.31;ns1.good-undel-1.basic02.xa/fda1:b2:c3:0:127:12:2:31;ns2.good-undel-1.basic02.xa/127.12.2.32;ns2.good-undel-1.basic02.xa/fda1:b2:c3:0:127:12:2:32
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
GOOD-UNDEL-2 | B02_AUTH_RESPONSE_SOA | 2)
* Undelegated data:
* ns1.good-undel-2.basic02.xb
* ns2.good-undel-2.basic02.xb
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw good-undel-2.basic02.xa --ns ns1.good-undel-2.basic02.xb --ns ns2.good-undel-2.basic02.xb
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.02 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="good-undel-2.basic02.xa"; ns_list=ns1.good-undel-2.basic02.xb/127.12.2.31;ns1.good-undel-2.basic02.xb/fda1:b2:c3:0:127:12:2:31;ns2.good-undel-2.basic02.xb/127.12.2.32;ns2.good-undel-2.basic02.xb/fda1:b2:c3:0:127:12:2:32
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
GOOD-UNDEL-3 | B02_AUTH_RESPONSE_SOA | 2)
* Undelegated data:
* ns3.good-undel-3.basic02.xb
* ns4.good-undel-3.basic02.xb
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw good-undel-3.basic02.xa --ns ns3.good-undel-3.basic02.xb --ns ns4.good-undel-3.basic02.xb
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.02 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="good-undel-3.basic02.xa"; ns_list=ns3.good-undel-3.basic02.xb/127.12.2.33;ns3.good-undel-3.basic02.xb/fda1:b2:c3:0:127:12:2:33;ns4.good-undel-3.basic02.xb/127.12.2.34;ns4.good-undel-3.basic02.xb/fda1:b2:c3:0:127:12:2:34
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
GOOD-UNDEL-4 | B02_AUTH_RESPONSE_SOA | 2)
* Undelegated data:
* ns1.good-undel-4.basic02.xb
* ns2.good-undel-4.basic02.xb
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw good-undel-4.basic02.xa --ns ns1.good-undel-4.basic02.xb --ns ns2.good-undel-4.basic02.xb
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.03 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="good-undel-4.basic02.xa"; ns_list=ns1.good-undel-4.basic02.xb/127.12.2.31;ns1.good-undel-4.basic02.xb/fda1:b2:c3:0:127:12:2:31;ns2.good-undel-4.basic02.xb/127.12.2.32;ns2.good-undel-4.basic02.xb/fda1:b2:c3:0:127:12:2:32
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
GOOD-UNDEL-5 | B02_AUTH_RESPONSE_SOA | 2)
* Undelegated data:
* ns1.good-undel-5.basic02.xa/127.12.2.31
* ns1.good-undel-5.basic02.xa/fda1:b2:c3:0:127:12:2:31
* ns2.good-undel-5.basic02.xa/127.12.2.32
* ns2.good-undel-5.basic02.xa/fda1:b2:c3:0:127:12:2:32
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw good-undel-5.basic02.xa --ns ns1.good-undel-5.basic02.xa/127.12.2.31 --ns ns1.good-undel-5.basic02.xa/fda1:b2:c3:0:127:12:2:31 --ns ns2.good-undel-5.basic02.xa/127.12.2.32 --ns ns2.good-undel-5.basic02.xa/fda1:b2:c3:0:127:12:2:32
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.02 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="good-undel-5.basic02.xa"; ns_list=ns1.good-undel-5.basic02.xa/127.12.2.31;ns1.good-undel-5.basic02.xa/fda1:b2:c3:0:127:12:2:31;ns2.good-undel-5.basic02.xa/127.12.2.32;ns2.good-undel-5.basic02.xa/fda1:b2:c3:0:127:12:2:32
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
GOOD-UNDEL-6 | B02_AUTH_RESPONSE_SOA | 2)
* Undelegated data:
* ns3.good-undel-6.basic02.xa/127.12.2.33
* ns3.good-undel-6.basic02.xa/fda1:b2:c3:0:127:12:2:33
* ns4.good-undel-6.basic02.xa/127.12.2.34
* ns4.good-undel-6.basic02.xa/fda1:b2:c3:0:127:12:2:34
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw good-undel-6.basic02.xa --ns ns3.good-undel-6.basic02.xa/127.12.2.33 --ns ns3.good-undel-6.basic02.xa/fda1:b2:c3:0:127:12:2:33 --ns ns4.good-undel-6.basic02.xa/127.12.2.34 --ns ns4.good-undel-6.basic02.xa/fda1:b2:c3:0:127:12:2:34
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.03 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="good-undel-6.basic02.xa"; ns_list=ns3.good-undel-6.basic02.xa/127.12.2.33;ns3.good-undel-6.basic02.xa/fda1:b2:c3:0:127:12:2:33;ns4.good-undel-6.basic02.xa/127.12.2.34;ns4.good-undel-6.basic02.xa/fda1:b2:c3:0:127:12:2:34
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
GOOD-UNDEL-7 | B02_AUTH_RESPONSE_SOA | 2)
* Undelegated data:
* ns3.good-undel-7.basic02.xb/127.12.2.33
* ns3.good-undel-7.basic02.xb/fda1:b2:c3:0:127:12:2:33
* ns4.good-undel-7.basic02.xb/127.12.2.34
* ns5.good-undel-7.basic02.xb/fda1:b2:c3:0:127:12:2:34
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw good-undel-7.basic02.xa --ns ns3.good-undel-7.basic02.xb/127.12.2.33 --ns ns3.good-undel-7.basic02.xb/fda1:b2:c3:0:127:12:2:33 --ns ns4.good-undel-7.basic02.xb/127.12.2.34 --ns ns5.good-undel-7.basic02.xb/fda1:b2:c3:0:127:12:2:34
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.02 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="good-undel-7.basic02.xa"; ns_list=ns3.good-undel-7.basic02.xb/127.12.2.33;ns3.good-undel-7.basic02.xb/fda1:b2:c3:0:127:12:2:33;ns4.good-undel-7.basic02.xb/127.12.2.34;ns5.good-undel-7.basic02.xb/fda1:b2:c3:0:127:12:2:34
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
GOOD-UNDEL-8 | B02_AUTH_RESPONSE_SOA | 2)
* Undelegated data:
* dns1.good-undel-8.basic02.xa/127.12.2.33
* dns1.good-undel-8.basic02.xa/fda1:b2:c3:0:127:12:2:33
* dns2.good-undel-8.basic02.xa/127.12.2.34
* dns2.good-undel-8.basic02.xa/fda1:b2:c3:0:127:12:2:34
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw good-undel-8.basic02.xa --ns dns1.good-undel-8.basic02.xa/127.12.2.33 --ns dns1.good-undel-8.basic02.xa/fda1:b2:c3:0:127:12:2:33 --ns dns2.good-undel-8.basic02.xa/127.12.2.34 --ns dns2.good-undel-8.basic02.xa/fda1:b2:c3:0:127:12:2:34
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.02 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="good-undel-8.basic02.xa"; ns_list=dns1.good-undel-8.basic02.xa/127.12.2.33;dns1.good-undel-8.basic02.xa/fda1:b2:c3:0:127:12:2:33;dns2.good-undel-8.basic02.xa/127.12.2.34;dns2.good-undel-8.basic02.xa/fda1:b2:c3:0:127:12:2:34
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
GOOD-UNDEL-9 | B02_AUTH_RESPONSE_SOA | 2)
* Undelegated data:
* dns1.good-undel-9.basic02.xb/127.12.2.33
* dns1.good-undel-9.basic02.xb/fda1:b2:c3:0:127:12:2:33
* dns2.good-undel-9.basic02.xb/127.12.2.34
* dns2.good-undel-9.basic02.xb/fda1:b2:c3:0:127:12:2:34
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw good-undel-9.basic02.xa --ns dns1.good-undel-9.basic02.xb/127.12.2.33 --ns dns1.good-undel-9.basic02.xb/fda1:b2:c3:0:127:12:2:33 --ns dns2.good-undel-9.basic02.xb/127.12.2.34 --ns dns2.good-undel-9.basic02.xb/fda1:b2:c3:0:127:12:2:34
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.03 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="good-undel-9.basic02.xa"; ns_list=dns1.good-undel-9.basic02.xb/127.12.2.33;dns1.good-undel-9.basic02.xb/fda1:b2:c3:0:127:12:2:33;dns2.good-undel-9.basic02.xb/127.12.2.34;dns2.good-undel-9.basic02.xb/fda1:b2:c3:0:127:12:2:34
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
GOOD-UNDEL-10 | B02_AUTH_RESPONSE_SOA | 2)
* Undelegated data:
* ns3.good-undel-10.basic02.xb/127.12.2.33
* ns3.good-undel-10.basic02.xb/fda1:b2:c3:0:127:12:2:33
* ns4.good-undel-10.basic02.xb/127.12.2.34
* ns4.good-undel-10.basic02.xb/fda1:b2:c3:0:127:12:2:34
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw good-undel-10.basic02.xa --ns ns3.good-undel-10.basic02.xb/127.12.2.33 --ns ns3.good-undel-10.basic02.xb/fda1:b2:c3:0:127:12:2:33 --ns ns4.good-undel-10.basic02.xb/127.12.2.34 --ns ns4.good-undel-10.basic02.xb/fda1:b2:c3:0:127:12:2:34
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.02 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="good-undel-10.basic02.xa"; ns_list=ns3.good-undel-10.basic02.xb/127.12.2.33;ns3.good-undel-10.basic02.xb/fda1:b2:c3:0:127:12:2:33;ns4.good-undel-10.basic02.xb/127.12.2.34;ns4.good-undel-10.basic02.xb/fda1:b2:c3:0:127:12:2:34
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
GOOD-UNDEL-11 | B02_AUTH_RESPONSE_SOA | 2)
* Undelegated data:
* ns3.good-undel-11.basic02.xb
* ns4.good-undel-11.basic02.xb
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw good-undel-11.basic02.xa --ns ns3.good-undel-11.basic02.xb --ns ns4.good-undel-11.basic02.xb
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.02 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="good-undel-11.basic02.xa"; ns_list=ns3.good-undel-11.basic02.xb/127.12.2.33;ns3.good-undel-11.basic02.xb/fda1:b2:c3:0:127:12:2:33;ns4.good-undel-11.basic02.xb/127.12.2.34;ns4.good-undel-11.basic02.xb/fda1:b2:c3:0:127:12:2:34
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
MIXED-1 | B02_AUTH_RESPONSE_SOA | 2)
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw mixed-1.basic02.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.11 INFO Basic02 B02_AUTH_RESPONSE_SOA domain="mixed-1.basic02.xa"; ns_list=ns1.mixed-1.basic02.xa/127.12.2.31;ns1.mixed-1.basic02.xa/fda1:b2:c3:0:127:12:2:31
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
NO-DELEGATION-1 | B02_NO_DELEGATION | 2)
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw no-delegation.basic02.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.03 CRITICAL Basic02 B02_NO_DELEGATION domain="no-delegation.basic02.xa"
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
NS-BROKEN-1 | B02_NS_BROKEN, B02_NO_WORKING_NS | 2)
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw ns-broken-1.basic02.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.11 CRITICAL Basic02 B02_NO_WORKING_NS domain="ns-broken-1.basic02.xa"
0.11 ERROR Basic02 B02_NS_BROKEN ns=ns1.ns-broken-1.basic02.xa/127.12.2.31
0.11 ERROR Basic02 B02_NS_BROKEN ns=ns2.ns-broken-1.basic02.xa/fda1:b2:c3:0:127:12:2:32
0.11 ERROR Basic02 B02_NS_BROKEN ns=ns1.ns-broken-1.basic02.xa/fda1:b2:c3:0:127:12:2:31
0.11 ERROR Basic02 B02_NS_BROKEN ns=ns2.ns-broken-1.basic02.xa/127.12.2.32
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
NS-NOT-AUTH-1 | B02_NS_NOT_AUTH, B02_NO_WORKING_NS | 2)
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw ns-not-auth-1.basic02.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.04 CRITICAL Basic02 B02_NO_WORKING_NS domain="ns-not-auth-1.basic02.xa"
0.04 ERROR Basic02 B02_NS_NOT_AUTH ns=ns2.ns-not-auth-1.basic02.xa/fda1:b2:c3:0:127:12:2:32
0.04 ERROR Basic02 B02_NS_NOT_AUTH ns=ns1.ns-not-auth-1.basic02.xa/127.12.2.31
0.04 ERROR Basic02 B02_NS_NOT_AUTH ns=ns1.ns-not-auth-1.basic02.xa/fda1:b2:c3:0:127:12:2:31
0.04 ERROR Basic02 B02_NS_NOT_AUTH ns=ns2.ns-not-auth-1.basic02.xa/127.12.2.32
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
NS-NO-IP-1 | B02_NS_NO_IP_ADDR, B02_NO_WORKING_NS | 2)
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw ns-no-ip-1.basic02.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.07 CRITICAL Basic02 B02_NO_WORKING_NS domain="ns-no-ip-1.basic02.xa"
0.07 ERROR Basic02 B02_NS_NO_IP_ADDR nsname=ns2.ns-no-ip-1.basic02.xa
0.07 ERROR Basic02 B02_NS_NO_IP_ADDR nsname=ns1.ns-no-ip-1.basic02.xa
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
NS-NO-IP-2 | B02_NS_NO_IP_ADDR, B02_NO_WORKING_NS | 2)
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw ns-no-ip-2.basic02.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.04 CRITICAL Basic02 B02_NO_WORKING_NS domain="ns-no-ip-2.basic02.xa"
0.04 ERROR Basic02 B02_NS_NO_IP_ADDR nsname=ns2.ns-no-ip-2.basic02.xb
0.04 ERROR Basic02 B02_NS_NO_IP_ADDR nsname=ns1.ns-no-ip-2.basic02.xb
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
NS-NO-IP-3 | B02_NS_NO_IP_ADDR, B02_NO_WORKING_NS | 2)
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw ns-no-ip-3.basic02.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.04 CRITICAL Basic02 B02_NO_WORKING_NS domain="ns-no-ip-3.basic02.xa"
0.04 ERROR Basic02 B02_NS_NO_IP_ADDR nsname=ns1.ns-no-ip-3.basic02.xb
0.04 ERROR Basic02 B02_NS_NO_IP_ADDR nsname=ns2.ns-no-ip-3.basic02.xb
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
NS-NO-IP-UNDEL-1 | B02_NS_NO_IP_ADDR, B02_NO_WORKING_NS | 2)
* Undelegated data:
* ns1.ns-no-ip-undel-1.basic02.xa
* ns2.ns-no-ip-undel-1.basic02.xa
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw ns-no-ip-undel-1.basic02.xa --ns ns1.ns-no-ip-undel-1.basic02.xa --ns ns2.ns-no-ip-undel-1.basic02.xa
0.35 ERROR Unspecified FAKE_DELEGATION_IN_ZONE_NO_IP domain=ns-no-ip-undel-1.basic02.xa; nsname=ns2.ns-no-ip-undel-1.basic02.xa
0.33 ERROR Unspecified FAKE_DELEGATION_IN_ZONE_NO_IP domain=ns-no-ip-undel-1.basic02.xa; nsname=ns1.ns-no-ip-undel-1.basic02.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.03 CRITICAL Basic02 B02_NO_WORKING_NS domain="ns-no-ip-undel-1.basic02.xa"
0.03 ERROR Basic02 B02_NS_NO_IP_ADDR nsname=ns2.ns-no-ip-undel-1.basic02.xa
0.03 ERROR Basic02 B02_NS_NO_IP_ADDR nsname=ns1.ns-no-ip-undel-1.basic02.xa
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
NS-NO-IP-UNDEL-2 | B02_NS_NO_IP_ADDR, B02_NO_WORKING_NS | 2)
* Undelegated data:
* ns1.ns-no-ip-undel-2.basic02.xb
* ns2.ns-no-ip-undel-2.basic02.xb
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw ns-no-ip-undel-2.basic02.xa --ns ns1.ns-no-ip-undel-2.basic02.xb --ns ns2.ns-no-ip-undel-2.basic02.xb
0.23 ERROR Unspecified FAKE_DELEGATION_NO_IP domain=ns-no-ip-undel-2.basic02.xa; nsname=ns2.ns-no-ip-undel-2.basic02.xb
0.23 ERROR Unspecified FAKE_DELEGATION_NO_IP domain=ns-no-ip-undel-2.basic02.xa; nsname=ns1.ns-no-ip-undel-2.basic02.xb
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.02 CRITICAL Basic02 B02_NO_WORKING_NS domain="ns-no-ip-undel-2.basic02.xa"
0.02 ERROR Basic02 B02_NS_NO_IP_ADDR nsname=ns1.ns-no-ip-undel-2.basic02.xb
0.02 ERROR Basic02 B02_NS_NO_IP_ADDR nsname=ns2.ns-no-ip-undel-2.basic02.xb
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
NS-NO-RESPONSE-1 | B02_NS_NO_RESPONSE, B02_NO_WORKING_NS | 2)
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw ns-no-response-1.basic02.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
40.09 CRITICAL Basic02 B02_NO_WORKING_NS domain="ns-no-response-1.basic02.xa"
40.09 WARNING Basic02 B02_NS_NO_RESPONSE ns=ns1.ns-no-response-1.basic02.xa/127.12.2.31
40.09 WARNING Basic02 B02_NS_NO_RESPONSE ns=ns2.ns-no-response-1.basic02.xa/fda1:b2:c3:0:127:12:2:32
40.09 WARNING Basic02 B02_NS_NO_RESPONSE ns=ns1.ns-no-response-1.basic02.xa/fda1:b2:c3:0:127:12:2:31
40.09 WARNING Basic02 B02_NS_NO_RESPONSE ns=ns2.ns-no-response-1.basic02.xa/127.12.2.32
```
--> OK
Scenario name | Mandatory message tag | Forbidden message tags
:------------------------------|:-------------------------------------------|:----------------------
UNEXPECTED-RCODE-1 | B02_UNEXPECTED_RCODE, B02_NO_WORKING_NS | 2)
* (2) All tags except for those specified as "Mandatory message tags"
```
$ zonemaster-cli --hints=hintfile.zone --test=basic02 --level=info --show-testcase --raw unexpected-rcode-1.basic02.xa
0.00 INFO Unspecified GLOBAL_VERSION version=v7.1.0
0.06 CRITICAL Basic02 B02_NO_WORKING_NS domain="unexpected-rcode-1.basic02.xa"
0.06 ERROR Basic02 B02_UNEXPECTED_RCODE ns=ns2.unexpected-rcode-1.basic02.xa/fda1:b2:c3:0:127:12:2:32; rcode=REFUSED
0.06 ERROR Basic02 B02_UNEXPECTED_RCODE ns=ns1.unexpected-rcode-1.basic02.xa/fda1:b2:c3:0:127:12:2:31; rcode=NXDOMAIN
0.06 ERROR Basic02 B02_UNEXPECTED_RCODE ns=ns3.unexpected-rcode-1.basic02.xa/127.12.2.33; rcode=SERVFAIL
0.06 ERROR Basic02 B02_UNEXPECTED_RCODE ns=ns2.unexpected-rcode-1.basic02.xa/127.12.2.32; rcode=REFUSED
0.06 ERROR Basic02 B02_UNEXPECTED_RCODE ns=ns3.unexpected-rcode-1.basic02.xa/fda1:b2:c3:0:127:12:2:33; rcode=SERVFAIL
0.06 ERROR Basic02 B02_UNEXPECTED_RCODE ns=ns1.unexpected-rcode-1.basic02.xa/127.12.2.31; rcode=NXDOMAIN
```
--> OK

View File

@@ -0,0 +1,4 @@
# COMMON
This directory holds zone files and `coredns` configuration files that are common
to all or many test cases.

View File

@@ -0,0 +1,54 @@
$ORIGIN arpa.
$TTL 3600
@ SOA ns1. admin.xb. (
2025110500 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1.
NS ns2.
$ORIGIN 1.0.1.127.in-addr.arpa.
@ PTR ns1.
$ORIGIN 1.0.0.0.0.0.0.0.1.0.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa.
@ PTR ns1.
$ORIGIN 2.0.1.127.in-addr.arpa.
@ PTR ns2.
$ORIGIN 2.0.0.0.0.0.0.0.1.0.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa.
@ PTR ns2.
$ORIGIN 11.0.2.127.in-addr.arpa.
@ PTR ns1.xa.
$ORIGIN 1.1.0.0.0.0.0.0.2.0.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa.
@ PTR ns1.xa.
$ORIGIN 12.0.2.127.in-addr.arpa.
@ PTR ns2.xa.
$ORIGIN 2.1.0.0.0.0.0.0.2.0.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa.
@ PTR ns2.xa.
$ORIGIN 3.11.127.in-addr.arpa.
@ NS ns1.address03.xa.
@ NS ns2.address03.xa.
$ORIGIN 3.0.0.0.1.1.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa.
@ NS ns1.address03.xa.
@ NS ns2.address03.xa.
$ORIGIN 21.9.19.127.in-addr.arpa.
@ PTR ns1.zone09.xa.
$ORIGIN 1.2.0.0.9.0.0.0.9.1.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa.
@ PTR ns1.zone09.xa.
$ORIGIN 22.9.19.127.in-addr.arpa.
@ PTR ns2.zone09.xa.
$ORIGIN 2.2.0.0.9.0.0.0.9.1.0.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.ip6.arpa.
@ PTR ns2.zone09.xa.
$ORIGIN zone11.arpa.
@ NS ns1.zone11.xa.
@ NS ns2.zone11.xa.
$ORIGIN arpa. ; Reset to default
;EOF

View File

@@ -0,0 +1,499 @@
{
"test_levels" : {
"ADDRESS" : {
"NAMESERVER_IP_PRIVATE_NETWORK" : "ERROR",
"NAMESERVER_IP_PTR_MATCH" : "INFO",
"NAMESERVER_IP_PTR_MISMATCH" : "NOTICE",
"NAMESERVER_IP_WITHOUT_REVERSE" : "WARNING",
"NAMESERVERS_IP_WITH_REVERSE" : "INFO",
"NO_IP_PRIVATE_NETWORK" : "INFO",
"NO_RESPONSE_PTR_QUERY" : "WARNING",
"TEST_CASE_END" : "DEBUG",
"TEST_CASE_START" : "DEBUG"
},
"BASIC" : {
"A_QUERY_NO_RESPONSES" : "INFO",
"B01_CHILD_IS_ALIAS" : "NOTICE",
"B01_CHILD_FOUND" : "INFO",
"B01_CHILD_NOT_EXIST" : "INFO",
"B01_INCONSISTENT_ALIAS" : "ERROR",
"B01_INCONSISTENT_DELEGATION" : "ERROR",
"B01_NO_CHILD" : "ERROR",
"B01_PARENT_FOUND" : "INFO",
"B01_PARENT_UNDETERMINED" : "WARNING",
"B01_UNEXPECTED_NS_RESPONSE" : "WARNING",
"B02_AUTH_RESPONSE_SOA" : "INFO",
"B02_NO_DELEGATION" : "CRITICAL",
"B02_NO_WORKING_NS" : "CRITICAL",
"B02_NS_BROKEN" : "ERROR",
"B02_NS_NOT_AUTH" : "ERROR",
"B02_NS_NO_IP_ADDR" : "ERROR",
"B02_NS_NO_RESPONSE" : "WARNING",
"B02_UNEXPECTED_RCODE" : "ERROR",
"DOMAIN_NAME_LABEL_TOO_LONG" : "CRITICAL",
"DOMAIN_NAME_TOO_LONG" : "CRITICAL",
"DOMAIN_NAME_ZERO_LENGTH_LABEL" : "CRITICAL",
"HAS_A_RECORDS" : "ERROR",
"HAS_NAMESERVER_NO_WWW_A_TEST" : "INFO",
"IPV4_DISABLED" : "DEBUG",
"IPV4_ENABLED" : "DEBUG",
"IPV6_DISABLED" : "DEBUG",
"IPV6_ENABLED" : "DEBUG",
"TEST_CASE_END" : "DEBUG",
"TEST_CASE_START" : "DEBUG"
},
"CONNECTIVITY" : {
"ASN_INFOS_ANNOUNCE_BY" : "DEBUG",
"ASN_INFOS_ANNOUNCE_IN" : "DEBUG",
"ASN_INFOS_RAW" : "DEBUG",
"CN01_IPV4_DISABLED": "NOTICE",
"CN01_IPV6_DISABLED": "NOTICE",
"CN01_MISSING_NS_RECORD_UDP": "WARNING",
"CN01_MISSING_SOA_RECORD_UDP": "WARNING",
"CN01_NO_RESPONSE_NS_QUERY_UDP": "WARNING",
"CN01_NO_RESPONSE_SOA_QUERY_UDP": "WARNING",
"CN01_NO_RESPONSE_UDP": "WARNING",
"CN01_NS_RECORD_NOT_AA_UDP": "WARNING",
"CN01_SOA_RECORD_NOT_AA_UDP": "WARNING",
"CN01_UNEXPECTED_RCODE_NS_QUERY_UDP": "WARNING",
"CN01_UNEXPECTED_RCODE_SOA_QUERY_UDP": "WARNING",
"CN01_WRONG_NS_RECORD_UDP": "WARNING",
"CN01_WRONG_SOA_RECORD_UDP": "WARNING",
"CN02_MISSING_NS_RECORD_TCP": "WARNING",
"CN02_MISSING_SOA_RECORD_TCP": "WARNING",
"CN02_NO_RESPONSE_NS_QUERY_TCP": "WARNING",
"CN02_NO_RESPONSE_SOA_QUERY_TCP": "WARNING",
"CN02_NO_RESPONSE_TCP": "WARNING",
"CN02_NS_RECORD_NOT_AA_TCP": "WARNING",
"CN02_SOA_RECORD_NOT_AA_TCP": "WARNING",
"CN02_UNEXPECTED_RCODE_NS_QUERY_TCP": "WARNING",
"CN02_UNEXPECTED_RCODE_SOA_QUERY_TCP": "WARNING",
"CN02_WRONG_NS_RECORD_TCP": "WARNING",
"CN02_WRONG_SOA_RECORD_TCP": "WARNING",
"CN04_ASN_INFOS_ANNOUNCE_IN": "DEBUG",
"CN04_ASN_INFOS_RAW": "DEBUG",
"CN04_EMPTY_PREFIX_SET": "ERROR",
"CN04_ERROR_PREFIX_DATABASE": "ERROR",
"CN04_IPV4_DIFFERENT_PREFIX": "INFO",
"CN04_IPV4_SAME_PREFIX": "WARNING",
"CN04_IPV6_DIFFERENT_PREFIX": "INFO",
"CN04_IPV6_SAME_PREFIX": "WARNING",
"EMPTY_ASN_SET" : "ERROR",
"ERROR_ASN_DATABASE" : "ERROR",
"IPV4_DIFFERENT_ASN" : "INFO",
"IPV4_DISABLED" : "DEBUG",
"IPV4_ONE_ASN" : "WARNING",
"IPV4_SAME_ASN" : "NOTICE",
"IPV6_DIFFERENT_ASN" : "INFO",
"IPV6_DISABLED" : "DEBUG",
"IPV6_ONE_ASN" : "WARNING",
"IPV6_SAME_ASN" : "NOTICE",
"NAMESERVER_HAS_TCP_53" : "DEBUG",
"NAMESERVER_HAS_UDP_53" : "DEBUG",
"NAMESERVER_NO_TCP_53" : "ERROR",
"NAMESERVER_NO_UDP_53" : "ERROR",
"TEST_CASE_END" : "DEBUG",
"TEST_CASE_START" : "DEBUG"
},
"CONSISTENCY" : {
"ADDRESSES_MATCH" : "INFO",
"CHILD_NS_FAILED" : "INFO",
"CHILD_ZONE_LAME" : "ERROR",
"EXTRA_ADDRESS_CHILD" : "NOTICE",
"IN_BAILIWICK_ADDR_MISMATCH" : "ERROR",
"IPV4_DISABLED" : "DEBUG",
"IPV6_DISABLED" : "DEBUG",
"MULTIPLE_NS_SET" : "NOTICE",
"MULTIPLE_SOA_MNAMES" : "NOTICE",
"MULTIPLE_SOA_RNAMES" : "NOTICE",
"MULTIPLE_SOA_SERIALS" : "WARNING",
"MULTIPLE_SOA_TIME_PARAMETER_SET" : "NOTICE",
"NO_RESPONSE" : "INFO",
"NO_RESPONSE_NS_QUERY" : "INFO",
"NO_RESPONSE_SOA_QUERY" : "INFO",
"NS_SET" : "INFO",
"ONE_NS_SET" : "INFO",
"ONE_SOA_MNAME" : "INFO",
"ONE_SOA_RNAME" : "INFO",
"ONE_SOA_SERIAL" : "INFO",
"ONE_SOA_TIME_PARAMETER_SET" : "INFO",
"OUT_OF_BAILIWICK_ADDR_MISMATCH" : "ERROR",
"SOA_RNAME" : "INFO",
"SOA_SERIAL" : "INFO",
"SOA_SERIAL_VARIATION" : "NOTICE",
"SOA_TIME_PARAMETER_SET" : "INFO",
"TEST_CASE_END" : "INFO",
"TEST_CASE_START" : "INFO"
},
"DELEGATION" : {
"ARE_AUTHORITATIVE" : "INFO",
"CHILD_DISTINCT_NS_IP" : "INFO",
"CHILD_NS_SAME_IP" : "ERROR",
"DEL_DISTINCT_NS_IP" : "INFO",
"DEL_NS_SAME_IP" : "ERROR",
"DISTINCT_IP_ADDRESS" : "INFO",
"ENOUGH_IPV4_NS_CHILD" : "INFO",
"ENOUGH_IPV4_NS_DEL" : "INFO",
"ENOUGH_IPV6_NS_CHILD" : "INFO",
"ENOUGH_IPV6_NS_DEL" : "INFO",
"ENOUGH_NS_CHILD" : "INFO",
"ENOUGH_NS_DEL" : "INFO",
"EXTRA_NAME_CHILD" : "NOTICE",
"EXTRA_NAME_PARENT" : "ERROR",
"IPV4_DISABLED" : "DEBUG",
"IPV6_DISABLED" : "DEBUG",
"IS_NOT_AUTHORITATIVE" : "WARNING",
"NAMES_MATCH" : "INFO",
"NO_IPV4_NS_CHILD" : "WARNING",
"NO_IPV4_NS_DEL" : "WARNING",
"NO_IPV6_NS_CHILD" : "NOTICE",
"NO_IPV6_NS_DEL" : "NOTICE",
"NO_NS_CNAME" : "INFO",
"NO_RESPONSE" : "DEBUG",
"NOT_ENOUGH_IPV4_NS_CHILD" : "ERROR",
"NOT_ENOUGH_IPV4_NS_DEL" : "ERROR",
"NOT_ENOUGH_IPV6_NS_CHILD" : "ERROR",
"NOT_ENOUGH_IPV6_NS_DEL" : "ERROR",
"NOT_ENOUGH_NS_CHILD" : "ERROR",
"NOT_ENOUGH_NS_DEL" : "ERROR",
"NS_IS_CNAME" : "ERROR",
"REFERRAL_SIZE_OK" : "INFO",
"REFERRAL_SIZE_TOO_LARGE" : "WARNING",
"SAME_IP_ADDRESS" : "ERROR",
"SOA_EXISTS" : "INFO",
"SOA_NOT_EXISTS" : "ERROR",
"TEST_CASE_END" : "DEBUG",
"TEST_CASE_START" : "DEBUG",
"TOTAL_NAME_MISMATCH" : "ERROR",
"UNEXPECTED_RCODE" : "WARNING"
},
"DNSSEC" : {
"ADDITIONAL_DNSKEY_SKIPPED" : "DEBUG",
"ALGORITHM_DEPRECATED" : "ERROR",
"ALGORITHM_NOT_RECOMMENDED" : "WARNING",
"ALGORITHM_NOT_ZONE_SIGN" : "ERROR",
"ALGORITHM_OK" : "INFO",
"ALGORITHM_PRIVATE" : "ERROR",
"ALGORITHM_RESERVED" : "ERROR",
"ALGORITHM_UNASSIGNED" : "ERROR",
"DNSKEY_AND_DS" : "DEBUG",
"DNSKEY_BUT_NOT_DS" : "WARNING",
"DNSKEY_SMALLER_THAN_REC" : "WARNING",
"DNSKEY_TOO_LARGE_FOR_ALGO" : "ERROR",
"DNSKEY_TOO_SMALL_FOR_ALGO" : "ERROR",
"DS01_DIGEST_NOT_SUPPORTED_BY_ZM" : "NOTICE",
"DS01_DS_ALGO_DEPRECATED" : "ERROR",
"DS01_DS_ALGO_2_MISSING" : "NOTICE",
"DS01_DS_ALGO_NOT_DS" : "ERROR",
"DS01_DS_ALGO_RESERVED" : "ERROR",
"DS02_ALGO_NOT_SUPPORTED_BY_ZM" : "NOTICE",
"DS02_DNSKEY_NOT_FOR_ZONE_SIGNING" : "ERROR",
"DS02_DNSKEY_NOT_SEP" : "NOTICE",
"DS02_DNSKEY_NOT_SIGNED_BY_ANY_DS" : "ERROR",
"DS02_NO_DNSKEY_FOR_DS" : "WARNING",
"DS02_NO_MATCHING_DNSKEY_RRSIG" : "WARNING",
"DS02_NO_MATCH_DS_DNSKEY" : "ERROR",
"DS02_NO_VALID_DNSKEY_FOR_ANY_DS" : "ERROR",
"DS02_RRSIG_NOT_VALID_BY_DNSKEY" : "ERROR",
"DS03_ERROR_RESPONSE_NSEC_QUERY" : "ERROR",
"DS03_ERR_MULT_NSEC3" : "ERROR",
"DS03_ILLEGAL_HASH_ALGO" : "ERROR",
"DS03_ILLEGAL_ITERATION_VALUE" : "ERROR",
"DS03_ILLEGAL_SALT_LENGTH" : "WARNING",
"DS03_INCONSISTENT_HASH_ALGO" : "ERROR",
"DS03_INCONSISTENT_ITERATION" : "ERROR",
"DS03_INCONSISTENT_NSEC3_FLAGS" : "ERROR",
"DS03_INCONSISTENT_SALT_LENGTH" : "ERROR",
"DS03_LEGAL_EMPTY_SALT" : "INFO",
"DS03_LEGAL_HASH_ALGO" : "INFO",
"DS03_LEGAL_ITERATION_VALUE" : "INFO",
"DS03_NO_DNSSEC_SUPPORT" : "NOTICE",
"DS03_NO_NSEC3" : "INFO",
"DS03_NO_RESPONSE_NSEC_QUERY": "ERROR",
"DS03_NSEC3_OPT_OUT_DISABLED" : "INFO",
"DS03_NSEC3_OPT_OUT_ENABLED_NON_TLD" : "NOTICE",
"DS03_NSEC3_OPT_OUT_ENABLED_TLD" : "INFO",
"DS03_SERVER_NO_DNSSEC_SUPPORT" : "ERROR",
"DS03_SERVER_NO_NSEC3" : "ERROR",
"DS03_UNASSIGNED_FLAG_USED" : "ERROR",
"DS08_ALGO_NOT_SUPPORTED_BY_ZM" : "NOTICE",
"DS08_DNSKEY_RRSIG_EXPIRED" : "ERROR",
"DS08_DNSKEY_RRSIG_NOT_YET_VALID" : "ERROR",
"DS08_MISSING_RRSIG_IN_RESPONSE" : "ERROR",
"DS08_NO_MATCHING_DNSKEY" : "ERROR",
"DS08_RRSIG_NOT_VALID_BY_DNSKEY" : "ERROR",
"DS09_ALGO_NOT_SUPPORTED_BY_ZM" : "NOTICE",
"DS09_MISSING_RRSIG_IN_RESPONSE" : "ERROR",
"DS09_NO_MATCHING_DNSKEY" : "ERROR",
"DS09_RRSIG_NOT_VALID_BY_DNSKEY" : "ERROR",
"DS09_SOA_RRSIG_EXPIRED" : "ERROR",
"DS09_SOA_RRSIG_NOT_YET_VALID" : "ERROR",
"DS10_ALGO_NOT_SUPPORTED_BY_ZM" : "NOTICE",
"DS10_ANSWER_VERIFY_ERROR" : "DEBUG",
"DS10_HAS_NSEC" : "INFO",
"DS10_HAS_NSEC3" : "INFO",
"DS10_INCONSISTENT_NSEC_NSEC3" : "ERROR",
"DS10_MISSING_NSEC_NSEC3" : "ERROR",
"DS10_MIXED_NSEC_NSEC3" : "ERROR",
"DS10_NAME_NOT_COVERED_BY_NSEC" : "ERROR",
"DS10_NAME_NOT_COVERED_BY_NSEC3" : "ERROR",
"DS10_NON_EXISTENT_RESPONSE_ERROR" : "ERROR",
"DS10_NSEC3_MISSING_SIGNATURE" : "ERROR",
"DS10_NSEC3_RRSIG_VERIFY_ERROR" : "ERROR",
"DS10_NSEC_MISSING_SIGNATURE" : "ERROR",
"DS10_NSEC_RRSIG_VERIFY_ERROR" : "ERROR",
"DS10_UNSIGNED_ANSWER" : "ERROR",
"DS11_INCONSISTENT_DS" : "WARNING",
"DS11_INCONSISTENT_SIGNED_ZONE" : "ERROR",
"DS11_UNDETERMINED_DS" : "ERROR",
"DS11_UNDETERMINED_SIGNED_ZONE" : "ERROR",
"DS11_PARENT_WITHOUT_DS" : "NOTICE",
"DS11_PARENT_WITH_DS" : "NOTICE",
"DS11_NS_WITH_SIGNED_ZONE" : "NOTICE",
"DS11_NS_WITH_UNSIGNED_ZONE" : "WARNING",
"DS11_DS_BUT_UNSIGNED_ZONE" : "ERROR",
"DS13_ALGO_NOT_SIGNED_DNSKEY" : "WARNING",
"DS13_ALGO_NOT_SIGNED_NS" : "WARNING",
"DS13_ALGO_NOT_SIGNED_SOA" : "WARNING",
"DS15_HAS_CDNSKEY_NO_CDS" : "NOTICE",
"DS15_HAS_CDS_AND_CDNSKEY" : "INFO",
"DS15_HAS_CDS_NO_CDNSKEY" : "NOTICE",
"DS15_INCONSISTENT_CDNSKEY" : "ERROR",
"DS15_INCONSISTENT_CDS" : "ERROR",
"DS15_MISMATCH_CDS_CDNSKEY" : "ERROR",
"DS15_NO_CDS_CDNSKEY" : "INFO",
"DS16_CDS_INVALID_RRSIG" : "ERROR",
"DS16_CDS_MATCHES_NON_SEP_DNSKEY" : "NOTICE",
"DS16_CDS_MATCHES_NON_ZONE_DNSKEY" : "ERROR",
"DS16_CDS_MATCHES_NO_DNSKEY" : "WARNING",
"DS16_CDS_NOT_SIGNED_BY_CDS" : "NOTICE",
"DS16_CDS_SIGNED_BY_UNKNOWN_DNSKEY" : "ERROR",
"DS16_CDS_UNSIGNED" : "ERROR",
"DS16_CDS_WITHOUT_DNSKEY" : "ERROR",
"DS16_DELETE_CDS" : "INFO",
"DS16_DNSKEY_NOT_SIGNED_BY_CDS" : "WARNING",
"DS16_MIXED_DELETE_CDS" : "ERROR",
"DS17_CDNSKEY_INVALID_RRSIG" : "ERROR",
"DS17_CDNSKEY_IS_NON_SEP" : "NOTICE",
"DS17_CDNSKEY_IS_NON_ZONE" : "ERROR",
"DS17_CDNSKEY_MATCHES_NO_DNSKEY" : "WARNING",
"DS17_CDNSKEY_NOT_SIGNED_BY_CDNSKEY" : "NOTICE",
"DS17_CDNSKEY_SIGNED_BY_UNKNOWN_DNSKEY" : "ERROR",
"DS17_CDNSKEY_UNSIGNED" : "ERROR",
"DS17_CDNSKEY_WITHOUT_DNSKEY" : "ERROR",
"DS17_DELETE_CDNSKEY" : "INFO",
"DS17_DNSKEY_NOT_SIGNED_BY_CDNSKEY" : "WARNING",
"DS17_MIXED_DELETE_CDNSKEY" : "ERROR",
"DS18_NO_MATCH_CDS_RRSIG_DS" : "ERROR",
"DS18_NO_MATCH_CDNSKEY_RRSIG_DS" : "ERROR",
"DS_BUT_NOT_DNSKEY" : "ERROR",
"DURATION_LONG" : "WARNING",
"DURATION_OK" : "DEBUG",
"EXTRA_PROCESSING_BROKEN" : "ERROR",
"EXTRA_PROCESSING_OK" : "DEBUG",
"HAS_NSEC3_OPTOUT" : "INFO",
"INVALID_NAME_RCODE" : "NOTICE",
"IPV4_DISABLED" : "DEBUG",
"IPV6_DISABLED" : "DEBUG",
"KEY_DETAILS" : "DEBUG",
"KEY_SIZE_OK" : "INFO",
"NEITHER_DNSKEY_NOR_DS" : "NOTICE",
"NO_RESPONSE" : "DEBUG",
"NO_RESPONSE_DNSKEY" : "ERROR",
"NOT_SIGNED" : "NOTICE",
"REMAINING_LONG" : "WARNING",
"REMAINING_SHORT" : "WARNING",
"RRSIG_EXPIRATION" : "INFO",
"RRSIG_EXPIRED" : "ERROR",
"TEST_CASE_END" : "DEBUG",
"TEST_CASE_START" : "DEBUG"
},
"NAMESERVER" : {
"AAAA_BAD_RDATA" : "ERROR",
"AAAA_QUERY_DROPPED" : "ERROR",
"AAAA_UNEXPECTED_RCODE" : "ERROR",
"AAAA_WELL_PROCESSED" : "INFO",
"AXFR_AVAILABLE" : "NOTICE",
"AXFR_FAILURE" : "INFO",
"A_UNEXPECTED_RCODE" : "WARNING",
"BREAKS_ON_EDNS" : "ERROR",
"CAN_BE_RESOLVED" : "INFO",
"CAN_NOT_BE_RESOLVED" : "ERROR",
"CASE_QUERIES_RESULTS_DIFFER" : "ERROR",
"CASE_QUERIES_RESULTS_OK" : "INFO",
"CASE_QUERY_DIFFERENT_ANSWER" : "WARNING",
"CASE_QUERY_DIFFERENT_RC" : "WARNING",
"CASE_QUERY_NO_ANSWER" : "WARNING",
"CASE_QUERY_SAME_ANSWER" : "DEBUG",
"CASE_QUERY_SAME_RC" : "DEBUG",
"DIFFERENT_SOURCE_IP" : "WARNING",
"EDNS0_SUPPORT" : "INFO",
"EDNS_RESPONSE_WITHOUT_EDNS" : "ERROR",
"EDNS_VERSION_ERROR" : "ERROR",
"IPV4_DISABLED" : "DEBUG",
"IPV6_DISABLED" : "DEBUG",
"IS_A_RECURSOR" : "ERROR",
"MISSING_OPT_IN_TRUNCATED" : "WARNING",
"NO_EDNS_SUPPORT" : "WARNING",
"NO_RECURSOR" : "INFO",
"NO_RESOLUTION" : "ERROR",
"NO_RESPONSE" : "DEBUG",
"NO_UPWARD_REFERRAL" : "INFO",
"NS_ERROR" : "WARNING",
"N10_NO_RESPONSE_EDNS1_QUERY" : "WARNING",
"N10_UNEXPECTED_RCODE" : "WARNING",
"N10_EDNS_RESPONSE_ERROR" : "WARNING",
"N11_NO_EDNS" : "WARNING",
"N11_NO_RESPONSE" : "WARNING",
"N11_RETURNS_UNKNOWN_OPTION_CODE" : "WARNING",
"N11_UNEXPECTED_ANSWER_SECTION" : "WARNING",
"N11_UNEXPECTED_RCODE" : "WARNING",
"N11_UNSET_AA" : "WARNING",
"N15_ERROR_ON_VERSION_QUERY" : "NOTICE",
"N15_NO_VERSION_REVEALED" : "INFO",
"N15_SOFTWARE_VERSION" : "NOTICE",
"N15_WRONG_CLASS" : "WARNING",
"QNAME_CASE_INSENSITIVE" : "WARNING",
"QNAME_CASE_SENSITIVE" : "INFO",
"QUERY_DROPPED" : "NOTICE",
"SAME_SOURCE_IP" : "INFO",
"TEST_CASE_END" : "DEBUG",
"TEST_CASE_START" : "DEBUG",
"UPWARD_REFERRAL" : "WARNING",
"UPWARD_REFERRAL_IRRELEVANT" : "INFO"
},
"SYNTAX" : {
"DISCOURAGED_DOUBLE_DASH" : "WARNING",
"INITIAL_HYPHEN" : "ERROR",
"MNAME_DISCOURAGED_DOUBLE_DASH" : "WARNING",
"MNAME_NON_ALLOWED_CHARS" : "WARNING",
"MNAME_NUMERIC_TLD" : "WARNING",
"MNAME_SYNTAX_OK" : "INFO",
"MX_DISCOURAGED_DOUBLE_DASH" : "WARNING",
"MX_NON_ALLOWED_CHARS" : "WARNING",
"MX_NUMERIC_TLD" : "WARNING",
"MX_SYNTAX_OK" : "INFO",
"NAMESERVER_DISCOURAGED_DOUBLE_DASH" : "WARNING",
"NAMESERVER_NON_ALLOWED_CHARS" : "ERROR",
"NAMESERVER_NUMERIC_TLD" : "ERROR",
"NAMESERVER_SYNTAX_OK" : "INFO",
"NO_DOUBLE_DASH" : "INFO",
"NO_ENDING_HYPHENS" : "INFO",
"NON_ALLOWED_CHARS" : "ERROR",
"NO_RESPONSE" : "DEBUG",
"NO_RESPONSE_MX_QUERY" : "DEBUG",
"NO_RESPONSE_SOA_QUERY" : "DEBUG",
"ONLY_ALLOWED_CHARS" : "INFO",
"RNAME_MAIL_DOMAIN_INVALID" : "NOTICE",
"RNAME_MISUSED_AT_SIGN" : "WARNING",
"RNAME_NO_AT_SIGN" : "INFO",
"RNAME_RFC822_INVALID" : "WARNING",
"RNAME_RFC822_VALID" : "INFO",
"TERMINAL_HYPHEN" : "ERROR",
"TEST_CASE_END" : "DEBUG",
"TEST_CASE_START" : "DEBUG"
},
"SYSTEM" : {
"CACHE_CREATED" : "DEBUG2",
"CACHE_FETCHED" : "DEBUG2",
"CACHED_RETURN" : "DEBUG3",
"CANNOT_CONTINUE" : "CRITICAL",
"DEPENDENCY_VERSION" : "DEBUG",
"EMPTY_RETURN" : "DEBUG3",
"EXTERNAL_RESPONSE" : "DEBUG3",
"FAKE_DELEGATION_ADDED" : "DEBUG2",
"FAKE_DELEGATION_IN_ZONE_NO_IP" : "ERROR",
"FAKE_DELEGATION_NO_IP" : "ERROR",
"FAKE_DELEGATION_RETURNED" : "DEBUG2",
"FAKE_DELEGATION_TO_SELF" : "DEBUG2",
"FAKE_DS_ADDED" : "DEBUG2",
"FAKE_DS_RETURNED" : "DEBUG2",
"FAKE_PACKET_RETURNED" : "DEBUG3",
"GLOBAL_VERSION" : "INFO",
"IPV4_BLOCKED" : "DEBUG2",
"IPV6_BLOCKED" : "DEBUG2",
"IS_BLACKLISTED" : "DEBUG",
"IS_REDIRECT" : "DEBUG2",
"LOGGER_CALLBACK_ERROR" : "DEBUG",
"LOOKUP_ERROR" : "INFO",
"MODULE_ERROR" : "CRITICAL",
"MODULE_VERSION" : "DEBUG",
"MODULE_END" : "DEBUG",
"NO_NETWORK": "CRITICAL",
"NO_SUCH_NAME" : "DEBUG2",
"NO_SUCH_RECORD" : "DEBUG2",
"NS_CREATED" : "DEBUG2",
"PACKET_BIG" : "DEBUG",
"QUERY" : "DEBUG2",
"RECURSE" : "DEBUG2",
"RECURSE_QUERY" : "DEBUG2",
"RESTORED_NS_CACHE" : "DEBUG2",
"SAVED_NS_CACHE" : "DEBUG2",
"SKIP_IPV4_DISABLED": "DEBUG",
"SKIP_IPV6_DISABLED": "DEBUG",
"START_TIME": "DEBUG",
"TEST_TARGET": "DEBUG",
"UNKNOWN_METHOD" : "CRITICAL",
"UNKNOWN_MODULE" : "CRITICAL"
},
"ZONE" : {
"EXPIRE_LOWER_THAN_REFRESH" : "WARNING",
"EXPIRE_MINIMUM_VALUE_LOWER" : "WARNING",
"EXPIRE_MINIMUM_VALUE_OK" : "INFO",
"MNAME_HAS_NO_ADDRESS" : "WARNING",
"MNAME_IS_CNAME" : "NOTICE",
"MNAME_IS_NOT_CNAME" : "INFO",
"MULTIPLE_SOA" : "ERROR",
"MX_RECORD_IS_CNAME" : "ERROR",
"MX_RECORD_IS_NOT_CNAME" : "INFO",
"NO_RESPONSE" : "DEBUG",
"NO_RESPONSE_MX_QUERY" : "DEBUG",
"NO_RESPONSE_SOA_QUERY" : "DEBUG",
"NO_SOA_IN_RESPONSE" : "DEBUG",
"ONE_SOA" : "INFO",
"REFRESH_HIGHER_THAN_RETRY" : "INFO",
"REFRESH_LOWER_THAN_RETRY" : "INFO",
"REFRESH_MINIMUM_VALUE_LOWER" : "NOTICE",
"REFRESH_MINIMUM_VALUE_OK" : "INFO",
"RETRY_MINIMUM_VALUE_LOWER" : "NOTICE",
"RETRY_MINIMUM_VALUE_OK" : "INFO",
"SOA_DEFAULT_TTL_MAXIMUM_VALUE_HIGHER" : "NOTICE",
"SOA_DEFAULT_TTL_MAXIMUM_VALUE_LOWER" : "NOTICE",
"SOA_DEFAULT_TTL_MAXIMUM_VALUE_OK" : "INFO",
"TEST_CASE_END" : "DEBUG",
"TEST_CASE_START" : "DEBUG",
"WRONG_SOA" : "DEBUG",
"Z01_MNAME_HAS_LOCALHOST_ADDR": "WARNING",
"Z01_MNAME_IS_DOT": "NOTICE",
"Z01_MNAME_IS_LOCALHOST": "WARNING",
"Z01_MNAME_IS_MASTER": "DEBUG",
"Z01_MNAME_MISSING_SOA_RECORD": "WARNING",
"Z01_MNAME_NO_RESPONSE": "WARNING",
"Z01_MNAME_NOT_AUTHORITATIVE": "WARNING",
"Z01_MNAME_NOT_IN_NS_LIST": "INFO",
"Z01_MNAME_NOT_MASTER": "WARNING",
"Z01_MNAME_NOT_RESOLVE": "WARNING",
"Z01_MNAME_UNEXPECTED_RCODE": "WARNING",
"Z09_INCONSISTENT_MX" : "WARNING",
"Z09_INCONSISTENT_MX_DATA" : "WARNING",
"Z09_MISSING_MAIL_TARGET" : "NOTICE",
"Z09_MX_DATA" : "INFO",
"Z09_MX_FOUND" : "INFO",
"Z09_NON_AUTH_MX_RESPONSE" : "WARNING",
"Z09_NO_MX_FOUND" : "INFO",
"Z09_NO_RESPONSE_MX_QUERY" : "WARNING",
"Z09_NULL_MX_NON_ZERO_PREF" : "NOTICE",
"Z09_NULL_MX_WITH_OTHER_MX" : "WARNING",
"Z09_ROOT_EMAIL_DOMAIN" : "NOTICE",
"Z09_TLD_EMAIL_DOMAIN" : "WARNING",
"Z09_UNEXPECTED_RCODE_MX" : "WARNING",
"Z11_INCONSISTENT_SPF_POLICIES": "WARNING",
"Z11_DIFFERENT_SPF_POLICIES_FOUND": "NOTICE",
"Z11_NO_SPF_FOUND": "NOTICE",
"Z11_SPF1_MULTIPLE_RECORDS": "ERROR",
"Z11_SPF1_SYNTAX_ERROR": "ERROR",
"Z11_SPF1_SYNTAX_OK": "INFO",
"Z11_UNABLE_TO_CHECK_FOR_SPF": "ERROR"
}
}
}

View File

@@ -0,0 +1,7 @@
. 3600000 NS ns1.
ns1. 3600000 A 127.1.0.1
ns1. 3600000 AAAA fda1:b2:c3::127:1:0:1
;
. 3600000 NS ns2.
ns2. 3600000 A 127.1.0.2
ns2. 3600000 AAAA fda1:b2:c3::127:1:0:2

View File

@@ -0,0 +1,83 @@
$ORIGIN .
$TTL 3600
@ SOA ns1. admin.xb. (
2022112300 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1.
NS ns2.
ns1. A 127.1.0.1
ns1. AAAA fda1:b2:c3::127:1:0:1
ns2. A 127.1.0.2
ns2. AAAA fda1:b2:c3::127:1:0:2
arpa. NS ns1.
arpa. NS ns2.
xa. NS ns1.xa.
ns1.xa. A 127.2.0.11
ns1.xa. AAAA fda1:b2:c3::127:2:0:11
xa. NS ns2.xa.
ns2.xa. A 127.2.0.12
ns2.xa. AAAA fda1:b2:c3::127:2:0:12
$ORIGIN xb.
@ NS ns1
@ NS ns2
ns1 A 127.2.0.13
ns1 AAAA fda1:b2:c3::127:2:0:13
ns2 A 127.2.0.14
ns2 AAAA fda1:b2:c3::127:2:0:14
$ORIGIN tld-email-domain-zone09.
@ NS ns1
@ NS ns2
ns1 A 127.19.9.41
ns1 AAAA fda1:b2:c3::127:19:9:41
ns2 A 127.19.9.42
ns2 AAAA fda1:b2:c3::127:19:9:42
asnlookup.zonemaster.net. NS ns2.asnlookup.zonemaster.net.
asnlookup.zonemaster.net. NS ns1.asnlookup.zonemaster.net.
ns1.asnlookup.zonemaster.net. A 127.3.0.1
ns2.asnlookup.zonemaster.net. A 127.3.0.2
; ZONE09
$ORIGIN tld-email-domain-zone09.
@ NS ns1
@ NS ns2
ns1 A 127.19.9.41
ns1 AAAA fda1:b2:c3::127:19:9:41
ns2 A 127.19.9.42
ns2 AAAA fda1:b2:c3::127:19:9:42
; ZONE11
$ORIGIN no-spf-zone11.
@ NS ns1.zone11.xa.
@ NS ns2.zone11.xa.
$ORIGIN null-spf-zone11.
@ NS ns1.zone11.xa.
@ NS ns2.zone11.xa.
$ORIGIN non-null-spf-zone11.
@ NS ns1.zone11.xa.
@ NS ns2.zone11.xa.
; DNSSEC03
$ORIGIN nsec3-opt-out-enabled-tld-dnssec03.
@ NS ns1
@ NS ns2
ns1 A 127.15.3.31
ns1 AAAA fda1:b2:c3:0:127:15:3:31
ns2 A 127.15.3.32
ns2 AAAA fda1:b2:c3:0:127:15:3:32
;EOF

View File

@@ -0,0 +1,149 @@
$ORIGIN xa.
$TTL 3600
@ SOA ns1.xa. admin.mail.xa. (
2024041900 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1
NS ns2
ns1 A 127.2.0.11
ns1 AAAA fda1:b2:c3::127:2:0:11
ns2 A 127.2.0.12
ns2 AAAA fda1:b2:c3::127:2:0:12
;;;; Test case based
;; Address-TP
$ORIGIN address01.xa. ; Must be FQDN
@ NS ns1
@ NS ns2
ns1 A 127.11.1.21
ns1 AAAA fda1:b2:c3:0:127:11:1:21
ns2 A 127.11.1.22
ns2 AAAA fda1:b2:c3:0:127:11:1:22
$ORIGIN address03.xa. ; Must be FQDN
@ NS ns1
@ NS ns2
ns1 A 127.11.3.21
ns1 AAAA fda1:b2:c3:0:127:11:3:21
ns2 A 127.11.3.22
ns2 AAAA fda1:b2:c3:0:127:11:3:22
;; Basic-TP
$ORIGIN basic01.xa. ; Must be FQDN
@ NS ns1
@ NS ns2
ns1 A 127.12.1.21
ns1 AAAA fda1:b2:c3:0:127:12:1:21
ns2 A 127.12.1.22
ns2 AAAA fda1:b2:c3:0:127:12:1:22
; connectivity04.xa has its own root.
;; Consistency-TP
$ORIGIN consistency05.xa.
@ NS ns1
@ NS ns2
ns1 A 127.14.5.21
ns1 AAAA fda1:b2:c3::127:14:5:21
ns1 A 127.14.5.22
ns1 AAAA fda1:b2:c3::127:14:5:22
$ORIGIN consistency06.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.14.6.21
ns1 AAAA fda1:b2:c3::127:14:6:21
ns1 A 127.14.6.22
ns1 AAAA fda1:b2:c3::127:14:6:22
;; Delegation-TP
; delegation01 has its own root
; delegation02 has its own root
; delegation03 has its own root
;; DNSSEC-TP
$ORIGIN dnssec03.xa. ; Must be FQDN
@ NS ns1
@ NS ns2
ns1 A 127.15.3.21
ns1 AAAA fda1:b2:c3::127:15:3:21
ns2 A 127.15.3.22
ns2 AAAA fda1:b2:c3::127:15:3:22
$ORIGIN dnssec10.xa. ; Must be FQDN
@ NS ns1
@ NS ns2
ns1 A 127.15.10.21
ns1 AAAA fda1:b2:c3::127:15:10:21
ns2 A 127.15.10.22
ns2 AAAA fda1:b2:c3::127:15:10:22
$ORIGIN dnssec16.xa. ; Must be FQDN
@ NS ns1
@ NS ns2
ns1 A 127.15.16.21
ns1 AAAA fda1:b2:c3::127:15:16:21
ns2 A 127.15.16.22
ns2 AAAA fda1:b2:c3::127:15:16:22
;; Nameserver-TP
$ORIGIN nameserver15.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.17.15.21
ns1 AAAA fda1:b2:c3:0:127:17:15:21
ns2 A 127.17.15.22
ns2 AAAA fda1:b2:c3:0:127:17:15:22
;; Zone-TP
$ORIGIN zone09.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.19.9.21
ns1 AAAA fda1:b2:c3::127:19:9:21
ns2 A 127.19.9.22
ns2 AAAA fda1:b2:c3::127:19:9:22
$ORIGIN zone11.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.19.11.21
ns1 AAAA fda1:b2:c3::127:19:11:21
ns2 A 127.19.11.22
ns2 AAAA fda1:b2:c3::127:19:11:22
;;;; MethodsV2
$ORIGIN methodsv2.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.40.1.21
ns1 AAAA fda1:b2:c3:0:127:40:1:21
ns2 A 127.40.1.22
ns2 AAAA fda1:b2:c3:0:127:40:1:22
;;;; Engine
$ORIGIN recursor.engine.xa. ; Must end with "."
@ NS ns1
@ NS ns2
ns1 A 127.30.1.21
ns1 AAAA fda1:b2:c3:0:127:30:1:21
ns2 A 127.30.1.22
ns2 AAAA fda1:b2:c3:0:127:30:1:22
;EOF

View File

@@ -0,0 +1,36 @@
$ORIGIN xb.
$TTL 3600
@ SOA ns1.xb. admin.mail.xa. (
2024051801 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
NS ns1
NS ns2
ns1 A 127.2.0.13
ns1 AAAA fda1:b2:c3::127:2:0:13
ns2 A 127.2.0.14
ns2 AAAA fda1:b2:c3::127:2:0:14
$ORIGIN consistency05.xb.
@ NS ns1
@ NS ns2
ns1 A 127.14.5.23
ns1 AAAA fda1:b2:c3::127:14:5:23
ns2 A 127.14.5.24
ns2 AAAA fda1:b2:c3::127:14:5:24
$ORIGIN consistency06.xb.
@ NS ns1
@ NS ns2
ns1 A 127.14.6.23
ns1 AAAA fda1:b2:c3::127:14:6:23
ns2 A 127.14.6.24
ns2 AAAA fda1:b2:c3::127:14:6:24
;EOF

View File

@@ -0,0 +1,12 @@
[This directory](.), i.e. the same directory as this README file, holds zone
files and configuration files to implement the test zones for the scenarios
defined in [Connectivity04 test scenario specification].
For these test zones the following files are found in [This directory](.):
* Zone files for `asnlookup.zonemaster.net` and `connectivity04.xa`.
* CoreDNS configuration file
* Zone file and hint file for local root zone.
* "Test Zones Output" for Connectivity04.
[Connectivity04 test scenario specification]: ../../../docs/public/specifications/test-zones/Connectivity-TP/connectivity04.md

View File

@@ -0,0 +1,127 @@
$ORIGIN asnlookup.zonemaster.net. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024102301 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.13.4.25
ns1 AAAA fda1:b2:c3:0:127:13:4:25
ns2 A 127.13.4.26
ns2 AAAA fda1:b2:c3:0:127:13:4:26
1.origin TXT "Test string"
$ORIGIN 100.127.origin.asnlookup.zonemaster.net.
; 1.100.100.127.origin.asnlookup.zonemaster.net.
*.100 TXT "64512 | 127.100.100.0/24 | NA | NA | NA"
*.101 TXT "64512 | 127.100.101.0/24 | NA | NA | NA"
*.102 TXT "64512 | 127.100.102.0/24 | NA | NA | NA"
*.103 TXT "64512 | 127.100.103.0/24 | NA | NA | NA"
*.104 TXT "64512 | 127.100.104.0/24 | NA | NA | NA"
*.105 TXT "64512 | 127.100.105.0/24 | NA | NA | NA"
;
*.106 TXT "64512 | 127.100.106.0/24 | NA | NA | NA"
*.106 TXT "This is not ASN data" ; Ignored
;
;*.107 ; Gives NXDOMAIN (EMPTY_PREFIX_SET)
*.108 HINFO "VPS OS" ; Gives NODATA (EMPTY_PREFIX_SET)
*.109 TXT "This is not ASN data" ; Ignored (EMPTY_PREFIX_SET)
;*.110 ; SERVFAIL by cfg ; Gives ERROR_PREFIX_DATABASE
;*.111 ; REFUSED by cfg ; Gives ERROR_PREFIX_DATABASE
;*.112 ; No response (drop) by cfg ; Gives ERROR_PREFIX_DATABASE
*.113 TXT "64512 | 127.100.113.0/24 | NA | NA | NA"
*.114 TXT "64512 | 127.100.114.0/24 | NA | NA | NA"
*.115 TXT "64512 | 127.100.115.0/24 | NA | NA | NA"
*.116 TXT "64512 | 127.100.116.0/24 | NA | NA | NA"
*.117 TXT "64512 | 127.100.117.0/24 | NA | NA | NA"
*.118 TXT "64512 | 127.100.118.0/24 | NA | NA | NA"
*.119 TXT "64512 | 127.100.119.0/24 | NA | NA | NA"
*.120 TXT "64512 | 127.100.120.0/24 | NA | NA | NA"
;
; Double prefix:
*.121 TXT "64512 | 127.100.121.0/24 | NA | NA | NA"
*.121 TXT "64512 | 127.100.0.0/16 | NA | NA | NA"
;
; Double prefix:
*.122 TXT "64512 | 127.100.122.0/24 | NA | NA | NA"
*.122 TXT "64512 | 127.100.0.0/16 | NA | NA | NA"
;
; Double prefix:
*.123 TXT "64512 | 127.100.123.0/24 | NA | NA | NA"
*.123 TXT "64512 | 127.100.0.0/16 | NA | NA | NA"
;
; Overlaps with previous:
*.124 TXT "64512 | 127.100.0.0/16 | NA | NA | NA"
;
; Extra TXT with prefix does not match address in lookup
*.125 TXT "64512 | 127.100.125.0/24 | NA | NA | NA"
*.125 TXT "64512 | 127.100.255.0/24 | NA | NA | NA"
;
; Prefix does not match address in lookup
*.126 TXT "64512 | 127.100.255.0/24 | NA | NA | NA"
;
*.127 CNAME not-a-valid-name
$ORIGIN 0.0.1.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.origin6.asnlookup.zonemaster.net.
*.0.0.1.0 TXT "64513 | fda1:b2:c3:0:127:100:100::/112 | NA | NA | NA"
*.1.0.1.0 TXT "64513 | fda1:b2:c3:0:127:100:101::/112 | NA | NA | NA"
*.2.0.1.0 TXT "64513 | fda1:b2:c3:0:127:100:102::/112 | NA | NA | NA"
*.3.0.1.0 TXT "64513 | fda1:b2:c3:0:127:100:103::/112 | NA | NA | NA"
*.4.0.1.0 TXT "64513 | fda1:b2:c3:0:127:100:104::/112 | NA | NA | NA"
*.5.0.1.0 TXT "64513 | fda1:b2:c3:0:127:100:105::/112 | NA | NA | NA"
;
*.6.0.1.0 TXT "64513 | fda1:b2:c3:0:127:100:106::/112 | NA | NA | NA"
*.6.0.1.0 TXT "This is not ASN data"
;
;*.7.0.1.0 ; Gives NXDOMAIN
*.8.0.1.0 HINFO "VPS OS" ; Gives NODATA
*.9.0.1.0 TXT "This is not ASN data"
;*.0.1.1.0 ; SERVFAIL by cfg
;*.1.1.1.0 ; REFUSED by cfg
;*.2.1.1.0 ; No response (drop) by cfg
*.3.1.1.0 TXT "64513 | fda1:b2:c3:0:127:100:113::/112 | NA | NA | NA"
*.4.1.1.0 TXT "64513 | fda1:b2:c3:0:127:100:114::/112 | NA | NA | NA"
*.5.1.1.0 TXT "64513 | fda1:b2:c3:0:127:100:115::/112 | NA | NA | NA"
*.6.1.1.0 TXT "64513 | fda1:b2:c3:0:127:100:116::/112 | NA | NA | NA"
*.7.1.1.0 TXT "64513 | fda1:b2:c3:0:127:100:117::/112 | NA | NA | NA"
*.8.1.1.0 TXT "64513 | fda1:b2:c3:0:127:100:118::/112 | NA | NA | NA"
*.9.1.1.0 TXT "64513 | fda1:b2:c3:0:127:100:119::/112 | NA | NA | NA"
*.0.2.1.0 TXT "64513 | fda1:b2:c3:0:127:100:120::/112 | NA | NA | NA"
;
; Double prefix:
*.1.2.1.0 TXT "64513 | fda1:b2:c3:0:127:100:121::/112 | NA | NA | NA"
*.1.2.1.0 TXT "64513 | fda1:b2:c3:0:127:100::/96 | NA | NA | NA"
;
; Double prefix:
*.2.2.1.0 TXT "64513 | fda1:b2:c3:0:127:100:122::/112 | NA | NA | NA"
*.2.2.1.0 TXT "64513 | fda1:b2:c3:0:127:100::/96 | NA | NA | NA"
;
; Double prefix:
*.3.2.1.0 TXT "64513 | fda1:b2:c3:0:127:100:123::/112 | NA | NA | NA"
*.3.2.1.0 TXT "64513 | fda1:b2:c3:0:127:100::/96 | NA | NA | NA"
;
; Overlaps with previous:
*.4.2.1.0 TXT "64513 | fda1:b2:c3:0:127:100::/96 | NA | NA | NA"
;
; Extra TXT with prefix does not match address in lookup
*.5.2.1.0 TXT "64513 | fda1:b2:c3:0:127:100:125::/112 | NA | NA | NA"
*.5.2.1.0 TXT "64513 | fda1:b2:c3:0:127:100:255::/112 | NA | NA | NA"
;
; Prefix does not match address in lookup
*.6.2.1.0 TXT "64513 | fda1:b2:c3:0:127:100:255::/112 | NA | NA | NA"
;
*.7.2.1.0 CNAME not-a-valid-name

View File

@@ -0,0 +1,278 @@
## root
.:53 {
bind 127.13.4.23 # ns1
bind fda1:b2:c3:0:127:13:4:23 # ns1
bind 127.13.4.24 # ns2
bind fda1:b2:c3:0:127:13:4:24 # ns2
log
file Connectivity-TP/connectivity04/root-zone.zone .
}
# Resolver using test case local root
. {
bind 127.13.4.53
unbound {
option root-hints Connectivity-TP/connectivity04/hintfile.zone
}
log
}
connectivity04.xa:53 {
bind 127.13.4.21 # ns1
bind fda1:b2:c3:0:127:13:4:21 # ns1
bind 127.13.4.22 # ns2
bind fda1:b2:c3:0:127:13:4:22 # ns2
log
file Connectivity-TP/connectivity04/connectivity04.xa.zone connectivity04.xa
}
### ==== ASN lookup ====
asnlookup.zonemaster.net:53 {
bind 127.13.4.25 # ns1
bind fda1:b2:c3:0:127:13:4:25 # ns1
bind 127.13.4.26 # ns2
bind fda1:b2:c3:0:127:13:4:26 # ns2
log
file Connectivity-TP/connectivity04/asnlookup.zonemaster.net.zone asnlookup.zonemaster.net
# 110
template IN ANY 110.100.127.origin.asnlookup.zonemaster.net {
rcode "SERVFAIL"
}
template IN ANY 0.1.1.0.0.0.1.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.origin6.asnlookup.zonemaster.net {
rcode "SERVFAIL"
}
# 111
template IN ANY 111.100.127.origin.asnlookup.zonemaster.net {
rcode "REFUSED"
}
template IN ANY 1.1.1.0.0.0.1.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.origin6.asnlookup.zonemaster.net {
rcode "REFUSED"
}
# 112
acl 112.100.127.origin.asnlookup.zonemaster.net {
drop
}
acl 2.1.1.0.0.0.1.0.7.2.1.0.0.0.0.0.3.c.0.0.2.b.0.0.1.a.d.f.origin6.asnlookup.zonemaster.net {
drop
}
}
### ==== Scenarios Connectivity04 ====
good-1.connectivity04.xa:53 {
bind 127.100.100.1
bind fda1:b2:c3:0:127:100:100:1
bind 127.100.101.1
bind fda1:b2:c3:0:127:100:101:1
log
template IN NS good-1.connectivity04.xa {
answer "good-1.connectivity04.xa. 3600 IN NS dns0.connectivity04.xa."
answer "good-1.connectivity04.xa. 3600 IN NS dns1.connectivity04.xa."
}
}
good-2.connectivity04.xa:53 {
bind 127.100.102.1
bind 127.100.103.1
log
template IN NS good-2.connectivity04.xa {
answer "good-2.connectivity04.xa. 3600 IN NS dns2.connectivity04.xa."
answer "good-2.connectivity04.xa. 3600 IN NS dns3.connectivity04.xa."
}
}
good-3.connectivity04.xa:53 {
bind fda1:b2:c3:0:127:100:104:1
bind fda1:b2:c3:0:127:100:105:1
log
template IN NS good-3.connectivity04.xa {
answer "good-3.connectivity04.xa. 3600 IN NS dns4.connectivity04.xa."
answer "good-3.connectivity04.xa. 3600 IN NS dns5.connectivity04.xa."
}
}
empty-prefix-set-1.connectivity04.xa:53 {
bind 127.100.107.1
bind fda1:b2:c3:0:127:100:107:1
log
template IN NS empty-prefix-set-1.connectivity04.xa {
answer "empty-prefix-set-1.connectivity04.xa. 3600 IN NS dns7.connectivity04.xa."
}
}
empty-prefix-set-2.connectivity04.xa:53 {
bind 127.100.108.1
bind fda1:b2:c3:0:127:100:108:1
log
template IN NS empty-prefix-set-2.connectivity04.xa {
answer "empty-prefix-set-2.connectivity04.xa. 3600 IN NS dns8.connectivity04.xa."
}
}
error-prefix-database-1.connectivity04.xa:53 {
bind 127.100.110.1
bind fda1:b2:c3:0:127:100:110:1
log
template IN NS error-prefix-database-1.connectivity04.xa {
answer "error-prefix-database-1.connectivity04.xa. 3600 IN NS dns10.connectivity04.xa."
}
}
error-prefix-database-2.connectivity04.xa:53 {
bind 127.100.111.1
bind fda1:b2:c3:0:127:100:111:1
log
template IN NS error-prefix-database-2.connectivity04.xa {
answer "error-prefix-database-2.connectivity04.xa. 3600 IN NS dns11.connectivity04.xa."
}
}
error-prefix-database-3.connectivity04.xa:53 {
bind 127.100.112.1
bind fda1:b2:c3:0:127:100:112:1
log
template IN NS error-prefix-database-3.connectivity04.xa {
answer "error-prefix-database-3.connectivity04.xa. 3600 IN NS dns12.connectivity04.xa."
}
}
# Scenarios ERROR-PREFIX-DATABASE-4 and -5 have been renamed.
error-prefix-database-6.connectivity04.xa:53 {
bind 127.100.125.1 # dns25
bind fda1:b2:c3:0:127:100:125:1
bind 127.100.101.1 # dns1
bind fda1:b2:c3:0:127:100:101:1
log
template IN NS error-prefix-database-6.connectivity04.xa {
answer "error-prefix-database-6.connectivity04.xa. 3600 IN NS dns25.connectivity04.xa."
answer "error-prefix-database-6.connectivity04.xa. 3600 IN NS dns1.connectivity04.xa."
}
}
error-prefix-database-7.connectivity04.xa:53 {
bind 127.100.126.1 # dns26
bind fda1:b2:c3:0:127:100:126:1
log
template IN NS error-prefix-database-7.connectivity04.xa {
answer "error-prefix-database-7.connectivity04.xa. 3600 IN NS dns26.connectivity04.xa."
}
}
error-prefix-database-8.connectivity04.xa:53 {
bind 127.100.127.1 # dns27
bind fda1:b2:c3:0:127:100:127:1
log
template IN NS error-prefix-database-8.connectivity04.xa {
answer "error-prefix-database-8.connectivity04.xa. 3600 IN NS dns27.connectivity04.xa."
}
}
has-non-asn-txt-1.connectivity04.xa:53 {
bind 127.100.106.1 # dns6
bind fda1:b2:c3:0:127:100:106:1
bind 127.100.101.1 # dns1
bind fda1:b2:c3:0:127:100:101:1
log
template IN NS has-non-asn-txt-1.connectivity04.xa {
answer "has-non-asn-txt-1.connectivity04.xa. 3600 IN NS dns6.connectivity04.xa."
answer "has-non-asn-txt-1.connectivity04.xa. 3600 IN NS dns1.connectivity04.xa."
}
}
has-non-asn-txt-2.connectivity04.xa:53 {
bind 127.100.109.1 # dns9
bind fda1:b2:c3:0:127:100:109:1
log
template IN NS has-non-asn-txt-2.connectivity04.xa {
answer "has-non-asn-txt-2.connectivity04.xa. 3600 IN NS dns9.connectivity04.xa."
}
}
ipv4-one-prefix-1.connectivity04.xa:53 {
bind 127.100.113.1
bind 127.100.113.2
log
template IN NS ipv4-one-prefix-1.connectivity04.xa {
answer "ipv4-one-prefix-1.connectivity04.xa. 3600 IN NS dns13-1.connectivity04.xa."
answer "ipv4-one-prefix-1.connectivity04.xa. 3600 IN NS dns13-2.connectivity04.xa."
}
}
ipv4-two-prefixes-1.connectivity04.xa:53 {
bind 127.100.114.1
bind 127.100.114.2
bind 127.100.115.1
log
template IN NS ipv4-two-prefixes-1.connectivity04.xa {
answer "ipv4-two-prefixes-1.connectivity04.xa. 3600 IN NS dns14-1.connectivity04.xa."
answer "ipv4-two-prefixes-1.connectivity04.xa. 3600 IN NS dns14-2.connectivity04.xa."
answer "ipv4-two-prefixes-1.connectivity04.xa. 3600 IN NS dns15.connectivity04.xa."
}
}
ipv6-one-prefix-1.connectivity04.xa:53 {
bind fda1:b2:c3:0:127:100:116:1
bind fda1:b2:c3:0:127:100:116:2
log
template IN NS ipv6-one-prefix-1.connectivity04.xa {
answer "ipv6-one-prefix-1.connectivity04.xa. 3600 IN NS dns16-1.connectivity04.xa."
answer "ipv6-one-prefix-1.connectivity04.xa. 3600 IN NS dns16-2.connectivity04.xa."
}
}
ipv6-two-prefixes-1.connectivity04.xa:53 {
bind fda1:b2:c3:0:127:100:117:1
bind fda1:b2:c3:0:127:100:117:2
bind fda1:b2:c3:0:127:100:118:1
log
template IN NS ipv6-two-prefixes-1.connectivity04.xa {
answer "ipv6-two-prefixes-1.connectivity04.xa. 3600 IN NS dns17-1.connectivity04.xa."
answer "ipv6-two-prefixes-1.connectivity04.xa. 3600 IN NS dns17-2.connectivity04.xa."
answer "ipv6-two-prefixes-1.connectivity04.xa. 3600 IN NS dns18.connectivity04.xa."
}
}
ipv4-single-ns-1.connectivity04.xa:53 {
bind 127.100.119.1
log
template IN NS ipv4-single-ns-1.connectivity04.xa {
answer "ipv4-single-ns-1.connectivity04.xa. 3600 IN NS dns19.connectivity04.xa."
}
}
ipv6-single-ns-1.connectivity04.xa:53 {
bind fda1:b2:c3:0:127:100:120:1
log
template IN NS ipv6-single-ns-1.connectivity04.xa {
answer "ipv6-single-ns-1.connectivity04.xa. 3600 IN NS dns20.connectivity04.xa."
}
}
double-prefix-1.connectivity04.xa:53 {
bind 127.100.121.1
bind 127.100.122.1
bind fda1:b2:c3:0:127:100:121:1
bind fda1:b2:c3:0:127:100:122:1
log
template IN NS double-prefix-1.connectivity04.xa {
answer "double-prefix-1.connectivity04.xa. 3600 IN NS dns21.connectivity04.xa."
answer "double-prefix-1.connectivity04.xa. 3600 IN NS dns22.connectivity04.xa."
}
}
double-prefix-2.connectivity04.xa:53 {
bind 127.100.123.1
bind 127.100.124.1
bind fda1:b2:c3:0:127:100:123:1
bind fda1:b2:c3:0:127:100:124:1
log
template IN NS double-prefix-2.connectivity04.xa {
answer "double-prefix-2.connectivity04.xa. 3600 IN NS dns23.connectivity04.xa."
answer "double-prefix-2.connectivity04.xa. 3600 IN NS dns24.connectivity04.xa."
}
}

View File

@@ -0,0 +1,170 @@
$ORIGIN connectivity04.xa. ; Must end with "."
$TTL 3600
@ SOA ns1 admin. (
2024102400 ; serial
6h ; refresh
1h ; retry
1w ; expire
1d ) ; minimum
@ NS ns1
@ NS ns2
ns1 A 127.13.4.21
ns1 AAAA fda1:b2:c3:0:127:13:4:21
ns2 A 127.13.4.22
ns2 AAAA fda1:b2:c3:0:127:13:4:22
; ### GOOD-1
dns0 A 127.100.100.1
dns0 AAAA fda1:b2:c3:0:127:100:100:1
dns1 A 127.100.101.1
dns1 AAAA fda1:b2:c3:0:127:100:101:1
good-1 NS dns0
good-1 NS dns1
; ### GOOD-2
dns2 A 127.100.102.1
dns3 A 127.100.103.1
good-2 NS dns2
good-2 NS dns3
; ### GOOD-3
dns4 AAAA fda1:b2:c3:0:127:100:104:1
dns5 AAAA fda1:b2:c3:0:127:100:105:1
good-3 NS dns4
good-3 NS dns5
; dns6 used below
; ### EMPTY-PREFIX-SET-1
dns7 A 127.100.107.1 ; NXDOMAIN
dns7 AAAA fda1:b2:c3:0:127:100:107:1 ; NXDOMAIN
empty-prefix-set-1 NS dns7
; ### EMPTY-PREFIX-SET-2
dns8 A 127.100.108.1 ; NODATA
dns8 AAAA fda1:b2:c3:0:127:100:108:1 ; NODATA
empty-prefix-set-2 NS dns8
; dns9 used below
; ### ERROR-PREFIX-DATABASE-1
dns10 A 127.100.110.1 ; SERVFAIL
dns10 AAAA fda1:b2:c3:0:127:100:110:1 ; SERVFAIL
error-prefix-database-1 NS dns10
; ### ERROR-PREFIX-DATABASE-2
dns11 A 127.100.111.1 ; REFUSED
dns11 AAAA fda1:b2:c3:0:127:100:111:1 ; REFUSED
error-prefix-database-2 NS dns11
; ### ERROR-PREFIX-DATABASE-3
dns12 A 127.100.112.1 ; No response
dns12 AAAA fda1:b2:c3:0:127:100:112:1 ; No response
error-prefix-database-3 NS dns12
; ### ERROR-PREFIX-DATABASE-4 and -5: renamed
; ### ERROR-PREFIX-DATABASE-6
dns25 A 127.100.125.1 ; Extra TXT with mismatching prefix
dns25 AAAA fda1:b2:c3:0:127:100:125:1 ; Extra TXT with mismatching prefix
error-prefix-database-6 NS dns25
error-prefix-database-6 NS dns1 ; shared with good-1 and others
; ### ERROR-PREFIX-DATABASE-7
dns26 A 127.100.126.1 ; TXT with mismatching prefix (only)
dns26 AAAA fda1:b2:c3:0:127:100:126:1 ; TXT with mismatching prefix (only)
error-prefix-database-7 NS dns26
; ### ERROR-PREFIX-DATABASE-8
dns27 A 127.100.127.1 ; No TXT but a CNAME in response
dns27 AAAA fda1:b2:c3:0:127:100:127:1 ; No TXT but a CNAME in response
error-prefix-database-8 NS dns27
; ### HAS-NON-ASN-TXT-1
dns6 A 127.100.106.1 ; extra TXT
dns6 AAAA fda1:b2:c3:0:127:100:106:1 ; extra TXT
has-non-asn-txt-1 NS dns6
has-non-asn-txt-1 NS dns1 ; shared with good-1 and others
; ### HAS-NON-ASN-TXT-2
dns9 A 127.100.109.1 ; Other TXT
dns9 AAAA fda1:b2:c3:0:127:100:109:1 ; Other TXT
has-non-asn-txt-2 NS dns9
; ### IPV4-ONE-PREFIX-1
dns13-1 A 127.100.113.1
dns13-2 A 127.100.113.2
ipv4-one-prefix-1 NS dns13-1
ipv4-one-prefix-1 NS dns13-2
; ### IPV4-TWO-PREFIXES-1
dns14-1 A 127.100.114.1
dns14-2 A 127.100.114.2
dns15 A 127.100.115.1
ipv4-two-prefixes-1 NS dns14-1
ipv4-two-prefixes-1 NS dns14-2
ipv4-two-prefixes-1 NS dns15
; ### IPV6-ONE-PREFIX-1
dns16-1 AAAA fda1:b2:c3:0:127:100:116:1
dns16-2 AAAA fda1:b2:c3:0:127:100:116:2
ipv6-one-prefix-1 NS dns16-1
ipv6-one-prefix-1 NS dns16-2
; ### IPV6-TWO-PREFIXES-1
dns17-1 AAAA fda1:b2:c3:0:127:100:117:1
dns17-2 AAAA fda1:b2:c3:0:127:100:117:2
dns18 AAAA fda1:b2:c3:0:127:100:118:1
ipv6-two-prefixes-1 NS dns17-1
ipv6-two-prefixes-1 NS dns17-2
ipv6-two-prefixes-1 NS dns18
; ### IPV4-SINGLE-NS-1
dns19 A 127.100.119.1
ipv4-single-ns-1 NS dns19
; ### IPV6-SINGLE-NS-1
dns20 AAAA fda1:b2:c3:0:127:100:120:1
ipv6-single-ns-1 NS dns20
; ### DOUBLE-PREFIX-1
dns21 A 127.100.121.1 ; Double prefix
dns21 AAAA fda1:b2:c3:0:127:100:121:1 ; Double prefix
dns22 A 127.100.122.1 ; Double prefix
dns22 AAAA fda1:b2:c3:0:127:100:122:1 ; Double prefix
double-prefix-1 NS dns21
double-prefix-1 NS dns22
; ### DOUBLE-PREFIX-2
dns23 A 127.100.123.1 ; Double prefix
dns23 AAAA fda1:b2:c3:0:127:100:123:1 ; Double prefix
dns24 A 127.100.124.1 ; Overlapping prefix
dns24 AAAA fda1:b2:c3:0:127:100:124:1 ; Overlapping prefix
double-prefix-2 NS dns23
double-prefix-2 NS dns24

Some files were not shown because too many files have changed in this diff Show More