NAME

        CL_RFC2308_7_2_limit_dead_server - Limit of time (5 minutes) for caching (Dead/Unreachable Server)


VERIFICATION POINTS

        Verify that a NUT must not cache a dead server indication for longer than 5 minutes.


TARGET

        Client (with Caching function)


SYNOPSIS

	CL_RFC2308_7_2_limit_dead_server.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=A.example.com | | QTYPE=A | | | | X <------------------------------------------| | 2. Standard query response | | No response within 120 seconds | | | |--------------------------------------------->| | 3. Send standard query | | QNAME=A.example.com | | QTYPE=A | | *Send query after 5 minutes | | | v v
1. NUT send standard query to TN. Judgment (Check *1) 2. TN doesn't send standard query response to NUT within 120 seconds. 3. NUT send standard query to TN after 5 minutes from 2(total time is 7 minutes). Judgment (Check *3)


JUDGMENT

        1. Received standard query QNAME=A.example.com from NUT.
        3. Received standard query QNAME=A.example.com from NUT.


TERMINATION

        If NUT has cache function, clear the cache.


REFERENCE

	RFC2308 Negative Caching of DNS Queries (DNS NCACHE)
	7.2 Dead / Unreachable Server (OPTIONAL)