DELEGATION01: Minimum number of name servers
Test case identifier
DELEGATION01
Objective
Section 4.1 of RFC 1034 specifies that there must be a minimum of two name servers for a domain. This test is done to verify this condition.
The RFC (RFC 1034) predates IPv6. Since IPv4 and IPv6 work as separate networks, this test case has been extended to test for two name servers that resolve into IPv4 addresses and IPv6 addresses respectively.
Both RFC 3901 (section 3) and RFC 4472 (section 1.3) states that a domain (zone) should be available over IPv4 for the time being. Therefore, it is by the default level in this test case considered to be more problematic not being available over IPv4 than not being available over IPv6.
Inputs
"Child Zone" - The domain name to be tested
Ordered description of steps to be taken to execute the test case
-
Using Method2, obtain the complete set of names of the name servers from the delegation of the Child Zone.
-
Count the name server names:
- If zero or one, emit NOT_ENOUGH_NS_DEL.
- If two or more, emit ENOUGH_NS_DEL.
-
Using Method4, obtain the IP addresses for the name servers of the delegation of the Child Zone.
-
Count the number of name server names that resolve into at least one IPv4 address:
- If zero, emit NO_IPV4_NS_DEL.
- If one, emit NOT_ENOUGH_IPV4_NS_DEL.
- If two or more, emit ENOUGH_IPV4_NS_DEL.
-
Count the number of name server names that resolve into at least one IPv6 address:
- If zero, emit NO_IPV6_NS_DEL.
- If one, emit NOT_ENOUGH_IPV6_NS_DEL.
- If two or more, emit ENOUGH_IPV6_NS_DEL.
-
Using Method3, obtain the complete set of names of the name servers from the Child Zone for the Child Zone.
-
Count the name server names:
- If zero or one, emit NOT_ENOUGH_NS_CHILD.
- If two or more, emit ENOUGH_NS_CHILD.
-
Using Method5, obtain the IP addresses for the name servers from the Child Zone for the Child Zone.
-
Count the number of name server names that resolve into at least one IPv4 address:
- If zero, emit NO_IPV4_NS_CHILD.
- If one, emit NOT_ENOUGH_IPV4_NS_CHILD.
- If two or more, emit ENOUGH_IPV4_NS_CHILD.
-
Count the number of name server names that resolve into at least one IPv6 address:
- If zero, emit NO_IPV6_NS_CHILD.
- If one, emit NOT_ENOUGH_IPV6_NS_CHILD.
- If two or more, emit ENOUGH_IPV6_NS_CHILD.
Outcome(s)
The outcome of this Test Case is "fail" if there is at least one message with the severity level ERROR or CRITICAL.
The outcome of this Test Case is "warning" if there is at least one message with the severity level WARNING, but no message with severity level ERROR or CRITICAL.
Else the outcome of this Test Case is "pass".
Message | Default severity level |
---|---|
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 |
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 |
NO_IPV4_NS_CHILD | WARNING |
NO_IPV4_NS_DEL | WARNING |
NO_IPV6_NS_CHILD | NOTICE |
NO_IPV6_NS_DEL | NOTICE |
Special procedural requirements
None
Intercase dependencies
None