NAME

        SV_RFC2181_8_time_to_live - Time to live


VERIFICATION POINTS

        Verify that a NUT uses a minimum value of 0, and a maximum value of 2147483647 as TTL value.


TARGET

        Authoritative Server


SYNOPSIS

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


INITIALIZATION


TEST PROCEDURE

        This test sequence is following.
    DNS Client1 (TN)                       DNS Server1 (NUT)
        |                                      |
        |------------------------------------->|
        |   1. Send standard query             |
        |       QNAME=A.example.com            |
        |       QTYPE=A                        |
        |                                      |
        |<-------------------------------------|
        |   2. Standard query response         |
        |       TTL=0                          |
        |       A=192.168.1.10                 |
        |                                      |
        |------------------------------------->|
        |   3. Send standard query             |
        |       QNAME=B.example.com            |
        |       QTYPE=A                        |
        |                                      |
        |<-------------------------------------|
        |   4. Standard query response         |
        |       TTL=2147483647                 |
        |       A=192.168.1.11                 |
        |                                      |
        v                                      v
        1. TN send standard query QNAME=A.example.com, QTYPE=A to NUT.
        2. NUT reply query response w/ TTL=0, A=192.168.1.10 to TN. (Judgment *2)
        3. TN send standard query QNAME=B.example.com, QTYPE=A to NUT.
        4. NUT reply query response w/ TTL=2147483647, A=192.168.1.11 to TN. (Judgment *4)


JUDGMENT

        2. Received standard query response w/ TTL=0, A=192.168.1.10.
        4. Received standard query response w/ TTL=2147483647, A=192.168.1.11.


TERMINATION

        None


REFERENCE

        RFC2181 Clarifications to the DNS Specification
        8. Time to Live (TTL)