SV_RFC1035_3_1_label_root - Label of root
Verify that a NUT transmits correct standard query for label of root
Caching Server
SV_RFC1035_3_1_label_root.seq [-tooloption ...]: KOI tool option See also DNSConfig.pm
. domain AP Server1 (TN) DNS Server2 |A.example.org |A.ROOT.NET |3ffe:501:ffff:101::10 |3ffe:501:ffff:101::20 |192.168.1.10 |192.168.1.20 | | Net-y --+--------+---------------+---------- 3ffe:501:ffff:101::/64 | 192.168.1/24 | | Router (TN) |3ffe:501:ffff:100::1 |192.168.0.1 | | Net-z --+--------+-----------------+-------- 3ffe:501:ffff:100::/64 | | 192.168.0/24 | | DNS Server1 (NUT) DNS Client1 (TN) 3ffe:501:ffff:100::XXXX 3ffe:501:ffff:100::20 192.168.0.10 192.168.0.20
XXXX: EUI64
. 3600000 IN NS A.ROOT.NET. A.ROOT.NET. 3600000 A 192.168.1.20
. 3600000 IN NS A.ROOT.NET. A.ROOT.NET. 3600000 AAAA 3ffe:501:ffff:101::20
$TTL 86400 ; TTL of 1 day @ IN SOA NS1.example.com. root.example.com. ( 2005081600 ; serial 3600 ; refresh every 1 hr 900 ; retry every 15 min 604800 ; expire after a week 3600 ; Minimum TTL of a 1 hr ) ; IN NS NS1.example.com. NS1 IN A 192.168.0.10 ;
This test sequence is following.
DNS Client1 (TN) DNS Server1 (NUT) DNS Server2 (TN) | | | |----------------------------->| | | 1. Send standard query | | | QNAME=A.example.org | | | QTYPE=A | | | | | | |-------------------------------->| | | 2. Recv standard query | | | QNAME=A.example.org | | | QTYPE=A | | | | v v v
1. TN send standard query QNAME=A.example.org, QTYPE=A to NUT. 2. NUT transmits standard query to DNS Server2 (TN: root name server) (Judgment *2)
|
||
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.org |
QTYPE | A (0x0001) | |
QCLASS | IN (0x0001) |
|
||
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 | any | |
Z | any | |
RCODE | any | |
QDCOUNT | 1 | |
ANCOUNT | 0 | |
NSCOUNT | 0 | |
ARCOUNT | any | |
DNS Question section | QNAME | A.example.org |
QTYPE | A (0x0001) | |
QCLASS | IN (0x0001) |
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. Standard query must be based on above Verification Points. *In DNS Question section, QNAME field must include following data.
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | 0 0 0 0 0 0 0 1| a | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | 0 0 0 0 0 1 1 1| e | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | x | a | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | m | p | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | l | e | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | 0 0 0 0 0 0 1 1| o | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | r | g | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | 0 0 0 0 0 0 0 0| +--+--+--+--+--+--+--+--+
None
RFC1035 DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION 3.1. Name space definitions