NAME

        SV_RFC1034_4_3_1_NoRecursive - The name server implement non-recursive queries.


VERIFICATION POINTS

        Verify that a NUT returns the response contains an error, the answer, or a referral to some other
        server 'closer' to the answer when server can answer queries using only local information.


TARGET

        Authoritative Server (No-recursive)


SYNOPSIS

	SV_RFC1034_4_3_1_NoRecursive.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       |
        |    QNAME=A.example.com       |
        |    QTYPE=A                   |
        |                              |
        |<-----------------------------|
        | 2. Standard query response   |
        |  RA = 0                      |
        |  QNAME=A.example.com         |
        |  QTYPE=A                     |
        |  ANSWER Name                 |
        |           = A.example.com    |
        |  ANSWER Address              |
        |           = 192.168.1.10     |
        |  AUTHORITY Name              |
        |           = example.com      |
        |  AUTHORITY Name Server       |
        |           = NS1.example.com  |
        |  ADDITIONAL Name             |
        |           = NS1.example.com  |
        |  ADDITIONAL Address          |
        |           = 192.168.0.10     |
        |                              |
        |----------------------------->|
        | 3. Send standard query       |
        |  QNAME = A.example.org       |
        |  QTYPE = A                   |
        |                              |
        |<-----------------------------|
        | 4. Standard query response   |
        |                              |
        |  RA = 0                      |
        |  RCODE = 0                   |
        |  QNAME = A.example.org       |
        |  QTYPE = A                   |
        |  AUTHORITY Name              |
        |           = <ROOT>           |
        |  AUTHORITY Name Server       |
        |           = A.ROOT.NET       |
        |                              |
        |            or                |
        |                              |
        |  RA = 0                      |
        |  RCODE = 3                   |
        |  QNAME = A.example.org       |
        |  QTYPE = A                   |
        |                              |
        v                              v
        This test sequence is following.
        1. DNS Client1 (TN) sends standard query QNAME=A.example.com, QTYPE=A to NUT.
        2. DNS Server1 (NUT) transmits standard query response to DNS Client1 (TN). (Judgment *2)
        3. DNS Client1 (TN) sends standard query QNAME=A.example.org, QTYPE=A to DNS Server1 (NUT).
        4. DNS Server1 (NUT) transmits standard query response to DNS Client1 (TN) with AUTHORITY Name=<ROOT>, AUTHORITY Name server
           A.ROOT.NET.
           or
           DNS Server1 (NUT) returns the response contains an error, the answer to DNS Client1 (TN).
           (Judgment *4)


JUDGMENT

        2. Received standard query response with Recursion Available (RA) bit is set
        4. Received standard query response containing a referral to other server 'closer'
            or
           Received standard query response containing a error (RCODE=3).


TERMINATION

        None


REFERENCE

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