NAME

        CL_RFC1035_7_4_cache_RRs - Caching several RRs of same type


VERIFICATION POINTS

        Verify that a NUT uses the cached data


TARGET

        Client (with Caching function)


SYNOPSIS

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


INITIALIZATION


TEST PROCEDURE

	This test sequence is following.

DNS Client1 (NUT) DNS Server1 (TN) | | |--------------------------------------------->| | 1. Send standard query | | QNAME=example.com | | QTYPE=NS | | | |<---------------------------------------------| | 2. Standard query response | | QNAME=example.com | | QTYPE=NS | | RDATA=NS2.example.com | | RDATA=NS3.example.com | | | |--------------------------------------------->| | 3. Send standard query | | QNAME=NS2.example.com | | QTYPE=A | | | |--------------------------------------------->| | 4. Send standard query | | QNAME=NS3.example.com | | QTYPE=A | | | v v
1. NUT send standard query(QNAME=example.com, QTYPE=NS) to DNS Server1(TN). Judgment (Check *1) 2. TN send standard query response(RDATA=NS2.example.com, RDATA=NS3.example.com) to NUT. 3. NUT send standard query(QNAME=NS2.example.com, QTYPE=A) to TN. Judgment (Check *3) 4. NUT send standard query(QNAME=NS3.example.com, QTYPE=A) to TN. Judgment (Check *4)


JUDGMENT

        1. Received standard query QNAME=example.com from NUT.
        3. Received standard query QNAME=NS2.example.com from NUT.
        4. Received standard query QNAME=NS3.example.com from NUT.
                                 or
        3. Not received standard query QNAME=NS2.example.com from NUT.
        4. Not received standard query QNAME=NS3.example.com from NUT.


TERMINATION

        If NUT has cache function, clear the cache.


REFERENCE

	RFC1035 DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION
	7.4. Using the cache