SV_RFC1035_4_1_3_Authority - Authority section format
Verify that a NUT transmits correct Authority section format
1 1 1 1 1 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| |
/ /
/ NAME /
| |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| TYPE |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| CLASS |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| TTL |
| |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| RDLENGTH |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--|
/ RDATA /
/ /
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
NAME : a domain name (example.com(Pointer 0xC00E))
TYPE : RR type codes (NS type : 2)
CLASS : class of the data in the RDATA field (IN : 1)
TTL : a 32 bit unsigned integer that specifies the time (1day : 86400)
RDLENGTH : length in octets of the RDATA field (6)
RDATA : resource record (NS1.example.com (NS1 + Pointer 0xC00E))
Authoritative Server
SV_RFC1035_4_1_3_Authority.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=A |
| |
|<-------------------------------------|
| 2. Standard query response |
| A=192.168.1.10 |
| |
v v
1. TN send standard query QNAME=A.example.com, QTYPE=A to NUT.
2. NUT reply query response w/ A=192.168.1.10 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 |
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 |
2000 |
| DNS Header |
ID |
any |
| QR |
any |
| OPCODE |
any |
| AA |
any |
| TC |
any |
| RD |
any |
| RA |
any |
| Z |
any |
| RCODE |
any |
| QDCOUNT |
any |
| ANCOUNT |
any |
| NSCOUNT |
any |
| ARCOUNT |
any |
| DNS Question section |
QNAME |
any |
| QTYPE |
any |
| QCLASS |
any |
| DNS Answer section |
NAME |
any |
| TYPE |
any |
| CLASS |
any |
| TTL |
any |
| RDLENGTH |
any |
| ADDRESS |
any |
| DNS Authority section |
NAME |
example.com (Pointer 0xC00E) |
| TYPE |
NS (0x0002) |
| CLASS |
IN (0x0001) |
| TTL |
1 day (86400) |
| RDLENGTH |
6 |
| NSDNAME |
NS1.example.com (NS1 + Pointer 0xC00E) |
| DNS Additional section |
NAME |
any |
TYPE
|
any |
| CLASS |
any |
| TTL |
any |
| RDLENGTH |
any |
| ADDRESS |
any |
- Exp.
| NUT_NETZ |
DNS Server1's (NUT) Net-z address |
| CL1_NETZ |
DNS Client1's (TN) Net-z address |
2. Standard query must be based on above Verification Points.
None
RFC1035 DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION
4.1.3. Resource record format