NAME

        CL_RFC1034_5_3_3_cache_delegation - Analyze the response (caching delegation)


VERIFICATION POINTS

        Verify that a NUT caches better delegation servers


TARGET

        Client (with Caching function and  recursive function)


SYNOPSIS

	CL_RFC1034_5_3_3_cache_delegation.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 | | | Not include Answer section | | | (delegation) | | | | | |----------------------------------------------|--------------------------------------------->| | 3. Send standard query | | | QNAME=A.example.com | | | | | |<---------------------------------------------|----------------------------------------------| | 4. Standard query response | | | | | |----------------------------------------------|--------------------------------------------->| | 5. Send standard query | | | QNAME=A.example.com | | | QTYPE=CNAME | | | | | v v v
1. NUT send standard query to DNS Server1(TN). Judgment (Check *1) 2. TN send standard query response to NUT. 3. NUT send standard query to DNS Server2(TN).*Don't specify the DNS Server2.*Send query automatically. Judgment (Check *3) 4. TN send standard query response to NUT. 5. NUT send standard query to DNS Server2(TN).*Don't specify the DNS Server2. Judgment (Check *5)


JUDGMENT

        1. Received standard query QNAME=A.example.com from NUT to Server1(TN).
        3. Received standard query QNAME=A.example.com from NUT to Server2(TN).
        5. Received standard query QNAME=A.example.com QTYPE=CNAME from NUT to Server2(TN).


TERMINATION

        If NUT has cache function, clear the cache.


REFERENCE

	RFC1034 DOMAIN NAMES - CONCEPTS AND FACILITIES
	5.3.3. Algorithm