NAME

        SV_RFC2181_4_1_source_selection - UDP Source Address Selection


VERIFICATION POINTS

        Verify that a NUT selects the correct Source Address.


TARGET

        Authoritative Server


SYNOPSIS

	SV_RFC2181_4_1_source_selection.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             |
        |   *Destination address=192.168.0.10  |
        |       QNAME=A.example.com            |
        |       QTYPE=A                        |
        |                                      |
        |<-------------------------------------|
        |   2. Standard query response         |
        |   *Source address=192.168.0.10       |
        |       A=192.168.1.10                 |
        |                                      |
        |------------------------------------->|
        |   3. Send standard query             |
        |   *Destination address=192.168.0.11  |
        |       QNAME=A.example.com            |
        |       QTYPE=A                        |
        |                                      |
        |<-------------------------------------|
        |   4. Standard query response         |
        |   *Source address=192.168.0.11       |
        |       A=192.168.1.10                 |
        |                                      |
        |                                      |
        v                                      v
        1. TN send standard query QNAME=A.example.com, QTYPE=A to NUT that destination address=192.168.0.10.
        2. NUT reply query response w/ A=192.168.1.10 to TN that source address=192.168.0.10(Judgment *2)
        3. TN send standard query QNAME=A.example.com, QTYPE=A to NUT that destination address=192.168.0.11.
        4. NUT reply query response w/ A=192.168.1.10 to TN that source address=192.168.0.11(Judgment *4)


JUDGMENT

        2. Received standard query response w/ A=192.168.1.10 that source address=192.168.0.10.
        4. Received standard query response w/ A=192.168.1.10 that source address=192.168.0.11.


TERMINATION

        None


REFERENCE

        RFC2181 Clarifications to the DNS Specification
        4.1. UDP Source Address Selection