SV_RFC1035_2_3_2_order_octets - Order of transmission of octets and bits
Verify that a NUT transmits correct order of transmission of octets and bits
- The order of transmission of the header and data is resolved to the octet level.
The order of transmission of octets is the normal order in which they are read in English.
- Whenever an octet represents a numeric quantity, the left most bit in
the diagram is the high order or most significant bit.
- Similarly, whenever a multi-octet field represents a numeric quantity
the left most bit of the whole field is the most significant bit. When
a multi-octet quantity is transmitted the most significant octet is
transmitted first.
Caching Server
SV_RFC1035_2_3_2_order_octets.seq [-tooloption ...]: KOI tool option
See also DNSConfig.pm
This test sequence is following.
Client1 (TN) DNS Server1 (NUT) DNS Server2 (TN)
| | |
|----------------------------->| |
| 1. Send standard query | |
| QNAME=A.example.org | |
| QTYPE=A | |
| | |
| |-------------------------------->|
| | 2. Send 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)
- 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.org |
| QTYPE |
A (0x0001) |
| QCLASS |
IN (0x0001) |
- 2nd packet.
|
Standard query from DNS Server1 (NUT) to Server2 (TN)
|
| 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(must be numeric quantity) |
| RCODE |
any |
| QDCOUNT |
1 |
| ANCOUNT |
0 |
| NSCOUNT |
0 |
| ARCOUNT |
any(must be numeric quantity) |
| DNS Question section |
QNAME |
any |
| QTYPE |
any |
| QCLASS |
any |
- Exp.
| 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. Received standard query including QNAME=A.example.org, QTYPE=A.
*Order of transmission of octets is the normal in which they are read in English.
*Check order of transmission of octets in DNS header.
*The left most bit in the octets is most significant bit.
*Check numeric quantity of OPCODE, Z fields in DNS header.
*The left most bit in the multi-octets field is most significant bit.
*Check numeric quantity of QDCOUNT, ANCOUNT, NSCOUNT, ARCOUNT fields in DNS header.
None
RFC1035 DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION
2.3.2. Data Transmission Order