NAME

        SV_RFC1035_3_3_WKS_rdata - Resource record of WKS type


VERIFICATION POINTS

        Verify that a NUT transmits correct message including WKS resource record.
        The first bit corresponds to port 0, the second to port 1, etc.  
        If the bit map does not include a bit for a protocol of interest, that bit is assumed zero.


TARGET

        Authoritative Server


SYNOPSIS

	SV_RFC1035_3_3_WKS_rdata.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=A1.example.com           |
        |       QTYPE=WKS                      |
        |                                      |
        |<-------------------------------------|
        |   2. Standard query response         |
        |       ADDRESS=192.168.1.11           |
        |       PROTOCOL=TCP(6)                |
        |       BITMAP=telnet(6)               |
        |                                      |
        |------------------------------------->|
        |   3. Send standard query             |
        |       QNAME=A2.example.com           |
        |       QTYPE=WKS                      |
        |                                      |
        |<-------------------------------------|
        |   4. Standard query response         |
        |       ADDRESS=192.168.1.12           |
        |       PROTOCOL=UDP(17)               |
        |       BITMAP=telnet(6)               |
        |                                      |
        |------------------------------------->|
        |   5. Send standard query to NUT      |
        |       QNAME=A3.example.com           |
        |       QTYPE=WKS                      |
        |                                      |
        |<-------------------------------------|
        |   6. Standard query response         |
        |       ADDRESS=192.168.1.13           |
        |       PROTOCOL=TCP(6)                |
        |       BITMAP=pop3(110), smtp(25)     |
        |                                      |
        |------------------------------------->|
        |   7. Send standard query to NUT      |
        |       QNAME=A4.example.com           |
        |       QTYPE=WKS                      |
        |                                      |
        |<-------------------------------------|
        |   8. Standard query response         |
        |       ADDRESS=192.168.1.14           |
        |       PROTOCOL=UDP(17)               |
        |       BITMAP=pop3(110), smtp(25)     |
        |                                      |
        |------------------------------------->|
        |   9. Send standard query to NUT      |
        |       QNAME=A5.example.com           |
        |       QTYPE=WKS                      |
        |                                      |
        |<-------------------------------------|
        |  10. Standard query response         |
        |       ADDRESS=192.168.1.15           |
        |       PROTOCOL=TCP(6)                |
        |       BITMAP=telnet(25)              |
        |       ADDRESS=192.168.1.15           |
        |       PROTOCOL=UDP(17)               |
        |       BITMAP=telnet(25)              |
        |                                      |
        v                                      v
        1. TN send standard query QNAME=A1.example.com, QTYPE=WKS to NUT.
        2. NUT reply query response including ADDRESS=192.168.1.11, PROTOCOL=TCP(6), 
           BITMAP=telnet(25) to TN (Judgment *2)
        3. TN send standard query QNAME=A2.example.com, QTYPE=WKS to NUT.
        4. NUT reply query response including ADDRESS=192.168.1.12, PROTOCOL=UDP(17), 
           BITMAP=telnet(25) to TN (Judgment *4)
        5. TN send standard query QNAME=A3.example.com, QTYPE=WKS to NUT.
        6. NUT reply query response including ADDRESS=192.168.1.13, PROTOCOL=TCP(6), 
           BITMAP=pop3(110), smtp(25) to TN (Judgment *6)
        7. TN send standard query QNAME=A4.example.com, QTYPE=WKS to NUT.
        8. NUT reply query response including ADDRESS=192.168.1.14, PROTOCOL=UDP(17), 
           BITMAP=pop3(110), smtp(25) to TN (Judgment *8)
        9. TN send standard query QNAME=A5.example.com, QTYPE=WKS to NUT.
        10. NUT reply query response including multiple WKS resource records. 
           One is including ADDRESS=192.168.1.15, PROTOCOL=TCP(6), BITMAP=telnet(25),
           others is including ADDRESS=192.168.1.15, PROTOCOL=UDP(17), BITMAP=telnet(25) to TN (Judgment *8)


JUDGMENT

        2. Received standard query response including WKS resource record.
        4. Received standard query response including WKS resource record.
        6. Received standard query response including WKS resource record.
        8. Received standard query response including WKS resource record.
        10. Received standard query response including WKS resource record.


TERMINATION

        None


REFERENCE

        RFC1035 DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION
        3.2.1 Format 
        3.2.2 TYPE values 
        3.4.2 WKS RDATA format