SV_RFC2308_2_2_No_Data - No Data
Verify that a NUT transmits the response with No data(NODATA).
- NODATA is indicated by an answer with the RCODE set to NOERROR and no
relevant answers in the answer section. The authority section will
contain an SOA record, or there will be no NS records there.
- Name servers authoritative for a zone MUST include the SOA record of
the zone in the authority section of the response when reporting an
NXDOMAIN or indicating that no data of the requested type exists.
This is required so that the response may be cached. The TTL of this
record is set from the minimum of the MINIMUM field of the SOA record
and the TTL of the SOA itself, and indicates how long a resolver may
cache the negative answer.
Authoritative Server
SV_RFC2308_2_2_No_Data.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=HINFO |
| |
|<-------------------------------------|
| 2. Standard query response |
| NODATA |
| |
v v
1. TN send standard query QNAME=A.example.com, QTYPE=HINFO to NUT.
2. NUT reply query response w/ SOA record authority section 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 |
A.example.com |
| QTYPE |
HINFO (0x000D) |
| 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 |
2000 |
| DNS Header |
ID |
0x1000 |
| QR |
1 |
| OPCODE |
0 |
| AA |
1 |
| TC |
0 |
| RD |
1 |
| RA |
ANY |
| Z |
0 |
| RCODE |
0 |
| QDCOUNT |
1 |
| ANCOUNT |
0 |
| NSCOUNT |
1 |
| ARCOUNT |
0 |
| DNS Question section |
QNAME |
A.example.com |
| QTYPE |
HINFO (0x000D) |
| QCLASS |
IN (0x0001) |
| DNS Authority section |
NAME |
example.com (Pointer 0xC00E) |
| TYPE |
SOA (0x0006) |
| CLASS |
IN (0x0001) |
| TTL |
1 hour (3600) |
| RDLENGTH |
33 |
| NSDNAME |
NS1.example.com (NS1 + Pointer 0xC00E) |
| RNAME |
root.example.com (root + Pointer 0xC00E) |
| SERIAL |
2005081600 |
| REFRESH |
1 hour |
| RETRY |
15 minutes |
| EXPIRE |
1 week |
| MINIMUM |
1 hour (3600) |
- Exp.
| NUT_NETZ |
DNS Server1's (NUT) Net-z address |
| CL1_NETZ |
DNS Client1's (TN) Net-z address |
2. Received standard query response(NODATA) w/ SOA record in Authority section.
None
RFC2308 Negative Caching of DNS Queries (DNS NCACHE)
2.2 - No Data
2.2.1 - Special Handling of No Data
3 - Negative Answers from Authoritative Servers