NAME

        CL_RFC2782_SRV_return_answer_no_additional - Returning of answer (w/o Additional Data section)


VERIFICATION POINTS

        Verify that a NUT uses the returned RR.


TARGET

        Client


SYNOPSIS

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


INITIALIZATION


TEST PROCEDURE

        This test sequence is following.
    DNS Client1 (NUT)                        DNS Server1 (TN)                               AP Server1 (TN)
        |                                              |                                              |
        |--------------------------------------------->|                                              |
        |           1. Send standard query             |                                              |
        |              QNAME=_http._tcp.example.com.   |                                              |
        |              QTYPE=SRV                       |                                              |
        |                                              |                                              |
        |<---------------------------------------------|                                              |
        |           2. Standard query response         |                                              |
        |              QNAME=_http._tcp.example.com.   |                                              |
        |              QTYPE=SRV                       |                                              |
        |              ANSWER                          |                                              |
        |                Priority = 1                  |                                              |
        |                Weight = 0                    |                                              |
        |                Port = 80                     |                                              |
        |                Target = B.example.com.       |                                              |
        |                                              |                                              |
        |--------------------------------------------->|                                              |
        |           3. Send standard query             |                                              |
        |              QNAME=B.example.com.            |                                              |
        |              QTYPE=A                         |                                              |
        |                                              |                                              |
        |<---------------------------------------------|                                              |
        |           4. Standard query response         |                                              |
        |              QNAME=B.example.com.            |                                              |
        |              QTYPE=A                         |                                              |
        |              ANSWER NAME=B.example.com.      |                                              |
        |              ANSWER ADDRESS=192.168.1.60     |                                              |
        |                                              |                                              |
        |----------------------------------------------|--------------------------------------------->|
        |           5. start TCP communication (SYN)   |                                              |
        |                                              |                                              |
        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 Server1(TN).
                  Judgment (Check *3)
        4. TN send standard query response to NUT.
        5. NUT start TCP communication (SYN) to AP Server1(TN).
                  Judgment (Check *3)


JUDGMENT

        1. Received standard query QNAME=_http._tcp.example.com. QTYPE=SRV from NUT.
        3. Received standard query QNAME=B.example.com. QTYPE=A from NUT.
        5. Received TCP packet (SYN) from NUT.


TERMINATION

        If NUT has cache function, clear the cache.


REFERENCE

	RFC1035 DOMAIN NAMES - CONCEPTS AND FACILITIES
	5.2.1. Typical functions	RFC2782 DNS SRV RR