SV_RFC1034_4_3_1_ErrIndicate_RAwCNAME - A name error indicating that the name does not exist
Verify that a NUT answers a name error indicating that the name does not exist.
This may include CNAME RRs that indicate that the original query name was analias
for a name which does not exst.
Server
SV_RFC1034_4_3_1_ErrIndicate_RAwCNAME.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 | | | |
| RD = 1 | | | |
| QNAME = D.example.org | | | |
| QTYPE = A | | | |
| | | | |
| |-------------------------------->| | |
| | 2. Recv standard query | | |
| | QNAME = D.example.org | | |
| | QTYPE = A | | |
| | | | |
| |<--------------------------------| | |
| | 3. Send standard query response | | |
| | QNAME = D.example.org | | |
| | QTYPE = A | | |
| | AUTHORITY Name | | |
| | = org | | |
| | AUTHORITY NSDNAME | | |
| | = NS3.example.org | | |
| | ADDITIONAL Name | | |
| | = NS3.example.org | | |
| | ADDITIONAL Address | | |
| | = 192.168.1.30 | | |
| | | | |
| | v | |
| | | |
| |-------------------------------------------->| |
| | 4. Recv standard query | |
| | QNAME = D.example.org | |
| | QTYPE = A | |
| | | |
| |<--------------------------------------------| |
| | 5. Send standard query response | |
| | QNAME = D.example.org | |
| | QTYPE = A | |
| | AUTHORITY Name | |
| | = example.org | |
| | AUTHORITY NSDNAME | |
| | = NS4.example.org | |
| | ADDITIONAL Name | |
| | = NS4.example.org | |
| | ADDITIONAL Address | |
| | = 192.168.1.40 | |
| | v |
| | |
| |-------------------------------------------------------->|
| | 6. Recv standard query |
| | QNAME = D.example.org |
| | QTYPE = A |
| | |
| |<--------------------------------------------------------|
| | 7. Send standard query response |
| | AA = 1 |
| | RCODE = Name Error (3) |
| | QNAME = D.example.org |
| | QTYPE = A |
| | ANSWER Name |
| | = D.example.org |
| | ANSWER Type |
| | = CNAME |
| | ANSWER Primary Name |
| | = C.example.org |
| | AUTHORITY Name |
| | = example.org |
| | AUTHORITY NSDNAME |
| | = NS4.example.org |
| | AUTHORITY Type |
| | = SOA (0x0006) |
| | AUTHORITY MNAME |
| | = NS4.example.org |
| | AUTHORITY RNAME |
| | = postmaster.example.org |
| | |
| | v
|<-----------------------------|
| 8. Standard query response |
| RD = 1 |
| RA = 1 |
| RCODE = Name Error (3) |
| QNAME = D.example.org |
| QTYPE = A |
| ANSWER Name |
| = D.example.org |
| ANSWER Type |
| = CNAME |
| ANSWER Primary Name |
| = C.example.org |
| AUTHORITY Name |
| = example.org |
| AUTHORITY NSDNAME |
| = NS4.example.org |
| AUTHORITY Type |
| = SOA (0x0006) |
| AUTHORITY MNAME |
| = NS4.example.org |
| AUTHORITY RNAME |
| = postmaster.example.org |
| |
v v
This test sequence is following.
1. DNS Client1 (TN) send standard query QNAME=D.example.com, QTYPE=A to NUT.
2. DNS Server1 (NUT) transmits standard query to DNS Server1 (TN). (Judgment *2)
5. DNS Server2 (TN) send standard query response to DNS Server1 (NUT).
4. DNS Server1 (NUT) transmits standard query QNAME=D.example.org, QTYPE=A to DNS Server3 (TN).
5. DNS Server3 (TN) send standard query response to DNS Server1 (NUT).
6. DNS Server1 (NUT) transmits standard query QNAME=D.example.org, QTYPE=A to DNS Server4 (TN).
7. DNS Server4 (TN) send a error response witch RCODE=3 (Name Error), ANSWER Name=D.example.org and TYPE=CNAME to DNS Server1 (NUT).
8. DNS Server1 (NUT) transmits error response RCODE=3 to DNS Client1 (TN). It may
include ANSWER Type=CNAME. (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 |
1000 |
| 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 |
D.example.com |
| QTYPE |
A (0x0001) |
| QCLASS |
IN (0x0001) |
- 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 |
| RCODE |
0 |
| QDCOUNT |
1 |
| ANCOUNT |
0 |
| NSCOUNT |
0 |
| ARCOUNT |
ANY |
| DNS Question section |
QNAME |
D.example.org |
| QTYPE |
A (0x0001) |
| QCLASS |
IN (0x0001) |
- 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 |
0 |
| QDCOUNT |
1 |
| ANCOUNT |
0 |
| NSCOUNT |
1 |
| ARCOUNT |
1 |
| DNS Question section |
QNAME |
D.example.org
|
| QTYPE |
A (0x0001) |
| 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 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 |
ANY |
| RCODE |
0 |
| QDCOUNT |
1 |
| ANCOUNT |
0 |
| NSCOUNT |
0 |
| ARCOUNT |
ANY |
| DNS Question section |
QNAME |
D.example.org |
| QTYPE |
A (0x0001) |
| QCLASS |
IN (0x0001) |
- 5th 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 |
D.example.org
|
| QTYPE |
A (0x0001) |
| 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 |
- 6th 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 |
ANY |
| RCODE |
0 |
| QDCOUNT |
1 |
| ANCOUNT |
0 |
| NSCOUNT |
0 |
| ARCOUNT |
ANY |
| DNS Question section |
QNAME |
D.example.org |
| QTYPE |
A (0x0001) |
| QCLASS |
IN (0x0001) |
- 7th 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 |
0 |
| Z |
0 |
| RCODE |
3 |
| QDCOUNT |
1 |
| ANCOUNT |
1 |
| NSCOUNT |
1 |
| ARCOUNT |
0 |
| DNS Question section |
QNAME |
D.example.org
|
| QTYPE |
A (0x0001) |
| QCLASS |
IN (0x0001) |
| DNS Answer section |
NAME |
D.example.org (Pointer 0xC00C)
|
| TYPE |
CNAME (0x0005) |
| CLASS |
IN (0x0001) |
| TTL |
1 day (86400) |
| RDLENGTH |
4 |
| Primary Name |
C.example.org (C + Pointer 0xC00E) |
| DNS Authority section |
NAME |
example.org (Pointer 0xC00E) |
| TYPE |
SOA (0x0006) |
| CLASS |
IN (0x0001) |
| TTL |
1 day (86400) |
| RDLENGTH |
39 |
| MNAME |
NS4.example.org (NS4 + Pointer 0xC00E) |
| RNAME |
postmaster.example.org (postmaster + Pointer 0xC00E) |
| SERIAL |
2005081600 |
| REFRESH |
1 hr (3600) |
| RETRY |
5 min (300) |
| EXPIRE |
1 week (604800) |
| MINIMUM |
1 hr (3600) |
- 8th 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 |
1000 |
| DNS Header |
ID |
0x1000 |
| QR |
1 |
| OPCODE |
0 |
| AA |
0 |
| TC |
0 |
| RD |
1 |
| RA |
1 |
| Z |
ANY |
| RCODE |
3 |
| QDCOUNT |
1 |
| ANCOUNT |
1 |
| NSCOUNT |
1 |
| ARCOUNT |
ANY |
| DNS Question section |
QNAME |
D.example.org |
| QTYPE |
A (0x0001) |
| QCLASS |
IN (0x0001) |
| DNS Answer section |
NAME |
D.example.org (Pointer 0xC00C)
|
| TYPE |
CNAME (0x0005) |
| CLASS |
IN (0x0001) |
| TTL |
1 day (86400) |
| RDLENGTH |
4 |
| Primary Name |
C.example.org (C + Pointer 0xC00E) |
| DNS Authority section |
NAME |
example.org (Pointer 0xC00E) |
| TYPE |
SOA (0x0006) |
| CLASS |
IN (0x0001) |
| TTL |
1 day (86400) |
| RDLENGTH |
39 |
| MNAME |
NS4.example.org (NS4 + Pointer 0xC00E) |
| RNAME |
postmaster.example.org (postmaster + Pointer 0xC00E) |
| SERIAL |
2005081600 |
| REFRESH |
1 hr (3600) |
| RETRY |
5 min (300) |
| EXPIRE |
1 week (604800) |
| MINIMUM |
1 hr (3600) |
- 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 a standard query to recurisve.
8. Received a error response from which RCODE is 3 and may include ANSWER type=CNAME.
None
RFC1034 DOMAIN NAMES - CONCEPTS AND FACILITIES
4. NAME SERVERS
4.3.1. Queries and responses