SV_RFC3403_4_1_invalid_NAPTR_format - Invalid NAPTR resource record format
Verify that a NUT transmits an error for invalid NAPTR resource record format.
- NAPTR RDATA field
|
REPLACEMENT :
|
A <domain-name> which is the next domain-name to query for
depending on the potential values found in the flags field. This
field is used when the regular expression is a simple replacement
operation. Any value in this field MUST be a fully qualified
domain-name. Name compression is not to be used for this field.
This field and the REGEXP field together make up the Substitution
Expression in the DDDS Algorithm. It is simply a historical
optimization specifically for DNS compression that this field
exists. The fields are also mutually exclusive. If a record is
returned that has values for both fields then it is considered to
be in error and SHOULD be either ignored or an error returned.
|
Authoritative Server
SV_RFC3403_4_1_invalid_NAPTR_format.seq [-tooloption ...]: KOI tool option
See also DNSConfig.pm
This test sequence is following.
DNS Client1 (TN) DNS Server1 (NUT)
| |
|------------------------------------->|
| 1. Send standard query |
| QNAME = 1.0.0.0.1.1.1.1.0.9.1.8.e164.arpa.
| QTYPE= NAPTR |
| |
|<-------------------------------------|
| 2. Standard query response |
| RCODE=2 (Server failure) |
| |
| |
v v
1. TN send standard query
QNAME=1.0.0.0.1.1.1.1.0.9.1.8.e164.arpa.,
QTYPE=NAPTR to NUT.
2. NUT reply query response w/ RCODE=2 (Server failure) to TN (Judgment *2)
- Packet Description
- 1st packet.
|
Standard query from DNS Client1 (TN) to Server1 (NUT)
|
| IP Header |
Source Address |
CL1_NETZ |
| Destination Address |
NUT_NETZ |
| UDP Header |
Src Port |
2000 |
| Dst Port |
53 |
| DNS Header |
ID |
0x1000 |
| QR |
0 |
| OPCODE |
0 |
| AA |
0 |
| TC |
0 |
| RD |
1 |
| RA |
0 |
| Z |
0 |
| RCODE |
0 |
| QDCOUNT |
1 |
| ANCOUNT |
0 |
| NSCOUNT |
0 |
| ARCOUNT |
0 |
| DNS Question section |
QNAME |
1.0.0.0.1.1.1.1.0.9.1.8.e164.arpa. |
| QTYPE |
NAPTR (0x0023) |
| QCLASS |
IN (0x0001) |
- 2nd packet.
|
Standard query response from DNS Server1 (NUT) to Client (TN)
|
| IP Header |
Source Address |
NUT_NETZ |
| Destination Address |
CL1_NETZ |
| UDP Header |
Src Port |
53 |
| Dst Port |
2000 |
| DNS Header |
ID |
0x1000 |
| QR |
1 |
| OPCODE |
0 |
| AA |
0 |
| TC |
0 |
| RD |
0 |
| RA |
0 |
| Z |
ANY |
| RCODE |
2 |
| QDCOUNT |
1 |
| ANCOUNT |
0 |
| NSCOUNT |
0 |
| ARCOUNT |
0 |
| DNS Question section |
QNAME |
1.0.0.0.1.1.1.1.0.9.1.8.e164.arpa
|
| QTYPE |
NAPTR (0x0023) |
| QCLASS |
IN (0x0001) |
- Exp.
| NUT_NETZ |
DNS Server1's (NUT) Net-z address |
| CL1_NETZ |
DNS Client1's (TN) Net-z address |
2. Received standard query response including RCODE=2.
None
RFC3403 Dynamic Delegation Discovery System (DDDS)
Part Three: The Domain Name System (DNS) Database
4. NAPTR RR Format
4.1 Packet Format