DNS/実装/KnotDNSresolver/bugについて、ここに記述してください。
d.qmail.jpがcutであることを認識させられた。
- $ kdig -t NS d.qmail.jp @127.0.0.3
[plan] plan 'b.c.d.qmail.jp.' type 'A' [plan] plan 'a.ns.d.qmail.jp.' type 'AAAA' [resl] => querying: '14.192.44.5' score: 71 zone cut: 'qmail.jp.' m12n: 'D.QmaiL.JP.' type: 'NS' [iter] <= rcode: NOERROR [iter] <= found cut, retrying with non-minimized name [resl] => querying: '14.192.44.5' score: 57 zone cut: 'qmail.jp.' m12n: 'A.ns.d.QmaIl.jp.' type: 'AAAA' [iter] <= rcode: NOERROR [ pc ] => answer cached for TTL=900 [plan] plan 'a.ns.d.qmail.jp.' type 'A' [resl] => querying: '14.192.44.5' score: 79 zone cut: 'qmail.jp.' m12n: 'D.qmaIl.JP.' type: 'NS' [iter] <= rcode: NOERROR [iter] <= found cut, retrying with non-minimized name [resl] => querying: '14.192.44.5' score: 61 zone cut: 'qmail.jp.' m12n: 'a.NS.d.qMAiL.JP.' type: 'A' [iter] <= rcode: NOERROR [resl] => querying: '14.192.44.5' score: 70 zone cut: 'd.qmail.jp.' m12n: 'C.D.Qmail.Jp.' type: 'NS' [iter] <= rcode: NOERROR [iter] <= found cut, retrying with non-minimized name [ pc ] => answer cached for TTL=900 [resl] => querying: '14.192.44.5' score: 68 zone cut: 'd.qmail.jp.' m12n: 'b.c.D.qmail.Jp.' type: 'A' [iter] <= rcode: NOERROR [ pc ] => answer cached for TTL=900 [resl] finished: 4, queries: 3, mempool: 16392 B
この状態で、 $ kdig -t a x.b.c.d.qmail.jp @127.0.0.3
;; ->>HEADER<<- opcode: QUERY; status: NXDOMAIN; id: 13127 ;; Flags: qr rd ra; QUERY: 1; ANSWER: 0; AUTHORITY: 1; ADDITIONAL: 0 ;; QUESTION SECTION: ;; x.b.c.d.qmail.jp. IN A ;; AUTHORITY SECTION: d.qmail.jp. 2560 IN SOA a.ns.d.qmail.jp. hostmaster.d.qmail.jp. 1444708370 16384 2048 1048576 2560 ;; Received 86 B ;; Time 2015-10-13 19:37:00 JST ;; From 127.0.0.3@53(UDP) in 157.3 ms
[plan] plan 'x.b.c.d.qmail.jp.' type 'A' [resl] => querying: '14.192.44.5' score: 71 zone cut: 'd.qmail.jp.' m12n: 'c.D.qmAIL.JP.' type: 'NS' [iter] <= rcode: NOERROR [iter] <= found cut, retrying with non-minimized name [ pc ] => answer cached for TTL=900 [resl] => querying: '14.192.44.5' score: 76 zone cut: 'd.qmail.jp.' m12n: 'x.B.c.d.QMAil.jP.' type: 'A' [iter] <= rcode: NXDOMAIN [ pc ] => answer cached for TTL=900 [resl] finished: 4, queries: 1, mempool: 16392 B