NAME

        CL_RFC3403_4_NAPTR_unknown_flag - Encounter Unknown flag


VERIFICATION POINTS

        Verify a NUT process when NUT received message that includes multiple 
        Naming Authority Pointer (NAPTR) Resource Records (RR) containing 
        unknown flag.


TARGET

        Client (ADVANCED)


SYNOPSIS

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


INITIALIZATION


TEST PROCEDURE

        This test sequence is following.
    DNS Client1 (NUT)                               DNS Server1 (TN)
        |                                               |
        | Invoke some application                       |
        |    on NUT (Ex. SIP UA)                        |
        |                                               |
        |---------------------------------------------->|
        | 1. Send standard query                        |
        |    QNAME="1.0.0.0.1.1.1.1.0.9.1.8.e164.arpa." |
        |    QTYPE=NAPTR                                |  
        |                                               |
        |<----------------------------------------------|
        | 2. Send standard response                     |
        |                                               |
        |                                               |
        |---------------------------------------------->|
        | 3. Request packet from some application       |
        |    Ex. SIP UA)                                |
        |    INVITE sip:info2@example.com to SIP Proxy  |
        |                                               |
        v                                               v
        1. DNS Client (NUT) sends a standard query with QNAME = "1.0.0.0.1.1.1.1.0.9.1.8.e164.arpa." type NAPTR 
        2. DNS Server1 (NUT) transmits a response to DNS Client1 (NUT) with:
           $ORIGIN 1.0.0.0.1.1.1.1.0.9.1.8.e164.arpa.
            ;;       order pref flags service    regexp                             replacement
            IN NAPTR 100   10   "Z"   "E2U+sip"  "!^.*$!sip:info1@example.com!i"     .
            IN NAPTR 100   10   "U"   "E2U+sip"  "!^.*$!sip:info2@example.com!i"     .
        3. DNS Client (NUT) sends request packet to SIP Proxy in response to NAPTR record. Judgment (Check *3)


JUDGMENT

        3. Received the domain-name included in NAPTR RR of FLAG=U.


TERMINATION

        If NUT has cache function, clear the cache.


REFERENCE

	RFC3403 Dynamic Delegation Discovery System (DDDS)
                Part Three: The Domain Name System (DNS) Database
	        4. NAPTR RR Format 
	        6. Example
	        8. Notes
        RFC3761 The E.164 to Uniform Resource Identifiers (URI)
                Dynamic Delegation Discovery System (DDDS) Application (ENUM)