SV_RFC1034_4_3_1_NameError_NotRA - The non-recursive response is an authoritative name error
indicating that the name does not exist.
Verify that the non-recursive response is an authoritative name error indicating
that the name does not exist, when recursive service is not requested or is not available.
Server (Non-recursive)
SV_RFC1034_4_3_1_NoRecursive.seq [-tooloption ...]: KOI tool option
See also DNSConfig.pm
This test sequence is following.
DNS Client1 (TN) DNS Server1 (NUT)
| |
|----------------------------->|
| 1. Send standard query |
| RD = 1 |
| QNAME = B.example.com |
| QTYPE = A |
| |
|<-----------------------------|
| 2. Standard query response |
| RD = 1 |
| RA = 0 |
| RCODE = Name Error (3) |
| QNAME = B.example.com |
| QTYPE = A |
| AUTHORITY Name |
| = example.com |
| AUTHORITY NSDNAME |
| = NS1.example.com |
| AUTHORITY Type |
| = SOA (0x0006) |
| AUTHORITY MNAME |
| = NS1.example.com |
| AUTHORITY RNAME |
| = root.example.com |
| |
|----------------------------->|
| 3. Send standard query |
| RD = 0 |
| QNAME = B.example.com |
| QTYPE = A |
| |
|<-----------------------------|
| 4. Standard query response |
| RD = 0 |
| RA = 0 |
| RCODE = Name Error (3) |
| QNAME = B.example.com |
| QTYPE = A |
| AUTHORITY Name |
| = example.com |
| AUTHORITY NSDNAME |
| = NS1.example.com |
| AUTHORITY Type |
| = SOA (0x0006) |
| AUTHORITY MNAME |
| = NS1.example.com |
| AUTHORITY RNAME |
| = root.example.com |
| |
v v
This test sequence is following.
1. DNS Client1 (TN) sends standard query QNAME=A.example.com, QTYPE=A to DNS Server1 (NUT).
2. DNS Server1 (NUT) transmits a error response to DNS Client1 (TN) with AUTHORITY. (Judgment *2)
3. DNS Client1 (TN) sends standard query QNAME=A.example.com, QTYPE=A to DNS Server1 (NUT).
4. DNS Server1 (NUT) transmits a error response to DNS Client1 (TN) with AUTHORITY. (Judgment *4)
- 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 |
B.example.com |
| QTYPE |
A (0x0001) |
| QCLASS |
IN (0x0001) |
- 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 |
1000 |
| DNS Header |
ID |
0x1000 |
| QR |
1 |
| OPCODE |
0 |
| AA |
0 |
| TC |
0 |
| RD |
1 |
| RA |
0 |
| Z |
ANY |
| RCODE |
3 |
| QDCOUNT |
1 |
| ANCOUNT |
0 |
| NSCOUNT |
1 |
| ARCOUNT |
0 |
| DNS Question section |
QNAME |
B.example.com |
| QTYPE |
A (0x0001) |
| QCLASS |
IN (0x0001) |
| DNS Authority section |
NAME |
example.com (Pointer 0xC00E) |
| TYPE |
SOA (0x0006) |
| CLASS |
IN (0x0001) |
| TTL |
1 day (86400) |
| RDLENGTH |
39 |
| MNAME |
NS1.example.com (NS1 + Pointer 0xC00E) |
| RNAME |
root.example.com (root + Pointer 0xC00E) |
| SERIAL |
2005081600 |
| REFRESH |
1 hr (3600) |
| RETRY |
15 min (900) |
| EXPIRE |
1 week (604800) |
| MINIMUM |
1 hr (3600) |
- 3rd 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 |
0x2000 |
| QR |
0 |
| OPCODE |
0 |
| AA |
0 |
| TC |
0 |
| RD |
0 |
| RA |
0 |
| Z |
0 |
| RCODE |
0 |
| QDCOUNT |
1 |
| ANCOUNT |
0 |
| NSCOUNT |
0 |
| ARCOUNT |
0 |
| DNS Question section |
QNAME |
B.example.com |
| QTYPE |
A (0x0001) |
| QCLASS |
IN (0x0001) |
- 4th 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 |
0x2000 |
| QR |
1 |
| OPCODE |
0 |
| AA |
0 |
| TC |
0 |
| RD |
0 |
| RA |
0 |
| Z |
ANY |
| RCODE |
3 |
| QDCOUNT |
1 |
| ANCOUNT |
0 |
| NSCOUNT |
1 |
| ARCOUNT |
0 |
| DNS Question section |
QNAME |
B.example.com |
| QTYPE |
A (0x0001) |
| QCLASS |
IN (0x0001) |
| DNS Authority section |
NAME |
example.com (Pointer 0xC00E) |
| TYPE |
SOA (0x0006) |
| CLASS |
IN (0x0001) |
| TTL |
1 day (86400) |
| RDLENGTH |
39 |
| MNAME |
NS1.example.com (NS1 + Pointer 0xC00E) |
| RNAME |
root.example.com (root + Pointer 0xC00E) |
| SERIAL |
2005081600 |
| REFRESH |
1 hr (3600) |
| RETRY |
15 min (900) |
| 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_NETZ |
DNS Server2's (TN) Net-y address |
2. Received an authoritative error response with RD=1, RA=0 and RCODE=3.
4. Received an authoritative error response with RD=0, RA=0 and RCODE=3.
None
RFC1034 DOMAIN NAMES - CONCEPTS AND FACILITIES
4. NAME SERVERS
4.3.1. Queries and responses