SV_RFC2671_5_1_OPT_presence - The presence of an OPT pseuduo-RR
Verify that a NUT takes the presence of an OPT pseudo-RR in a request
as an indication that the requestor fully implements the given version of EDNS.
- The presence of an OPT pseudo-RR in a request should be taken as an
indication that the requestor fully implements the given version of
EDNS, and can correctly understand any response that conforms to
that feature's specification.
Authoritative Server
SV_RFC2671_5_1_OPT_presence.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=A.example.com |
| QTYPE=AAAA |
| ADDITIONAL UDP payload size |
| = 1024 |
| |
|<-------------------------------------|
| 2. Standard query response |
| AAAA=3ffe:501:ffff:101::10 |
| ADDITIONAL UDP payload size |
| = 1024 |
| |
v v
1. TN send standard query QNAME=A.example.com, QTYPE=AAAA w/ EDNS0 to NUT.
2. NUT reply query response w/ AAAA=3ffe:501:ffff:101::10 w/ EDNS0 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 |
1 |
| DNS Question section |
QNAME |
A.example.com |
| QTYPE |
AAAA (0x001C) |
| QCLASS |
IN (0x0001) |
| DNS Additional section |
NAME |
empty (root domain) |
TYPE
|
OPT (0x0029) |
| CLASS |
1024 |
| EXTENDED-RCODE |
0 |
| VERSION |
0 |
| Z |
0 |
| RDLENGTH |
0 |
- 2nd packet.
|
Standard query response from DNS Server1 (NUT) to Client1 (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 |
ANY |
| TC |
0 |
| RD |
1 |
| RA |
1 |
| Z |
0 |
| RCODE |
0 |
| QDCOUNT |
1 |
| ANCOUNT |
1 |
| NSCOUNT |
1 |
| ARCOUNT |
2 |
| DNS Question section |
QNAME |
A.example.com |
| QTYPE |
AAAA (0x001C) |
| QCLASS |
IN (0x0001) |
| DNS Answer section |
NAME |
A.example.com (Pointer 0xC00C) |
| TYPE |
AAAA (0x001C) |
| CLASS |
IN (0x0001) |
| TTL |
1 day (86400) |
| RDLENGTH |
16 |
| ADDRESS |
3ffe:501:ffff:101::10 |
| DNS Authority section |
NAME |
example.com (Pointer 0xC00E) |
| TYPE |
NS (0x0002) |
| CLASS |
IN (0x0001) |
| TTL |
1 day (86400) |
| RDLENGTH |
6 |
| NSDNAME |
NS1.example.com (NS1 + Pointer 0xC00E) |
| DNS Additional section |
NAME |
NS1.example.com (Pointer 0xC047) |
TYPE
|
A (0x0001) |
| CLASS |
IN (0x0001) |
| TTL |
1 day (86400) |
| RDLENGTH |
4 |
| ADDRESS |
192.168.0.10 |
| DNS Additional section |
NAME |
empty (root domain) |
TYPE
|
OPT (0x0029) |
| CLASS |
1024 |
| EXTENDED-RCODE |
0 |
| VERSION |
0 |
| Z |
0 |
| RDLENGTH |
0 |
- 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 OPT pseudo-RR.
None
RFC1034 DOMAIN NAMES - CONCEPTS AND FACILITIES
3.6 Resource Records
RFC1035 DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION
3.2.1 Format
RFC 2671 EDNS0
5. Transport Considerations