SV_RFC2671_5_3_OPT_not_understand - responders don't understand OPT RR
Verify that a NUT retransmits query when responders don't understand OPT RR
- Responders who do not understand these protocol extensions are
expected to send a response with RCODE NOTIMPL, FORMERR, or
SERVFAIL. Therefore use of extensions should be "probed" such that
a responder who isn't known to support them be allowed a retry with
no extensions if it responds with such an RCODE.
Caching Server
SV_RFC2671_5_3_OPT_not_understand.seq [-tooloption ...]: KOI tool option
See also DNSConfig.pm
This test sequence is following.
<--------- TN ------------>
DNS Client1 (TN) DNS Server1 (NUT) DNS Server2 DNS Server3 DNS Server4
| | | | |
|----------------------------->| | | |
| 1. Send standard query | | | |
| QNAME=A.example.org | | | |
| QTYPE=AAAA | | | |
| ADDITIONAL UDP payload size | | | |
| = 1024 |-------------------------------->| | |
| | 2. Send standard query | | |
| | QNAME=A.example.org | | |
| | QTYPE=AAAA | | |
| | ADDITIONAL UDP payload size | | |
| | = 1024 | | |
| | | | |
| |<--------------------------------| | |
| | 3. Send standard response | | |
| | RCODE=4(Not Implemented) | | |
| | QNAME=A.example.org | | |
| | QTYPE=AAAA | | |
| | AUTHORITY Name=org | | |
| | AUTHORITY Name Server | | |
| | =NS3.example.org | | |
| | ADDITIONAL Name=NS3.example.org| | |
| | ADDITIONAL Address=192.168.1.30| | |
| | | | |
| |-------------------------------->| | |
| | 4. Send standard query | | |
| | QNAME=A.example.org | | |
| | QTYPE=AAAA | | |
| | | | |
| |<--------------------------------| | |
| | 5. Send standard response | | |
| | QNAME=A.example.org | | |
| | QTYPE=AAAA | | |
| | AUTHORITY Name=org | | |
| | AUTHORITY Name Server | | |
| | =NS3.example.org | | |
| | ADDITIONAL Name=NS3.example.org| | |
| | ADDITIONAL Address=192.168.1.30| | |
| | v | |
| | | |
| |-------------------------------------------->| |
| | 6. Send standard query | |
| | QNAME=A.example.org | |
| | QTYPE=AAAA | |
| | ADDITIONAL UDP payload size | |
| | = 1024 | |
| | | |
| |<--------------------------------------------| |
| | 7. Send standard response | |
| | RCODE=4(Not Implemented) | |
| | QNAME=A.example.org | |
| | QTYPE=AAAA | |
| | AUTHORITY Name=example.org | |
| | AUTHORITY Name Server | |
| | = NS4.example.org | |
| | ADDITIONAL Name | |
| | = NS4.example.org | |
| | ADDITIONAL Address | |
| | = 192.168.1.40 | |
| | | |
| |-------------------------------------------->| |
| | 8. Send standard query | |
| | QNAME=A.example.org | |
| | QTYPE=AAAA | |
| | | |
| |<--------------------------------------------| |
| | 9. Send standard response | |
| | QNAME=A.example.org | |
| | QTYPE=AAAA | |
| | AUTHORITY Name=example.org | |
| | AUTHORITY Name Server | |
| | = NS4.example.org | |
| | ADDITIONAL Name | |
| | = NS4.example.org | |
| | ADDITIONAL Address | |
| | = 192.168.1.40 | |
| | v |
| | |
| |-------------------------------------------------------->|
| | 10. Send standard query |
| | QNAME=A.example.org |
| | QTYPE=AAAA |
| | ADDITIONAL UDP payload size |
| | = 1024 |
| | |
| |<--------------------------------------------------------|
| | 11. Send standard response |
| | RCODE=4(Not Implemented) |
| | QNAME=A.example.org |
| | QTYPE=AAAA |
| | AUTHORITY Name=example.org |
| | AUTHORITY Name Server |
| | = NS4.example.org |
| | ADDITIONAL Name |
| | = NS4.example.org |
| | ADDITIONAL Address |
| | = 192.168.1.40 |
| |-------------------------------------------------------->|
| | 12. Send standard query |
| | QNAME=A.example.org |
| | QTYPE=AAAA |
| | |
| |<--------------------------------------------------------|
| | 13. Send standard response |
| | QNAME=A.example.org |
| | QTYPE=AAAA |
| | ANSWER Name=A.example.org |
| | ANSWER Address |
| | = 3ffe:501:ffff:101::10 |
| | AUTHORITY Name=example.org |
| | AUTHORITY Name Server |
| | = NS4.example.org |
| | ADDITIONAL Name |
| | = NS4.example.org |
| | ADDITIONAL Address |
| | = 192.168.1.40 |
|<-----------------------------| v
| 14. Standard query response |
| QNAME=A.example.org |
| QTYPE=AAAA |
| ANSWER Name=A.example.org |
| ANSWER Address |
| = 3ffe:501:ffff:101::10 |
| AUTHORITY Name=example.org |
| AUTHORITY Name Server |
| =NS4.example.org |
v v
1. TN send standard query QNAME=A.example.org, QTYPE=AAAA to NUT.
2. NUT transmits standard query to DNS Server2 (TN: root name server) (Judgment *2)
3. TN send standard query response to NUT w/ RCODE=4(Not Implemented).
4. NUT transmits standard query to DNS Server2 (TN: root name server) (Judgment *2)
5. TN send query response to NUT w/ AUTHORITY Name=org, AUTHORITY Name Server=NS3.example.org.
6. NUT transmits standard query QNAME=A.example.org, QTYPE=AAAA DNS Server3 (TN: NS3.example.org) (Judgment *4)
7. TN send standard query response to NUT w/ RCODE=4(Not Implemented).
8. NUT transmits standard query QNAME=A.example.org, QTYPE=AAAA DNS Server3 (TN: NS3.example.org) (Judgment *4)
9. TN send query response to NUT w/ AUTHORITY Name=example.org, AUTHORITY Name Server=NS4.example.org.
10. NUT transmits standard query QNAME=A.example.org, QTYPE=AAAA DNS Server4 (TN: NS4.example.org) (Judgment *6)
11. TN send standard query response to NUT w/ RCODE=4(Not Implemented).
12. NUT transmits standard query QNAME=A.example.org, QTYPE=AAAA DNS Server4 (TN: NS4.example.org) (Judgment *6)
13. TN send query response to ANSWER Name=A.example.org, ANSWER Address=3ffe:501:ffff:101::10-3ffe:501:ffff:101::10 to NUT.
14. NUT transmits query response to DNS Client1 (TN) (Judgment *8)
- 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.org |
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 from DNS Server1 (NUT) to Server2 (TN)
|
IP Header |
Source Address |
NUT_NETZ |
Destination Address |
SV2_NETY |
UDP Header |
Src Port |
ANY |
Dst Port |
53 |
DNS Header |
ID |
ANY |
QR |
0 |
OPCODE |
0 |
AA |
ANY |
TC |
0 |
RD |
0 |
RA |
0 |
Z |
0 |
AD |
0 |
CD |
1 |
RCODE |
0 |
QDCOUNT |
1 |
ANCOUNT |
0 |
NSCOUNT |
0 |
ARCOUNT |
ANY |
DNS Question section |
QNAME |
A.example.org |
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 |
- 3rd packet.
Standard query response from DNS Server2 (TN) to Server1 (NUT)
|
IP Header |
Source Address |
SV2_NETY |
Destination Address |
NUT_NETZ |
UDP Header |
Src Port |
53 |
Dst Port |
Value that NUT uses |
DNS Header |
ID |
Value that NUT uses |
QR |
1 |
OPCODE |
0 |
AA |
0 |
TC |
0 |
RD |
0 |
RA |
0 |
Z |
0 |
RCODE |
4 |
QDCOUNT |
1 |
ANCOUNT |
0 |
NSCOUNT |
1 |
ARCOUNT |
1 |
DNS Question section |
QNAME |
A.example.org |
QTYPE |
AAAA (0x001C) |
QCLASS |
IN (0x0001) |
DNS Authority section |
NAME |
org (Pointer 0xC016) |
TYPE |
NS (0x0002) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
6 |
NSDNAME |
NS3.example.org (NS3 + Pointer 0xC00E) |
DNS Additional section |
NAME |
NS3.example.org (Pointer 0xC02B) |
TYPE
|
A (0x0001) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
4 |
ADDRESS |
192.168.1.30 |
- 4th packet.
Standard query from DNS Server1 (NUT) to Server2 (TN)
|
IP Header |
Source Address |
NUT_NETZ |
Destination Address |
SV2_NETY |
UDP Header |
Src Port |
ANY |
Dst Port |
53 |
DNS Header |
ID |
ANY |
QR |
0 |
OPCODE |
0 |
AA |
ANY |
TC |
0 |
RD |
0 |
RA |
0 |
Z |
0 |
AD |
0 |
CD |
1 |
RCODE |
0 |
QDCOUNT |
1 |
ANCOUNT |
0 |
NSCOUNT |
0 |
ARCOUNT |
ANY |
DNS Question section |
QNAME |
A.example.org |
QTYPE |
AAAA (0x001C) |
QCLASS |
IN (0x0001) |
- 5th packet.
Standard query response from DNS Server2 (TN) to Server1 (NUT)
|
IP Header |
Source Address |
SV2_NETY |
Destination Address |
NUT_NETZ |
UDP Header |
Src Port |
53 |
Dst Port |
Value that NUT uses |
DNS Header |
ID |
Value that NUT uses |
QR |
1 |
OPCODE |
0 |
AA |
0 |
TC |
0 |
RD |
0 |
RA |
0 |
Z |
0 |
RCODE |
0 |
QDCOUNT |
1 |
ANCOUNT |
0 |
NSCOUNT |
1 |
ARCOUNT |
1 |
DNS Question section |
QNAME |
A.example.org |
QTYPE |
AAAA (0x001C) |
QCLASS |
IN (0x0001) |
DNS Authority section |
NAME |
org (Pointer 0xC016) |
TYPE |
NS (0x0002) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
6 |
NSDNAME |
NS3.example.org (NS3 + Pointer 0xC00E) |
DNS Additional section |
NAME |
NS3.example.org (Pointer 0xC02B) |
TYPE
|
A (0x0001) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
4 |
ADDRESS |
192.168.1.30 |
- 6th packet.
Standard query from DNS Server1 (NUT) to Server3 (TN)
|
IP Header |
Source Address |
NUT_NETZ |
Destination Address |
SV3_NETY |
UDP Header |
Src Port |
ANY |
Dst Port |
53 |
DNS Header |
ID |
ANY |
QR |
0 |
OPCODE |
0 |
AA |
0 |
TC |
0 |
RD |
0 |
RA |
0 |
Z |
0 |
AD |
0 |
CD |
1 |
RCODE |
0 |
QDCOUNT |
1 |
ANCOUNT |
0 |
NSCOUNT |
0 |
ARCOUNT |
ANY |
DNS Question section |
QNAME |
A.example.org |
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 |
- 7th packet.
Standard query response from DNS Server3 (TN) to Server1 (NUT)
|
IP Header |
Source Address |
SV3_NETY |
Destination Address |
NUT_NETZ |
UDP Header |
Src Port |
Value that NUT uses |
Dst Port |
53 |
DNS Header |
ID |
Value that NUT uses |
QR |
1 |
OPCODE |
0 |
AA |
0 |
TC |
0 |
RD |
0 |
RA |
0 |
Z |
0 |
RCODE |
4 |
QDCOUNT |
1 |
ANCOUNT |
0 |
NSCOUNT |
1 |
ARCOUNT |
1 |
DNS Question section |
QNAME |
A.example.org |
QTYPE |
AAAA (0x001C) |
QCLASS |
IN (0x0001) |
DNS Authority section |
NAME |
example.org (Pointer 0xC00E) |
TYPE |
NS (0x0002) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
6 |
NSDNAME |
NS4.example.org (NS4 + Pointer 0xC00E) |
DNS Additional section |
NAME |
NS4.example.org (Pointer 0xC02B) |
TYPE
|
A (0x0001) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
4 |
ADDRESS |
192.168.1.40 |
- 8th packet.
Standard query from DNS Server1 (NUT) to Server3 (TN)
|
IP Header |
Source Address |
NUT_NETZ |
Destination Address |
SV3_NETY |
UDP Header |
Src Port |
ANY |
Dst Port |
53 |
DNS Header |
ID |
ANY |
QR |
0 |
OPCODE |
0 |
AA |
0 |
TC |
0 |
RD |
0 |
RA |
0 |
Z |
0 |
AD |
0 |
CD |
1 |
RCODE |
0 |
QDCOUNT |
1 |
ANCOUNT |
0 |
NSCOUNT |
0 |
ARCOUNT |
ANY |
DNS Question section |
QNAME |
A.example.org |
QTYPE |
AAAA (0x001C) |
QCLASS |
IN (0x0001) |
- 9th packet.
Standard query response from DNS Server3 (TN) to Server1 (NUT)
|
IP Header |
Source Address |
SV3_NETY |
Destination Address |
NUT_NETZ |
UDP Header |
Src Port |
Value that NUT uses |
Dst Port |
53 |
DNS Header |
ID |
Value that NUT uses |
QR |
1 |
OPCODE |
0 |
AA |
0 |
TC |
0 |
RD |
0 |
RA |
0 |
Z |
0 |
RCODE |
0 |
QDCOUNT |
1 |
ANCOUNT |
0 |
NSCOUNT |
1 |
ARCOUNT |
1 |
DNS Question section |
QNAME |
A.example.org |
QTYPE |
AAAA (0x001C) |
QCLASS |
IN (0x0001) |
DNS Authority section |
NAME |
example.org (Pointer 0xC00E) |
TYPE |
NS (0x0002) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
6 |
NSDNAME |
NS4.example.org (NS4 + Pointer 0xC00E) |
DNS Additional section |
NAME |
NS4.example.org (Pointer 0xC02B) |
TYPE
|
A (0x0001) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
4 |
ADDRESS |
192.168.1.40 |
- 10th packet.
Standard query from DNS Server1 (NUT) to Server4 (TN)
|
IP Header |
Source Address |
NUT_NETZ |
Destination Address |
SV4_NETY |
UDP Header |
Src Port |
ANY |
Dst Port |
53 |
DNS Header |
ID |
ANY |
QR |
0 |
OPCODE |
0 |
AA |
0 |
TC |
0 |
RD |
0 |
RA |
0 |
Z |
0 |
AD |
0 |
CD |
1 |
RCODE |
0 |
QDCOUNT |
1 |
ANCOUNT |
0 |
NSCOUNT |
0 |
ARCOUNT |
ANY |
DNS Question section |
QNAME |
A.example.org |
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 |
- 11th packet.
Standard query response from DNS Server4 (TN) to Server1 (NUT)
|
IP Header |
Source Address |
SV4_NETY |
Destination Address |
NUT_NETZ |
UDP Header |
Src Port |
Value that NUT uses |
Dst Port |
53 |
DNS Header |
ID |
Value that NUT uses |
QR |
1 |
OPCODE |
0 |
AA |
1 |
TC |
0 |
RD |
0 |
RA |
1 |
Z |
0 |
RCODE |
4 |
QDCOUNT |
1 |
ANCOUNT |
0 |
NSCOUNT |
1 |
ARCOUNT |
1 |
DNS Question section |
QNAME |
A.example.org |
QTYPE |
AAAA (0x001C) |
QCLASS |
IN (0x0001) |
DNS Authority section |
NAME |
example.org (Pointer 0xC00E) |
TYPE |
NS (0x0002) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
6 |
NSDNAME |
NS4.example.org (NS4 + Pointer 0xC00E) |
DNS Additional section |
NAME |
NS4.example.org (Pointer 0xC047) |
TYPE
|
A (0x0001) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
4 |
ADDRESS |
192.168.1.40 |
- 12th packet.
Standard query from DNS Server1 (NUT) to Server4 (TN)
|
IP Header |
Source Address |
NUT_NETZ |
Destination Address |
SV4_NETY |
UDP Header |
Src Port |
ANY |
Dst Port |
53 |
DNS Header |
ID |
ANY |
QR |
0 |
OPCODE |
0 |
AA |
0 |
TC |
0 |
RD |
0 |
RA |
0 |
Z |
0 |
AD |
0 |
CD |
1 |
RCODE |
0 |
QDCOUNT |
1 |
ANCOUNT |
0 |
NSCOUNT |
0 |
ARCOUNT |
ANY |
DNS Question section |
QNAME |
A.example.org |
QTYPE |
AAAA (0x001C) |
QCLASS |
IN (0x0001) |
- 13th packet.
Standard query response from DNS Server4 (TN) to Server1 (NUT)
|
IP Header |
Source Address |
SV4_NETY |
Destination Address |
NUT_NETZ |
UDP Header |
Src Port |
Value that NUT uses |
Dst Port |
53 |
DNS Header |
ID |
Value that NUT uses |
QR |
1 |
OPCODE |
0 |
AA |
1 |
TC |
0 |
RD |
0 |
RA |
1 |
Z |
0 |
RCODE |
0 |
QDCOUNT |
1 |
ANCOUNT |
1 |
NSCOUNT |
1 |
ARCOUNT |
1 |
DNS Question section |
QNAME |
A.example.org |
QTYPE |
AAAA (0x001C) |
QCLASS |
IN (0x0001) |
DNS Answer section |
NAME |
A.example.org (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.org (Pointer 0xC00E) |
TYPE |
NS (0x0002) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
6 |
NSDNAME |
NS4.example.org (NS4 + Pointer 0xC00E) |
DNS Additional section |
NAME |
NS4.example.org (Pointer 0xC047) |
TYPE
|
A (0x0001) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
4 |
ADDRESS |
192.168.1.40 |
- 14th 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 |
0 |
TC |
0 |
RD |
1 |
RA |
1 |
Z |
0 |
RCODE |
0 |
QDCOUNT |
1 |
ANCOUNT |
1 |
NSCOUNT |
1 |
ARCOUNT |
2 |
DNS Question section |
QNAME |
A.example.org |
QTYPE |
AAAA (0x001C) |
QCLASS |
IN (0x0001) |
DNS Answer section |
NAME |
A.example.org (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.org (Pointer 0xC00E) |
TYPE |
NS (0x0002) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
6 |
NSDNAME |
NS4.example.org (NS4 + Pointer 0xC00E) |
DNS Additional section |
NAME |
NS4.example.org (Pointer 0xC047) |
TYPE
|
A (0x0001) |
CLASS |
IN (0x0001) |
TTL |
1 day (86400) |
RDLENGTH |
4 |
ADDRESS |
192.168.1.40 |
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 |
SV2_NETY |
DNS Server2's (TN) Net-y address |
SV3_NETY |
DNS Server3's (TN) Net-y address |
SV4_NETY |
DNS Server4's (TN) Net-y address |
2. Received standard query including QNAME=A.example.org, QTYPE=AAAA w/ OPT pseudo-RR.
4. Received standard query including QNAME=A.example.org, QTYPE=AAAA w/o OPT pseudo-RR.
6. Received standard query including QNAME=A.example.org, QTYPE=AAAA w/ OPT pseudo-RR.
8. Received standard query including QNAME=A.example.org, QTYPE=AAAA w/o OPT pseudo-RR.
10. Received standard query including QNAME=A.example.org, QTYPE=AAAA w/ OPT pseudo-RR.
12. Received standard query including QNAME=A.example.org, QTYPE=AAAA w/o OPT pseudo-RR.
14. Received standard query response including correct address in the ADDRESS field w/ 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