SV_RFC1034_3_6_SOA_rdata - Resource record of SOA
Verify that a NUT transmits correct message including SOA resource record
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / MNAME / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / RNAME / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | SERIAL | | | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | REFRESH | | | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | RETRY | | | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | EXPIRE | | | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | MINIMUM | | | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| MNAME : |
The <domain-name> of the name server that was the original or primary source of data for this zone. |
| RNAME : |
The <domain-name> which specifies the mailbox of the person responsible for this zone. |
| SERIAL : |
The unsigned 32 bit version number of the original copy of the zone. Zone transfers preserve this value. This value wraps and should be compared using sequence space arithmetic |
| REFRESH : | A 32 bit time interval before the zone should be refreshed. |
| RETRY : |
A 32 bit time interval that should elapse before a failed refresh should be retried. |
| EXPIRE : |
A 32 bit time value that specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative. |
Authoritative Server
SV_RFC1034_3_6_SOA_rdata.seq [-tooloption ...]: KOI tool option See also DNSConfig.pm
AP Server1 (TN)
|3ffe:501:ffff:101::10
|192.168.1.10
|
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
$TTL 86400 ; TTL 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 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)
| |
|------------------------------------->|
| 1. Send standard query |
| QNAME=example.com |
| QTYPE=SOA |
| |
|<-------------------------------------|
| 2. Standard query response |
| SOA=NS1.example.com |
| |
v v
1. TN send standard query QNAME=example.com, QTYPE=SOA to NUT.
2. NUT reply query response w/ SOA=NS1.example.com to TN (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 | example.com |
| QTYPE | SOA (0x0006) | |
| QCLASS | IN (0x0001) | |
|
|
||
| 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 | 1 | |
| NSCOUNT | 1 | |
| ARCOUNT | 1 | |
| DNS Question section | QNAME | example.com |
| QTYPE | SOA (0x0006) | |
| QCLASS | IN (0x0001) | |
| DNS Answer section | NAME | example.com (Pointer 0xC00C) |
| TYPE | SOA (0x0006) | |
| CLASS | IN (0x0001) | |
| TTL | 1 day (86400) | |
| RDLENGTH | 33 | |
| MNAME | NS1.example.com (NS1 + Pointer 0xC00C) | |
| RNAME | root.example.com (root + Pointer 0xC00C) | |
| SERIAL | 2005081600 | |
| REFRESH | 1 hour | |
| RETRY | 15 minutes | |
| EXPIRE | 1 week | |
| MINIMUM | 1 hour | |
| DNS Authority section | NAME | example.com (Pointer 0xC00C) |
| TYPE | NS (0x0002) | |
| CLASS | IN (0x0001) | |
| TTL | 1 day (86400) | |
| RDLENGTH | 2 | |
| NSDNAME | NS1.example.com (Pointer 0xC029) | |
| DNS Additional section | NAME | NS1.example.com (Pointer 0xC029) |
| TYPE |
A (0x0001) | |
| CLASS | IN (0x0001) | |
| TTL | 1 day (86400) | |
| RDLENGTH | 4 | |
| ADDRESS | 192.168.0.10 | |
| NUT_NETZ | DNS Server1's (NUT) Net-z address |
| CL1_NETZ | DNS Client1's (TN) Net-z address |
2. Received standard query response including SOA resource record.
None
RFC1034 DOMAIN NAMES - CONCEPTS AND FACILITIES
3.6 Resource Records
RFC1035 DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION
3.2.1 Format
3.2.2 TYPE values
3.3.13 SOA RDATA format