NAME

        CL_RFC1034_3_1_DomainNameLength - Domain name length


VERIFICATION POINTS

        Verify that a NUT transmits messages name space specifications


TARGET

        Client


SYNOPSIS

	CL_RFC1034_3_1_DomainNameLength.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**.B**.C**.D**.E**.example.com. | | <----- Name length is 254 -----> | | | |<---------------------------------------------| | 2. Standard query response | | | | | |--------------------------------------------->| | 3. Send standard query | | QNAME=A.example.com. | | | |<---------------------------------------------| | 4. Standard query response | | | | | |------------------------------------------> X | | 5. Send standard query | | QNAME=A**.B**.C**.D**.E**.example2.com. | | <---- Name length is 255 -------> | | | v v
1. NUT send standard query w/ 254 octets name to TN. Judgment (Check *1) 2. TN send standard query response to NUT. 3. NUT send standard query w/ 14 octets name to TN. Judgment (Check *3) 2. TN send standard query response to NUT. 5. NUT send standard query w/ 255 octets name to TN. Judgment (Check *5)


JUDGMENT

        1. Received standard query w/ domain name length 255 from NUT.
        3. Received standard query w/ domain name length 15 from NUT.
        5. Not received standard query w/ domain name length 256 from NUT.


TERMINATION

        If NUT has cache function, clear the cache.


REFERENCE

	RFC1034 DOMAIN NAMES - CONCEPTS AND FACILITIES
	3.1. Name space specifications and terminology

RFC1035 DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION 2.3.4. Size limits 3.1. Name space definitions
RFC1123 Requirements for internet Hosts -- Application and Support 2.1. Host Names and Numbers 11. Name syntax