SV_RFC1034_4_3_2_23B46_2 - And QNAME is not found in the cache.
Verify that whether NUT's following behavior.
Recursion service is avairable but not requested via the RD bit in the query.
Search the available zones for the zone which is the nearest ancestor to QNAME.
Such a zone is found. A match take QNAME out of the authoritative data, QNAME
has a referral. Copy the NS RRs for the subzone into the authority section of
the reply. Starting matching down in the cache. And QNAME is not found in the cache.
Server
SV_RFC1034_4_3_2_23B46_2.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 = 0 |
| QNAME = A.sub.example.com |
| QTYPE = A |
| |
|<-----------------------------|
| 2. Standard query response |
| AA = 0 |
| RD = 0 |
| RA = 1 |
| QNAME = A.sub.example.com |
| QTYPE = A |
| AUTHORITY Name |
| = sub.example.com |
| AUTHORITY Type |
| = NS (0x0002) |
| AUTHORITY Name Server |
| = NS6.sub.example.com |
| ADDITIONAL Name |
| = NS6.sub.example.com |
| ADDITIONAL Type |
| = A (0x0001) |
| ADDITIONAL Address |
| = 192.168.0.30 |
| ADDITIONAL Name |
| = NS6.sub.example.com |
| ADDITIONAL Type |
| = AAAA (0x001C) |
| ADDITIONAL Address |
| = 3ffe:501:ffff:101::30 |
| |
v v
This test sequence is following.
1. DNS Client1 (TN) send standard query QNAME=A.sub.example.com, QTYPE=A to NUT.
2. DNS Server1 (NUT) transmits error response which include NS RRs in authority section and
all glue record of NS RRs in additional section. (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 |
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 |
A.sub.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 |
0 |
| RA |
1 |
| Z |
ANY |
| RCODE |
0 |
| QDCOUNT |
1 |
| ANCOUNT |
0 |
| NSCOUNT |
1 |
| ARCOUNT |
2 |
| DNS Question section |
QNAME |
A.sub.example.com |
| QTYPE |
A (0x0001) |
| QCLASS |
IN (0x0001) |
| DNS Authority section |
NAME |
sub.example.com (Pointer 0xC00D) |
| TYPE |
NS (0x0002) |
| CLASS |
IN (0x0001) |
| TTL |
1 day (86400) |
| RDLENGTH |
6 |
| NSDNAME |
NS6.sub.example.com (NS6 + Pointer 0xC00D) |
| DNS Additional section |
NAME |
NS6.sub.example.com (Pointer 0xC02F) |
TYPE
|
A (0x0001) |
| CLASS |
IN (0x0001) |
| TTL |
1 day (86400) |
| RDLENGTH |
4 |
| ADDRESS |
192.168.0.30 |
| DNS Additional section |
NAME |
NS6.sub.example.com (Pointer 0xC02F) |
TYPE
|
AAAA (0x001C) |
| CLASS |
IN (0x0001) |
| TTL |
1 day (86400) |
| RDLENGTH |
16 |
| ADDRESS |
3ffe:501:ffff:100::30 |
- Exp.
| NUT_NETZ |
DNS Server1's (NUT) Net-z address |
| CL1_NETZ |
DNS Client1's (TN) Net-z address |
2. Received standard query response which include the NSs RRs in authority section and
glue RRs in additional Section.
None
RFC1034 DOMAIN NAMES - CONCEPTS AND FACILITIES
4. NAME SERVERS
4.3.2. Algorithm