DNS/NXDOMAIN/4つのタイプ

DNS/RFC/2308

問い合せ(ドメイン)名が存在しないことを示すのがNXDOMAIN (RCODE) らしいのだが、おかしい。

Name errors (NXDOMAIN) are indicated by the presence of "Name Error" in the RCODE field. 
In this case the domain referred to by the QNAME does not exist.  
Note: the answer section may have SIG and CNAME RRs 
   and the authority section may have SOA, NXT [RFC2065] and SIG RRsets.

「CNAMEの先が存在しない」なんてことまで調べるのか。

 NXDOMAIN responses can be categorised into four types by the contents of the authority section. 

Answer が CNAME なので、 Authority Section がつけられるようだが。 (毒

NXDOMAIN RESPONSE: TYPE 1.

           Header:   RDCODE=NXDOMAIN
           Query:      AN.EXAMPLE. A
           Answer:    AN.EXAMPLE. CNAME TRIPPLE.XX.
           Authority:  XX. SOA NS1.XX. HOSTMASTER.NS1.XX. ....
               XX. NS NS1.XX.
               XX. NS NS2.XX.
           Additional:
               NS1.XX. A 127.0.0.2
               NS2.XX. A 127.0.0.3

NXDOMAIN RESPONSE: TYPE 2.

           Header:   RDCODE=NXDOMAIN
           Query:      AN.EXAMPLE. A
           Answer:    AN.EXAMPLE. CNAME TRIPPLE.XX.
           Authority:  XX. SOA NS1.XX. HOSTMASTER.NS1.XX. ....
           Additional:  <empty>

NXDOMAIN RESPONSE: TYPE 3.

           Header:   RDCODE=NXDOMAIN
           Query:     AN.EXAMPLE. A
           Answer:   AN.EXAMPLE. CNAME TRIPPLE.XX.
           Authority:  <empty>
           Additional: <empty>

NXDOMAIN RESPONSE: TYPE 4

           Header:   RDCODE=NXDOMAIN
           Query:      AN.EXAMPLE. A
           Answer:    AN.EXAMPLE. CNAME TRIPPLE.XX.
           Authority:  XX. NS NS1.XX.
               XX. NS NS2.XX.
           Additional:  NS1.XX. A 127.0.0.2
               NS2.XX. A 127.0.0.3

REFERRAL RESPONSE.

           Header:   RDCODE=NOERROR
           Query:     AN.EXAMPLE. A
           Answer:   AN.EXAMPLE. CNAME TRIPPLE.XX.
           Authority:    XX. NS NS1.XX.
               XX. NS NS2.XX.
           Additional:   NS1.XX. A 127.0.0.2
               NS2.XX. A 127.0.0.3

   Where no CNAME records appear, the NXDOMAIN response refers to the
   name in the label of the RR in the question section.

2.1.1 Special Handling of Name Error

TYPE 2 NX DOMAIN だけを使うようにという勧告 (動作不良のリゾルバーが理由とある)

3 - Negative Answers from Authoritative Servers

NS についてはふれられていない。 SOAをキャッシュするかどうかも任意のようだが、そうではない。

8 - Changes from RFC 1034