NAME

        SV_RFC1034_4_3_1_ErrIndicate_RAwCNAME - A name error indicating that the name does not exist


VERIFICATION POINTS

        Verify that a NUT answers a name error indicating that the name does not exist.
        This may include CNAME RRs that indicate that the original query name was analias 
        for a name which does not exst.


TARGET

        Server


SYNOPSIS

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


INITIALIZATION


TEST PROCEDURE

        This test sequence is following.
                                                                   <--------------- TN ------------------>
    DNS Client1 (TN)             DNS Server1 (NUT)                  DNS Server2 DNS Server3 DNS Server4
        |                              |                                 |           |           |
        |----------------------------->|                                 |           |           |
        | 1. Send standard query       |                                 |           |           |
        |  RD = 1                      |                                 |           |           |
        |  QNAME = D.example.org       |                                 |           |           |
        |  QTYPE = A                   |                                 |           |           |
        |                              |                                 |           |           |
        |                              |-------------------------------->|           |           |
        |                              | 2. Recv standard query          |           |           |
        |                              |  QNAME = D.example.org          |           |           |
        |                              |  QTYPE = A                      |           |           |
        |                              |                                 |           |           |
        |                              |<--------------------------------|           |           |
        |                              | 3. Send standard query response |           |           |
        |                              |  QNAME = D.example.org          |           |           |
        |                              |  QTYPE = A                      |           |           |
        |                              |  AUTHORITY Name                 |           |           |
        |                              |            = org                |           |           |
        |                              |  AUTHORITY NSDNAME              |           |           |
        |                              |            = NS3.example.org    |           |           |
        |                              |  ADDITIONAL Name                |           |           |
        |                              |            = NS3.example.org    |           |           |
        |                              |  ADDITIONAL Address             |           |           |
        |                              |            = 192.168.1.30       |           |           |
        |                              |                                 |           |           |
        |                              |                                 v           |           |
        |                              |                                             |           |
        |                              |-------------------------------------------->|           |
        |                              |             4. Recv standard query          |           |
        |                              |              QNAME = D.example.org          |           |
        |                              |              QTYPE = A                      |           |
        |                              |                                             |           |
        |                              |<--------------------------------------------|           |
        |                              |             5. Send standard query response |           |
        |                              |              QNAME = D.example.org          |           |
        |                              |              QTYPE = A                      |           |
        |                              |              AUTHORITY Name                 |           |
        |                              |                     = example.org           |           |
        |                              |              AUTHORITY NSDNAME              |           |
        |                              |                     = NS4.example.org       |           |
        |                              |              ADDITIONAL Name                |           |
        |                              |                     = NS4.example.org       |           |
        |                              |              ADDITIONAL Address             |           |
        |                              |                     = 192.168.1.40          |           |
        |                              |                                             v           |
        |                              |                                                         |
        |                              |-------------------------------------------------------->|
        |                              |                     6. Recv standard query              |
        |                              |                      QNAME = D.example.org              |
        |                              |                      QTYPE = A                          |
        |                              |                                                         |
        |                              |<--------------------------------------------------------|
        |                              |                     7. Send standard query response     |
        |                              |                      AA = 1                             |
        |                              |                      RCODE = Name Error (3)             |
        |                              |                      QNAME = D.example.org              |
        |                              |                      QTYPE = A                          |
        |                              |                      ANSWER Name                        |
        |                              |                             = D.example.org             |
        |                              |                      ANSWER Type                        |
        |                              |                             = CNAME                     |
        |                              |                      ANSWER Primary Name                |
        |                              |                             = C.example.org             |
        |                              |                      AUTHORITY Name                     |
        |                              |                             = example.org               |
        |                              |                      AUTHORITY NSDNAME                  |
        |                              |                             = NS4.example.org           |
        |                              |                      AUTHORITY Type                     |
        |                              |                             = SOA (0x0006)              |
        |                              |                      AUTHORITY MNAME                    |
        |                              |                             = NS4.example.org           |
        |                              |                      AUTHORITY RNAME                    |
        |                              |                             = postmaster.example.org    |
        |                              |                                                         |
        |                              |                                                         v
        |<-----------------------------|
        | 8. Standard query response   |
        |  RD = 1                      |
        |  RA = 1                      |
        |  RCODE = Name Error (3)      |
        |  QNAME = D.example.org       |
        |  QTYPE = A                   |
        |  ANSWER Name                 |
        |         = D.example.org      |
        |  ANSWER Type                 |
        |         = CNAME              |
        |  ANSWER Primary Name         |
        |         = C.example.org      |
        |  AUTHORITY Name              |
        |         = example.org        |
        |  AUTHORITY NSDNAME           |
        |         = NS4.example.org    |
        |  AUTHORITY Type              |
        |         = SOA (0x0006)       |
        |  AUTHORITY MNAME             |
        |         = NS4.example.org    |
        |  AUTHORITY RNAME             |
        |     = postmaster.example.org |
        |                              |
        v                              v
        This test sequence is following.
        1. DNS Client1 (TN) send standard query QNAME=D.example.com, QTYPE=A to NUT.
        2. DNS Server1 (NUT) transmits standard query to DNS Server1 (TN). (Judgment *2)
        5. DNS Server2 (TN) send standard query response to DNS Server1 (NUT).
        4. DNS Server1 (NUT) transmits standard query QNAME=D.example.org, QTYPE=A to DNS Server3 (TN).
        5. DNS Server3 (TN) send standard query response to DNS Server1 (NUT).
        6. DNS Server1 (NUT) transmits standard query QNAME=D.example.org, QTYPE=A to DNS Server4 (TN).
        7. DNS Server4 (TN) send a error response witch RCODE=3 (Name Error), ANSWER Name=D.example.org and TYPE=CNAME to DNS Server1 (NUT).
        8. DNS Server1 (NUT) transmits error response RCODE=3 to DNS Client1 (TN). It may 
           include ANSWER Type=CNAME. (Judgment *8)


JUDGMENT

        2. Received a standard query to recurisve. 
        8. Received a error response from which RCODE is 3 and may include ANSWER type=CNAME.


TERMINATION

        None


REFERENCE

        RFC1034 DOMAIN NAMES - CONCEPTS AND FACILITIES
        4. NAME SERVERS
        4.3.1. Queries and responses