NAME

        SV_RFC1034_4_3_2_23A6_1 - The data at the node is not CNAME or CNAME and QTYPE match CNAME.


VERIFICATION POINTS

        Verify that whether NUT's behavior. Recursion service is available but not requested 
        via the RD bit in the query. Search the available zones for the zone which is the nearest
        ancestor to QNAME. Such a zone is found and the whole of QNAME is matched, the data at 
        the node is not a CNAME, or the node is a CNAME and QTYPE match CNAME case.


TARGET

        Server


SYNOPSIS

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


INITIALIZATION


TEST PROCEDURE

        This test sequence is following.
    DNS Client1 (TN)             DNS Server1 (NUT)
        |                              |
        |----------------------------->|
        | 1. Send standard query       |
        |  RD = 0                      |
        |  QNAME = A.example.com       |
        |  QTYPE = ANY (0x00FF)        |
        |                              |
        |<-----------------------------|
        | 2. Standard query response   |
        |  RD = 0                      |
        |  RA = 1                      |
        |  AA = 1                      |
        |  QNAME = A.example.com       |
        |  QTYPE = A                   |
        |  ANSWER Name                 |
        |         = A.example.com      |
        |  ANSWER Type                 |
        |         = A (0x0001)         |
        |  ANSWER Address              |
        |         = 192.168.1.10       |
        |  ANSWER Name                 |
        |         = A.example.com      |
        |  ANSWER Type                 |
        |         = AAAA (0x001C)      |
        |  ANSWER Address              |
        |      = 3ffe:501:ffff:101::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       |
        |                              |
        |----------------------------->|
        | 3. Send standard query       |
        |  RD = 0                      |
        |  QNAME = C.example.com       |
        |  QTYPE = CNAME (0x0005)      |
        |                              |
        |<-----------------------------|
        | 4. Standard query response   |
        |  RD = 0                      |
        |  RA = 1                      |
        |  AA = 1                      |
        |  QNAME = C.example.com       |
        |  QTYPE = A                   |
        |  ANSWER Name                 |
        |         = C.example.com      |
        |  ANSWER Type                 |
        |         = CNAME (0x0005)     |
        |  ANSWER Primary Name         |
        |         = A.example.com      |
        |  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
        1. DNS Client1 (TN) send standard query QNAME=A.example.com, QTYPE=ANY with RD=0 to DNS Server1 (NUT).
        2. DNS Server1 (NUT) transmits standard query response all RRs that match QTYPE to DNS Client1 (TN). (Judgment *2)
        3. DNS Client1 (TN) send standard query QNAME=C.example.com, QTYPE=CNAME with RD=0 to DNS Server1 (NUT).
        4. DNS Server1 (NUT) transmits standard query response all RRs that match QTYPE to DNS Client1 (TN). (Judgment *4)


JUDGMENT

        2. Received standard query response which include all RRs in Answer section.
        4. Received standard query response which include CNAME in Answer section.


TERMINATION

        None


REFERENCE

        RFC1034 DOMAIN NAMES - CONCEPTS AND FACILITIES
        4. NAME SERVERS
        4.3.2. Algorithm