NAME

        SV_RFC1996_3_10_slave_ignore_unknown - a slave ignores a NOTIFY request from a unknown master for the zone.


VERIFICATION POINTS

        Verify that a NUT ignores NOTIFY request from unknown node.


TARGET

        Server (an AXFR/IXFR client)


SYNOPSIS

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


INITIALIZATION


PRE-TEST SEQUENCE

        After all zone information are transferred between primary DNS server7 (TN) 
        and slave DNS server1 (NUT), following pre-test sequence is performed.
    DNS Client1 (TN)             DNS Server1 (NUT)              DNS Server7 (TN)               DNS Server8 (TN)
        |                              |                              |                              |
        |                              |                              |                              |
        |----------------------------->|                              |                              |
        | 1. Send standard query       |                              |                              |
        |  RD = 0                      |                              |                              |
        |  QNAME = CL2.sec.example.com |                              |                              |
        |  QTYPE = A                   |                              |                              |
        |                              |                              |                              |
        |<-----------------------------|                              |                              |
        | 2. Standard query response   |                              |                              |
        |  AA = 0                      |                              |                              |
        |  RD = 0                      |                              |                              |
        |  RA = 1                      |                              |                              |
        |  QNAME = CL2.sec.example.com |                              |                              |
        |  QTYPE = A                   |                              |                              |
        |  ANSWER Name                 |                              |                              |
        |        = CL2.sec.example.com |                              |                              |
        |  ANSWER Type                 |                              |                              |
        |        = A (0x0001)          |                              |                              |
        |  ANSWER Address              |                              |                              |
        |        = 192.168.0.21        |                              |                              |
        |                              |                              |                              |
        v                              v                              v                              v


TEST PROCEDURE

        This test sequence is following.
        NOTE: SOA's parameter and TTL are same as above sec.example.com zone information.
              TN includes NS7 and NS1.sub.example.com into Authority section as type = NS.
              Also TN includes NS7 and NS1.sub.example.com address into Additional section.
              Thus NUT may reply to answer client with Authority and Additional section including
              those values.
    DNS Client1 (TN)             DNS Server1 (NUT)              DNS Server7 (TN)               DNS Server8 (TN)
        |                              |                              |                              |
        |                              |<------------------------------------------------------------|
        |                              |                              | 1. A NOTIFY request          |
        |                              |                              |  OPCODE = NOTIFY (4)         |
        |                              |                              |  QNAME = sec.example.com     |
        |                              |                              |  QTYPE = SOA (0x0006)        |
        |                              |                              |  ANSWER Name                 |
        |                              |                              |       = sec.example.com      |
        |                              |                              |  ANSWER Type                 |
        |                              |                              |       = SOA (0x0006)         |
        |                              |                              |  ANSWER SERIAL               |
        |                              |                              |       = 2                    |
        |                              |                              |                              |
        |                              |---------------------------------------------X               |
        |                              | 2. no response               |                              |
        |                              |                              |                              |
        |                              |<-----------------------------|                              |
        |                              | 3. A NOTIFY request          |                              |
        |                              |  OPCODE = NOTIFY (4)         |                              |
        |                              |  QNAME = sec.example.com     |                              |
        |                              |  QTYPE = SOA (0x0006)        |                              |
        |                              |  ANSWER Name                 |                              |
        |                              |       = sec.example.com      |                              |
        |                              |  ANSWER Type                 |                              |
        |                              |       = SOA (0x0006)         |                              |
        |                              |  ANSWER SERIAL               |                              |
        |                              |       = 2                    |                              |
        |                              |                              |                              |
        |                              |----------------------------->|                              |
        |                              | 4. A NOTIFY response         |                              |
        |                              |  OPCODE = NOTIFY (4)         |                              |
        |                              |  QNAME = sec.example.com     |                              |
        |                              |  QTYPE = SOA (0x0006)        |                              |
        |                              |                              |                              |
        v                              v                              v                              v
        This test sequence is following.
        1. DNS Server8 (TN) sends a NOTIFY request with Answer type SOA, serial = 2 to DNS Server1 (NUT).
        2. DNS Server1 (NUT) ignore NOTIFY request from DNS Server8 (TN). (Judgment *2)
        3. DNS Server7 (TN) sends a NOTIFY request with Answer type SOA, serial = 2 to DNS Server1 (NUT).
        4. DNS Server1 (NUT) transmits a NOTIFY response 
           with QNAME = sec.example.com, Type = SOA to DNS Server7 (TN). (Judgment *4)


JUDGMENT

        2. DNS Server1 (NUT) ignore NOTIFY request from DNS Server8.
        4. DNS Server1 (NUT) transmits a NOTIFY response
           with QNAME = sec.example.com, Type = SOA to DNS Server7 (TN).


TERMINATION

        None


REFERENCE

        RFC1996 DNS NOTIFY
        3. NOTIFY Message