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:
@@ -0,0 +1,8 @@
|
||||
# Specification of test scenarios for Delegation-TP
|
||||
|
||||
|
||||
Test scenario specifications are available for:
|
||||
|
||||
* [Delegation01](delegation01.md)
|
||||
* [Delegation02](delegation02.md)
|
||||
* [Delegation03](delegation03.md)
|
||||
@@ -0,0 +1,245 @@
|
||||
# Specification of test Scenarios for Delegation01
|
||||
|
||||
|
||||
## Table of contents
|
||||
|
||||
* [Background](#background)
|
||||
* [Test Case](#test-case)
|
||||
* [Test scenarios](#test-scenarios)
|
||||
* [Test zone names](#test-zone-names)
|
||||
* [All message tags](#all-message-tags)
|
||||
* [Test scenarios and message tags](#test-scenarios-and-message-tags)
|
||||
* [Test zone setup]
|
||||
|
||||
|
||||
## Background
|
||||
|
||||
See the [test scenario README file].
|
||||
|
||||
|
||||
## Test Case
|
||||
|
||||
This document specifies test scenarios for test case [Delegation01].
|
||||
|
||||
|
||||
## Test scenarios
|
||||
|
||||
The purpose of the test scenarios is to cover all reasonable contexts where
|
||||
different message tags are output when [Delegation01] is run on a test zone.
|
||||
The message tags are defined in the test case ([Delegation01]) and the scenarios
|
||||
are defined below.
|
||||
|
||||
The test scenarios are structured as stated in the [test scenario README file].
|
||||
|
||||
## Test zone names
|
||||
|
||||
The test zone for each test scenario in this document is a subdomain delegated
|
||||
from the base name (`delegation01.xa`) and that subdomain having the same name as
|
||||
the scenario. The names of those zones are given in section
|
||||
[Test zone setup] below.
|
||||
|
||||
## All message tags
|
||||
|
||||
The test case can output any of these message tags, but not necessarily in any
|
||||
combination. See [Delegation01] for the specification of the tags.
|
||||
|
||||
* ENOUGH_IPV4_NS_CHILD
|
||||
* ENOUGH_IPV4_NS_DEL
|
||||
* ENOUGH_IPV6_NS_CHILD
|
||||
* ENOUGH_IPV6_NS_DEL
|
||||
* ENOUGH_NS_CHILD
|
||||
* ENOUGH_NS_DEL
|
||||
* NOT_ENOUGH_IPV4_NS_CHILD
|
||||
* NOT_ENOUGH_IPV4_NS_DEL
|
||||
* NOT_ENOUGH_IPV6_NS_CHILD
|
||||
* NOT_ENOUGH_IPV6_NS_DEL
|
||||
* NOT_ENOUGH_NS_CHILD
|
||||
* NOT_ENOUGH_NS_DEL
|
||||
* NO_IPV4_NS_CHILD
|
||||
* NO_IPV4_NS_DEL
|
||||
* NO_IPV6_NS_CHILD
|
||||
* NO_IPV6_NS_DEL
|
||||
|
||||
|
||||
## Test scenarios and message tags
|
||||
|
||||
If a message tag is not listed for the scenario, its presence or non-presence is
|
||||
irrelevant to the test scenario and must be ignored.
|
||||
|
||||
|
||||
Scenario name | Mandatory message tag | Forbidden message tags
|
||||
:-----------------------------|:---------------------------------------------------------|:-------------------------------------------
|
||||
ENOUGH-1 | ENOUGH_IPV4_NS_CHILD, ENOUGH_IPV4_NS_DEL, ENOUGH_IPV6_NS_CHILD, ENOUGH_IPV6_NS_DEL, ENOUGH_NS_CHILD, ENOUGH_NS_DEL | 2)
|
||||
ENOUGH-2 | ENOUGH_IPV4_NS_CHILD, ENOUGH_IPV4_NS_DEL, ENOUGH_IPV6_NS_CHILD, ENOUGH_IPV6_NS_DEL, ENOUGH_NS_CHILD, ENOUGH_NS_DEL | 2)
|
||||
ENOUGH-3 | ENOUGH_IPV4_NS_CHILD, ENOUGH_IPV4_NS_DEL, ENOUGH_IPV6_NS_CHILD, ENOUGH_IPV6_NS_DEL, ENOUGH_NS_CHILD, ENOUGH_NS_DEL | 2)
|
||||
ENOUGH-DEL-NOT-CHILD | ENOUGH_IPV4_NS_DEL, ENOUGH_IPV6_NS_DEL, ENOUGH_NS_DEL, NOT_ENOUGH_IPV4_NS_CHILD, NOT_ENOUGH_IPV6_NS_CHILD, NOT_ENOUGH_NS_CHILD | 2)
|
||||
ENOUGH-CHILD-NOT-DEL | ENOUGH_IPV4_NS_CHILD, ENOUGH_IPV6_NS_CHILD, ENOUGH_NS_CHILD, NOT_ENOUGH_IPV4_NS_DEL, NOT_ENOUGH_IPV6_NS_DEL, NOT_ENOUGH_NS_DEL | 2)
|
||||
IPV6-AND-DEL-OK-NO-IPV4-CHILD | ENOUGH_IPV4_NS_DEL, ENOUGH_IPV6_NS_CHILD, ENOUGH_IPV6_NS_DEL, ENOUGH_NS_CHILD, ENOUGH_NS_DEL, NO_IPV4_NS_CHILD | 2)
|
||||
IPV4-AND-DEL-OK-NO-IPV6-CHILD | ENOUGH_IPV4_NS_DEL, ENOUGH_IPV4_NS_CHILD, ENOUGH_IPV6_NS_DEL, ENOUGH_NS_CHILD, ENOUGH_NS_DEL, NO_IPV6_NS_CHILD | 2)
|
||||
NO-IPV4-1 | ENOUGH_IPV6_NS_CHILD, ENOUGH_IPV6_NS_DEL, ENOUGH_NS_CHILD, ENOUGH_NS_DEL, NO_IPV4_NS_CHILD, NO_IPV4_NS_DEL | 2)
|
||||
NO-IPV4-2 | ENOUGH_IPV6_NS_CHILD, ENOUGH_IPV6_NS_DEL, ENOUGH_NS_CHILD, ENOUGH_NS_DEL, NO_IPV4_NS_CHILD, NO_IPV4_NS_DEL | 2)
|
||||
NO-IPV4-3 | ENOUGH_IPV6_NS_CHILD, ENOUGH_IPV6_NS_DEL, ENOUGH_NS_CHILD, ENOUGH_NS_DEL, NO_IPV4_NS_CHILD, NO_IPV4_NS_DEL | 2)
|
||||
NO-IPV6-1 | ENOUGH_IPV4_NS_CHILD, ENOUGH_IPV4_NS_DEL, ENOUGH_NS_CHILD, ENOUGH_NS_DEL, NO_IPV6_NS_CHILD, NO_IPV6_NS_DEL | 2)
|
||||
NO-IPV6-2 | ENOUGH_IPV4_NS_CHILD, ENOUGH_IPV4_NS_DEL, ENOUGH_NS_CHILD, ENOUGH_NS_DEL, NO_IPV6_NS_CHILD, NO_IPV6_NS_DEL | 2)
|
||||
NO-IPV6-3 | ENOUGH_IPV4_NS_CHILD, ENOUGH_IPV4_NS_DEL, ENOUGH_NS_CHILD, ENOUGH_NS_DEL, NO_IPV6_NS_CHILD, NO_IPV6_NS_DEL | 2)
|
||||
MISMATCH-DELEGATION-CHILD-1 | ENOUGH_IPV4_NS_CHILD, NOT_ENOUGH_IPV4_NS_DEL, ENOUGH_IPV6_NS_CHILD, NOT_ENOUGH_IPV6_NS_DEL, ENOUGH_NS_CHILD, ENOUGH_NS_DEL | 2)
|
||||
MISMATCH-DELEGATION-CHILD-2 | NOT_ENOUGH_IPV4_NS_CHILD, ENOUGH_IPV4_NS_DEL, NOT_ENOUGH_IPV6_NS_CHILD, ENOUGH_IPV6_NS_DEL, ENOUGH_NS_CHILD, ENOUGH_NS_DEL | 2)
|
||||
|
||||
1\) All tags except for those specified as "Forbidden message tags" (no
|
||||
instances for these test scenarios)
|
||||
|
||||
2\) All tags except for those specified as "Mandatory message tags"
|
||||
|
||||
## Test zone setup
|
||||
|
||||
Assumptions for the scenario specifications unless otherwise specified for the
|
||||
specific scenario:
|
||||
* For each scenario zone there are two name servers configured.
|
||||
* Both name servers (ns1 and ns2) are equal in delegation and in zone.
|
||||
* Both name servers are in-bailiwick.
|
||||
* Both name servers have both IPv4 and IPv6 addresses.
|
||||
* All required glue records are present in the delegation.
|
||||
* All glue exactly match the authoritative address records in correct zone
|
||||
(not more and not less records).
|
||||
* All name server IP addresses respond with identical zone content.
|
||||
|
||||
### ENOUGH-1
|
||||
This is the main happy path.
|
||||
|
||||
* Zone: enough-1.delegation01.xa
|
||||
|
||||
### ENOUGH-2
|
||||
This is also a happy path. Out-of-bailiwick.
|
||||
|
||||
* Zone: enough-2.delegation01.xa
|
||||
* Both ns1 and ns2 are out-of-bailiwick.
|
||||
* ns1 is "ns1.enough-2.delegation01.xb"
|
||||
* ns2 is "ns2.enough-2.delegation01.xb"
|
||||
* Delegation is without glue.
|
||||
* The test zone ("child") has no address records for the name server names.
|
||||
* The "delegation01.xb" zone has the full set of address records.
|
||||
|
||||
### ENOUGH-3
|
||||
This is also a happy path. Also out-of-bailiwick, but with sibling glue.
|
||||
|
||||
* Zone: enough-3.delegation01.xa
|
||||
* Both ns1 and ns2 are out-of-bailiwick
|
||||
* ns1 is "ns1.enough-3.sibling.delegation01.xa"
|
||||
* ns2 is "ns2.enough-3.sibling.delegation01.xa"
|
||||
* Delegation is with glue.
|
||||
* The child zone has no address records for the name server names.
|
||||
* The two name servers are defined directly in the parent zone with full set of
|
||||
address records.
|
||||
|
||||
### ENOUGH-DEL-NOT-CHILD
|
||||
Only one name server in child zone.
|
||||
|
||||
* Zone: enough-del-not-child.delegation01.xa
|
||||
* The child zone defines only one name server, ns1.
|
||||
* Delegation is complete.
|
||||
|
||||
### ENOUGH-CHILD-NOT-DEL
|
||||
Only one name server in delegation.
|
||||
|
||||
* Zone: enough-child-not-del.delegation01.xa
|
||||
* The delegation has only one name server, for ns1.
|
||||
* The child has two name servers with full set of address records.
|
||||
|
||||
### IPV6-AND-DEL-OK-NO-IPV4-CHILD
|
||||
No IPv4 in zone.
|
||||
|
||||
* Zone: ipv6-and-del-ok-no-ipv4-child.delegation01.xa
|
||||
* No A records for ns1 and ns2 in zone.
|
||||
* Delegation is complete.
|
||||
|
||||
### IPV4-AND-DEL-OK-NO-IPV6-CHILD
|
||||
No IPv6 in zone.
|
||||
|
||||
* Zone: ipv4-and-del-ok-no-ipv6-child.delegation01.xa
|
||||
* No AAAA records for ns1 and ns2 in zone.
|
||||
* Delegation is complete.
|
||||
|
||||
### NO-IPV4-1
|
||||
No IPv4 in delegation or zone.
|
||||
|
||||
* Zone: no-ipv4-1.delegation01.xa
|
||||
* No A glue for ns1 and ns2.
|
||||
* No A records in zone for ns1 and ns2.
|
||||
|
||||
### NO-IPV4-2
|
||||
No IPv4 in delegation or zone. Out-of-bailiwick name servers and no glue.
|
||||
|
||||
* Zone: no-ipv4-2.delegation01.xa
|
||||
* Both ns1 and ns2 are out-of-bailiwick under the xb tree.
|
||||
* ns1 is "ns1.no-ipv4-2.delegation01.xb"
|
||||
* ns2 is "ns2.no-ipv4-2.delegation01.xb"
|
||||
* Delegation is without glue.
|
||||
* The test zone ("child") has no address records for the name server names
|
||||
* The "delegation01.xb" zone has full set of address records for this.
|
||||
* AAAA only, not A
|
||||
|
||||
### NO-IPV4-3
|
||||
No IPv4 in delegation or zone. Out-of-bailiwick name servers, but with sibling
|
||||
glue.
|
||||
|
||||
* Zone: no-ipv4-3.delegation01.xa
|
||||
* Both ns1 and ns2 are out-of-bailiwick
|
||||
* ns1 is "ns1.no-ipv4-3.sibling.delegation01.xa"
|
||||
* ns2 is "ns2.no-ipv4-3.sibling.delegation01.xa"
|
||||
* Delegation is with glue.
|
||||
* The child zone has no address records for the name server names
|
||||
* The sibling names have full sets of address records.
|
||||
* AAAA only, not A.
|
||||
|
||||
### NO-IPV6-1
|
||||
No IPv6 in delegation or zone.
|
||||
|
||||
* Zone: no-ipv6-1.delegation01.xa
|
||||
* No AAAA glue for ns1 and ns2.
|
||||
* No AAAA records in zone for ns1 and ns2.
|
||||
|
||||
### NO-IPV6-2
|
||||
No IPv6 in delegation or zone. Out-of-bailiwick name servers and no glue.
|
||||
|
||||
* Zone: no-ipv6-2.delegation01.xa
|
||||
* Both ns1 and ns2 are out-of-bailiwick under the xb tree.
|
||||
* ns1 is "ns1.no-ipv6-2.delegation01.xb"
|
||||
* ns2 is "ns2.no-ipv6-2.delegation01.xb"
|
||||
* Delegation is without glue.
|
||||
* The test zone ("child") has no address records for the name servers names
|
||||
* The "delegation01.xb" zone has full set of address records for this.
|
||||
* A only, not AAAA
|
||||
|
||||
### NO-IPV6-3
|
||||
No IPv6 in delegation or zone. Out-of-bailiwick name servers, but with sibling
|
||||
glue.
|
||||
|
||||
* Zone: no-ipv6-3.delegation01.xa
|
||||
* Both ns1 and ns2 are out-of-bailiwick
|
||||
* ns1 is "ns1.no-ipv6-3.sibling.delegation01.xa"
|
||||
* ns2 is "ns2.no-ipv6-3.sibling.delegation01.xa"
|
||||
* Delegation is with glue.
|
||||
* The child zone has no address records for the name server names
|
||||
* The sibling names has full set of address records.
|
||||
* A only, not AAAA.
|
||||
|
||||
### MISMATCH-DELEGATION-CHILD-1
|
||||
Missing glue, only IPv4 on ns1 and only IPv6 on ns2.
|
||||
|
||||
* Zone: mismatch-delegation-child-1.delegation01.xa
|
||||
* Only IPv4 glue on ns1.
|
||||
* Only IPv6 glue on ns2.
|
||||
* Full set in zone.
|
||||
|
||||
### MISMATCH-DELEGATION-CHILD-2
|
||||
The zone has only IPv4 on ns1 and only IPv6 on ns2.
|
||||
|
||||
* Zone: mismatch-delegation-child-2.delegation01.xa
|
||||
* Only IPv4 on ns1 in zone.
|
||||
* Only IPv6 on ns2 in zone.
|
||||
* Full set in delegation.
|
||||
|
||||
[Delegation01]: ../../tests/Delegation-TP/delegation01.md
|
||||
[RCODE Name]: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6
|
||||
[Test scenario README file]: ../README.md
|
||||
[Test zone setup]: #test-zone-setup
|
||||
@@ -0,0 +1,214 @@
|
||||
# Specification of test Scenarios for Delegation02
|
||||
|
||||
|
||||
## Table of contents
|
||||
|
||||
* [Background](#background)
|
||||
* [Test Case](#test-case)
|
||||
* [Test scenarios](#test-scenarios)
|
||||
* [Test zone names](#test-zone-names)
|
||||
* [All message tags](#all-message-tags)
|
||||
* [Test scenarios and message tags](#test-scenarios-and-message-tags)
|
||||
* [Test zone setup]
|
||||
|
||||
|
||||
## Background
|
||||
|
||||
See the [test scenario README file].
|
||||
|
||||
|
||||
## Test Case
|
||||
This document specifies test scenarios for test case [Delegation02].
|
||||
|
||||
|
||||
## Test scenarios
|
||||
|
||||
The purpose of the test scenarios is to cover all reasonable contexts where
|
||||
different message tags are output when [Delegation02] is run on a test zone.
|
||||
The message tags are defined in the test case ([Delegation02]) and the scenarios
|
||||
are defined below.
|
||||
|
||||
The test scenarios are structured as stated in the [test scenario README file].
|
||||
|
||||
## Test zone names
|
||||
|
||||
The test zone for each test scenario in this document is a subdomain delegated
|
||||
from the base name (`delegation02.xa`) and that subdomain having the same name as
|
||||
the scenario. The names of those zones are given in section [Test zone setup]
|
||||
below.
|
||||
|
||||
## All message tags
|
||||
|
||||
The test case can output any of these message tags, but not necessarily in any
|
||||
combination. See [Delegation02] for the specification of the tags.
|
||||
|
||||
* DEL_DISTINCT_NS_IP
|
||||
* CHILD_DISTINCT_NS_IP
|
||||
* DEL_NS_SAME_IP
|
||||
* CHILD_NS_SAME_IP
|
||||
|
||||
|
||||
## Test scenarios and message tags
|
||||
|
||||
If a message tag is not listed for the scenario, its presence or non-presence is
|
||||
irrelevant to the test scenario and must be ignored.
|
||||
|
||||
Scenario name | Mandatory message tag | Forbidden message tags
|
||||
:-----------------------------|:-----------------------------------------|:-------------------------------------------
|
||||
ALL-DISTINCT-1 | DEL_DISTINCT_NS_IP, CHILD_DISTINCT_NS_IP | 2)
|
||||
ALL-DISTINCT-2 | DEL_DISTINCT_NS_IP, CHILD_DISTINCT_NS_IP | 2)
|
||||
ALL-DISTINCT-3 | DEL_DISTINCT_NS_IP, CHILD_DISTINCT_NS_IP | 2)
|
||||
DEL-NON-DISTINCT | DEL_NS_SAME_IP, CHILD_DISTINCT_NS_IP | 2)
|
||||
DEL-NON-DISTINCT-UND | DEL_NS_SAME_IP, CHILD_DISTINCT_NS_IP | 2)
|
||||
CHILD-NON-DISTINCT | DEL_DISTINCT_NS_IP, CHILD_NS_SAME_IP | 2)
|
||||
CHILD-NON-DISTINCT-UND | DEL_DISTINCT_NS_IP, CHILD_NS_SAME_IP | 2)
|
||||
NON-DISTINCT-1 | DEL_NS_SAME_IP, CHILD_NS_SAME_IP | 2)
|
||||
NON-DISTINCT-2 | DEL_NS_SAME_IP, CHILD_NS_SAME_IP | 2)
|
||||
NON-DISTINCT-3 | DEL_NS_SAME_IP, CHILD_NS_SAME_IP | 2)
|
||||
|
||||
1\) All tags except for those specified as "Forbidden message tags" (no
|
||||
instances for these test scenarios)
|
||||
|
||||
2\) All tags except for those specified as "Mandatory message tags"
|
||||
|
||||
## Test zone setup
|
||||
|
||||
Assumptions for the scenario specifications unless otherwise specified for the
|
||||
specific scenario:
|
||||
* For each scenario zone there are two name servers configured.
|
||||
* Both name servers (ns1 and ns2) are equal in delegation and in zone.
|
||||
* Both name servers are in-bailiwick.
|
||||
* Both name servers have both IPv4 and IPv6 addresses.
|
||||
* All addresses are distinct.
|
||||
* All required glue are present in the delegation.
|
||||
* All glue exactly matches the authoritative address records in correct zone
|
||||
(not more and not less records).
|
||||
* All name server IP addresses respond with identical zone content.
|
||||
|
||||
### ALL-DISTINCT-1
|
||||
This is the happy path.
|
||||
|
||||
* Zone: all-distinct-1.delegation02.xa
|
||||
|
||||
### ALL-DISTINCT-2
|
||||
This is also a happy path. Out-of-bailiwick.
|
||||
|
||||
* Zone: all-distinct-2.delegation02.xa
|
||||
* Both ns1 and ns2 are out-of-bailiwick under the xb tree.
|
||||
* ns1 is "ns1.all-distinct-2.delegation02.xb"
|
||||
* ns2 is "ns2.all-distinct-2.delegation02.xb"
|
||||
* Delegation is without glue.
|
||||
* The test zone has no address records for the name server names.
|
||||
* The "delegation02.xb" zone has full set of address records for this scenario.
|
||||
|
||||
### ALL-DISTINCT-3
|
||||
This is also a happy path. Also out-of-bailiwick, but with sibling glue.
|
||||
|
||||
* Zone: all-distinct-3.delegation02.xa
|
||||
* Both ns1 and ns2 are out-of-bailiwick
|
||||
* ns1 is "ns1.all-distinct-3.sibling.delegation02.xa"
|
||||
* ns2 is "ns2.all-distinct-3.sibling.delegation02.xa"
|
||||
* Delegation is with glue.
|
||||
* The test zone ("child") has no address records for the name server names.
|
||||
* The "delegation02.xa" zone has full set of address records for this scenario.
|
||||
|
||||
### DEL-NON-DISTINCT
|
||||
The glue records use the same IP addresses.
|
||||
|
||||
* Zone: del-non-distinct.delegation02.xa
|
||||
* The name servers are ns1a and ns1b
|
||||
* ns1a and ns1b in the delegation (glue) have the same IPv4 and IPv6
|
||||
addresses, respectively.
|
||||
* ns1a and ns1b have distinct addresses in the zone (IPv4 and IPv6,
|
||||
respectively).
|
||||
|
||||
### DEL-NON-DISTINCT-UND
|
||||
The glue records use the same IP addresses. The zone is undelegated.
|
||||
|
||||
* Zone: del-non-distinct-und.delegation02.xa
|
||||
* The zone is undelegated.
|
||||
* name servers are ns1a and ns1b
|
||||
* ns1a and ns1b in the delegation (glue) have the same IPv4 and IPv6
|
||||
addresses, respectively.
|
||||
* ns1a and ns1b have distinct addresses in the zone (IPv4 and IPv6,
|
||||
respectively).
|
||||
* Undelegated data:
|
||||
* ns1a.del-non-distinct-und.delegation02.xa/IPv4
|
||||
* ns1a.del-non-distinct-und.delegation02.xa/IPv6
|
||||
* ns1b.del-non-distinct-und.delegation02.xa/IPv4
|
||||
* ns1b.del-non-distinct-und.delegation02.xa/IPv6
|
||||
|
||||
### CHILD-NON-DISTINCT
|
||||
The address records in the zone use the same IP addresses.
|
||||
|
||||
* Zone: child-non-distinct.delegation02.xa
|
||||
* name servers are ns1a and ns1b
|
||||
* ns1a and ns1b in the delegation (glue) have distinct addresses (IPv4 and
|
||||
IPv6, respectively).
|
||||
* ns1a and ns1b have the same addresses in the zone, IPv4 and IPv6,
|
||||
respectively.
|
||||
|
||||
### CHILD-NON-DISTINCT-UND
|
||||
The address records in the zone use the same IP addresses.
|
||||
|
||||
* Zone: child-non-distinct-und.delegation02.xa
|
||||
* The zone is undelegated.
|
||||
* name servers are ns1a and ns1b
|
||||
* ns1a and ns1b in the delegation (glue) have distinct addresses (IPv4 and
|
||||
IPv6, respectively).
|
||||
* ns1a and ns1b have the same addresses in the zone, IPv4 and IPv6,
|
||||
respectively.
|
||||
* Undelegated data:
|
||||
* ns1a.child-non-distinct-und.delegation02.xa/IPv4
|
||||
* ns1a.child-non-distinct-und.delegation02.xa/IPv6
|
||||
* ns1b.child-non-distinct-und.delegation02.xa/IPv4
|
||||
* ns1b.child-non-distinct-und.delegation02.xa/IPv6
|
||||
|
||||
### NON-DISTINCT-1
|
||||
The address records in both delegation and zone use the same IP addresses.
|
||||
|
||||
* Zone: non-distinct-1.delegation02.xa
|
||||
* name servers are ns1a, ns1b and ns2
|
||||
* ns1a and ns1b in the delegation (glue) have the same IPv4 and IPv6
|
||||
addresses, respectively.
|
||||
* ns1a and ns1b have the same addresses in the zone, IPv4 and IPv6,
|
||||
respectively.
|
||||
* ns2 has a distinct address both in delegation and in zone.
|
||||
|
||||
### NON-DISTINCT-2
|
||||
The name servers in both delegation and zone refer to the same IP addresses. The
|
||||
names are out-of-bailiwick.
|
||||
|
||||
* Zone: non-distinct-2.delegation02.xa
|
||||
* name servers are ns1a, ns1b and ns2, and are out-of-bailiwick under the xb
|
||||
tree.
|
||||
* ns1a is "ns1a.non-distinct-2.delegation02.xb"
|
||||
* ns1b is "ns1a.non-distinct-2.delegation02.xb"
|
||||
* ns2 is "ns2.non-distinct-2.delegation02.xb"
|
||||
* Delegation is without glue.
|
||||
* ns1a and ns1b have the same addresses, IPv4 and IPv6, respectively.
|
||||
* ns2 has distinct addresses (IPv4 and IPv6).
|
||||
* The test zone has no address records for the name server names.
|
||||
* The "delegation02.xb" zone has full set of address records for this scenario.
|
||||
|
||||
### NON-DISTINCT-3
|
||||
The name servers in both delegation and zone refer to the same IP addresses. The
|
||||
names are out-of-bailiwick, but with sibling glue.
|
||||
|
||||
* Zone: non-distinct-3.delegation02.xa
|
||||
* name servers are ns1a, ns1b and ns2, and are out-of-bailiwick.
|
||||
* ns1a is "ns1a.non-distinct-3.sibling.delegation02.xa"
|
||||
* ns1b is "ns1a.non-distinct-3.sibling.delegation02.xa"
|
||||
* ns2 is "ns2.non-distinct-3.sibling.delegation02.xa"
|
||||
* Delegation has sibling glue.
|
||||
* ns1a and ns1b have the same addresses, IPv4 and IPv6, respectively.
|
||||
* ns2 has distinct addresses (IPv4 and IPv6).
|
||||
* The test zone has no address records for the name server names.
|
||||
* The "delegation02.xa" zone has full set of address records for this scenario.
|
||||
|
||||
|
||||
[Delegation02]: ../../tests/Delegation-TP/delegation02.md
|
||||
[RCODE Name]: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6
|
||||
[test scenario README file]: ../README.md
|
||||
[Test zone setup]: #test-zone-setup
|
||||
|
||||
@@ -0,0 +1,124 @@
|
||||
# Specification of test Scenarios for Delegation03
|
||||
|
||||
|
||||
## Table of contents
|
||||
|
||||
* [Background](#background)
|
||||
* [Test Case](#test-case)
|
||||
* [Test scenarios](#test-scenarios)
|
||||
* [Test zone names](#test-zone-names)
|
||||
* [All message tags](#all-message-tags)
|
||||
* [Test scenarios and message tags](#test-scenarios-and-message-tags)
|
||||
* [Test zone setup]
|
||||
|
||||
|
||||
## Background
|
||||
|
||||
See the [test scenario README file].
|
||||
|
||||
|
||||
## Test Case
|
||||
This document specifies test scenarios for test case [Delegation03].
|
||||
|
||||
|
||||
## Test scenarios
|
||||
|
||||
The purpose of the test scenarios is to cover all reasonable contexts where
|
||||
different message tags are output when [Delegation03] is run on a test zone.
|
||||
The message tags are defined in the test case ([Delegation03]) and the scenarios
|
||||
are defined below.
|
||||
|
||||
The test scenarios are structured as stated in the [test scenario README file].
|
||||
|
||||
## Test zone names
|
||||
|
||||
The test zone for each test scenario in this document is a subdomain delegated
|
||||
from the base name (`delegation03.xa`) and that subdomain having the same name as the
|
||||
scenario. The names of those zones are given in section
|
||||
[Test zone setup] below.
|
||||
|
||||
## All message tags
|
||||
|
||||
The test case can output any of these message tags, but not necessarily in any
|
||||
combination. See [Delegation03] for the specification of the tags.
|
||||
|
||||
* REFERRAL_SIZE_OK
|
||||
* REFERRAL_SIZE_TOO_LARGE
|
||||
|
||||
## Test scenarios and message tags
|
||||
|
||||
If a message tag is not listed for the scenario, its presence or non-presence is
|
||||
irrelevant to the test scenario and must be ignored.
|
||||
|
||||
|
||||
Scenario name | Mandatory message tag | Forbidden message tags
|
||||
:-----------------------------|:-----------------------------------------|:-------------------------------------------
|
||||
REFERRAL-SIZE-OK-1 | REFERRAL_SIZE_OK | 2)
|
||||
REFERRAL-SIZE-OK-2 | REFERRAL_SIZE_OK | 2)
|
||||
REFERRAL-SIZE-TOO-LARGE-1 | REFERRAL_SIZE_TOO_LARGE | 2)
|
||||
REFERRAL-SIZE-TOO-LARGE-2 | REFERRAL_SIZE_TOO_LARGE | 2)
|
||||
|
||||
1\) All tags except for those specified as "Forbidden message tags" (no
|
||||
instances for these test scenarios)
|
||||
|
||||
2\) All tags except for those specified as "Mandatory message tags"
|
||||
|
||||
|
||||
## Test zone setup
|
||||
|
||||
Assumptions for the scenario specifications unless otherwise specified for the
|
||||
specific scenario:
|
||||
* For each scenario zone there are two name server configured.
|
||||
* Both name servers are in-bailiwick.
|
||||
* Both name servers have both IPv4 and IPv6 addresses.
|
||||
* All addresses are distinct.
|
||||
* All required glue are present in the delegation.
|
||||
* There is no actual zone or zone file, only a delegation.
|
||||
* For these scenarios only the delegation is needed.
|
||||
|
||||
### REFERRAL-SIZE-OK-1
|
||||
This is the happy path.
|
||||
|
||||
* Zone: referral-size-ok-1.delegation03.xa.
|
||||
|
||||
### REFERRAL-SIZE-OK-2
|
||||
Referral is large, but not too large. The name servers are in-bailiwick.
|
||||
|
||||
* Zone: referral-size-ok-2.delegation03.xa.
|
||||
* ns1 is "ns1.ipv4-large-but-not-too-large.referral-size-ok-2.delegation03.xa".
|
||||
* ns1 is "ns1.ipv6-large-but-not-too-large.referral-size-ok-2.delegation03.xa".
|
||||
* ns2 is "ns2.ipv4-large-but-not-too-large.referral-size-ok-2.delegation03.xa".
|
||||
* ns2 is "ns2.ipv6-large-but-not-too-large.referral-size-ok-2.delegation03.xa".
|
||||
|
||||
### REFERRAL-SIZE-TOO-LARGE-1
|
||||
Referral is too large and name servers are in-bailiwick.
|
||||
|
||||
* Zone: referral-size-too-large-1.delegation03.xa
|
||||
* Name server names are relative to the zone name:
|
||||
* ns1 is "ns1.1abcdefghijklmnopqrstuv.1defghijkl"
|
||||
* ns2 is "ns2.2abcdefghijklmnopqrstuv.2defghijkl"
|
||||
* ns3 is "ns3.2abcdefghijklmnopqrstuv.3defghijkl"
|
||||
* ns4 is "ns4.2abcdefghijklmnopqrstuv.4defghijkl"
|
||||
* ns5 is "ns5.2abcdefghijklmnopqrstuv.5defghijkl"
|
||||
|
||||
|
||||
### REFERRAL-SIZE-TOO-LARGE-2
|
||||
Referral is too large and name servers are out-of-bailiwick with no glue.
|
||||
|
||||
* Zone: referral-size-too-large-2.delegation03.xa
|
||||
* The zone is delegated to ns1, ns2, ns3 and ns4.
|
||||
* ns1 is "ns1.1abcdefghijklmnopqrstuvwxyz.1abcdefghijklmnopqrstuvwxy.1abcdefghijklmnopqrstuvw.referral-size-too-large-2.delegation03.xb"
|
||||
* ns2 is "ns2.2abcdefghijklmnopqrstuvwxyz.2abcdefghijklmnopqrstuvwxy.2abcdefghijklmnopqrstuvw.referral-size-too-large-2.delegation03.xb"
|
||||
* ns3 is "ns3.3abcdefghijklmnopqrstuvwxyz.3abcdefghijklmnopqrstuvwxy.3abcdefghijklmnopqrstuvw.referral-size-too-large-2.delegation03.xb"
|
||||
* ns4 is "ns4.4abcdefghijklmnopqrstuvwxyz.4abcdefghijklmnopqrstuvwxy.4abcdefghijklmnopqrstuvw.referral-size-too-large-2.delegation03.xb"
|
||||
* Delegation is without glue.
|
||||
* The test zone has no address records for the name server names.
|
||||
* The "delegation03.xb" zone has full set of address records (IPv4 and IPv6).
|
||||
|
||||
[Delegation03]: ../../tests/Delegation-TP/delegation03.md
|
||||
[RCODE Name]: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6
|
||||
[test scenario README file]: ../README.md
|
||||
[Test zone setup]: #test-zone-setup
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user