NAME

        SV_RFC1123_6_1_3_2_query_while_zone_trans - Processing UDP query while zone transferring


VERIFICATION POINTS

        Verify that a NUT continues to process UDP query while zone transferring.


TARGET

        Server (Secondary)


SYNOPSIS

	SV_RFC1123_6_1_3_2_query_while_zone_trans.seq [-tooloption ...]: KOI tool option
	See also DNSConfig.pm


INITIALIZATION


TEST PROCEDURE

        This test sequence is following.
    DNS Client1 (TN)             DNS Server1 (NUT)              DNS Server7 (TN)
        |                              |                              |
        |                              |                              |
        |                              |----------------------------->|
        |                              | 1. Standard query            |
        |                              |  QNAME = sec.example.com     |
        |                              |  QTYPE = SOA (0x0006)        |
        |                              |                              |
        |                              |<-----------------------------|
        |                              | 2. Standard query response   |
        |                              |  QNAME = sec.example.com     |
        |                              |  QTYPE = SOA (0x0006)        |
        |                              |  ANSWER Name                 |
        |                              |       = sec.example.com      |
        |                              |  ANSWER Type                 |
        |                              |       = SOA (0x0006)         |
        |                              |  ANSWER TTL                  |
        |                              |       = 300                  |
        |                              |  ANSWER MNAME                |
        |                              |       = NS7.sec.example.com  |
        |                              |  ANSWER Rname                |
        |                              |       = root.sec.example.com |
        |                              |  ANSWER SERIAL               |
        |                              |       = 1                    |
        |                              |  ANSWER REFRESH              |
        |                              |       = 300sec               |
        |                              |  ANSWER RETRY                |
        |                              |       = 30sec                |
        |                              |  ANSWER EXPIRE               |
        |                              |       = 600sec               |
        |                              |  ANSWER MINIMUM              |
        |                              |       = 300sec               |
        |                              |  AUTHORITY Name              |
        |                              |       = sec.example.com      |
        |                              |  AUTHORITY Type              |
        |                              |       = NS (0x0002)          |
        |                              |  AUTHORITY Name Server       |
        |                              |       = NS7.sec.example.com  |
        |                              |  ADDITIONAL Name             |
        |                              |       = NS7.sec.example.com  |
        |                              |  ADDITIONAL Type             |
        |                              |       = A (0x0001)           |
        |                              |  ADDITIONAL Address          |
        |                              |       = 192.168.0.31         |
        |                              |                              |
        |                              |----------------------------->|
        |                              | 3. Standard query (using TCP)|
        |                              |  QNAME = sec.example.com     |
        |                              |  QTYPE = AXFR (0x00FC)       |
        |                              |                              |
        |----------------------------->|                              |
        | 4. Send standard query       |                              |
        |  QNAME = A.example.com       |                              |
        |  QTYPE = A                   |                              |
        |                              |                              |
        |<-----------------------------|                              |
        | 5. Standard query response   |                              |
        |  QNAME = A.example.com       |                              |
        |  QTYPE = A                   |                              |
        |  ANSWER Name                 |                              |
        |        = A.example.com       |                              |
        |  ANSWER Type                 |                              |
        |        = A (0x0001)          |                              |
        |  ANSWER Address              |                              |
        |        = 192.168.1.10        |                              |
        |                              |                              |
        |  AUTHORITY Name              |                              |
        |        = example.com         |                              |
        |  AUTHORITY Type              |                              |
        |        = NS (0x0002)         |                              |
        |  AUTHORITY Name Server       |                              |
        |        = NS1.example.com     |                              |
        |                              |                              |
        |  ADDITIONAL Name             |                              |
        |        = NS1.example.com     |                              |
        |  ADDITIONAL Type             |                              |
        |        = A (0x0001)          |                              |
        |  ADDITIONAL Address          |                              |
        |        = 192.168.0.10        |                              |
        |                              |                              |
        v                              v                              v
        This test sequence is following.
        1. DNS Server1 (NUT) transmits standard query QNAME = sec.example.com, 
           QTYPE = SOA to DNS Server7 (TN). (Judgment *1)
        2. DNS Server7 (TN) sends standard query response with SOA RRs to DNS Server1 (NUT).
        3. DNS Server1 (NUT) transmits standard query with QNAME = sec.example.com,
           QTYPE = AXFR using TCP to DNS Server7 (TN). (Judgment *3)
        4. DNS Client1 (TN) sends standard query QNAME = A.example.com QTYPE=A to DNS Server1 (NUT).
        5. DNS Server1 (NUT) transmits standard query response ANSWER Address = 192.168.1.10 
           to DNS Client1 (TN). (Judgment *5)


JUDGMENT

        1. Received standard query with Type=SOA. 
        3. Received standard query with Type=AXFR using TCP
        5. Received standard query response including Answer address 192.168.1.10.


TERMINATION

        None


REFERENCE

        RFC1123 Requirements for Internet Hosts -- Application and Support
        6.1.3.2  Transport Protocols