NAME

        CL_RFC2181_5_2_diff_nonauth - Differing TTLs from non-authoritative source


VERIFICATION POINTS

        Verify that a NUT treats as an error, when receive response containing RRs 
        from an RRSet with differing TTLs from a non-authoritative source.


TARGET

        Client (with Caching function)


SYNOPSIS

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


INITIALIZATION


TEST PROCEDURE

        This test sequence is following.
    DNS Client1 (NUT)                        DNS Server1 (TN)                               DNS Server2 (TN)
        |                                              |                                              |
        |--------------------------------------------->|                                              |
        |           1. Send standard query             |                                              |
        |              QNAME=A.example.com             |                                              |
        |                                              |                                              |
        |<---------------------------------------------|                                              |
        |           2. Standard query response         |                                              |
        |              RRs with differing TTLs         |                                              |
        |                                              |                                              |
        |----------------------------------------------|--------------------------------------------->|
        |           3A. Send standard query            |                                              |
        |              QNAME=A.example.com             |                                              |
        |                                              |                                              |
        |--------------------------------------------->|--------------------------------------------->|
        |           3B. Send standard query            |                                              |
        |              QNAME=A.example.com             |                                              |
        v                                              v                                              v
        1. NUT send standard query to DNS Server1(TN). (Judgment *1)
        2. TN send standard query response to NUT.
        3A. NUT send standard query to DNS Server2(TN). *Don't specify the DNS Server2.
           *Send query automatically. (Judgment *3A)
        3B. NUT send standard query. (Judgment *3B)
        *3A or 3B is executed.


JUDGMENT

        1. Received standard query QNAME=A.example.com from NUT to Server1(TN).
        3A. Received standard query QNAME=A.example.com from NUT to Server2(TN).
        3B. Received standard query QNAME=A.example.com from NUT to Server1(TN) or Server2(TN).
        *3A or 3B is judged.


TERMINATION

        If NUT has cache function, clear the cache.


REFERENCE

	RFC2181 Clarifications to the DNS Specification
	5.2. TTLs of RRs in an RRSet