DNS/実装/KnotDNSresolver/cancer.cuore.jpについて、ここに記述してください。
$ kdig -t a cancer.cuore.jp @127.0.0.3
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 30316 ;; Flags: qr rd ra; QUERY: 1; ANSWER: 2; AUTHORITY: 0; ADDITIONAL: 0 ;; QUESTION SECTION: ;; cancer.cuore.jp. IN A ;; ANSWER SECTION: cancer.cuore.jp. 3600 IN CNAME ns.cuore.jp. ns.cuore.jp. 3600 IN A 58.157.180.3 ;; Received 69 B ;; Time 2015-10-19 13:44:31 JST ;; From 127.0.0.3@53(UDP) in 1799.9 ms
[plan] plan 'cancer.cuore.jp.' type 'A' [plan] plan 'f.root-servers.net.' type 'AAAA' [resl] => querying: '199.7.91.13' score: 10 zone cut: '.' m12n: 'net.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '192.33.14.30' score: 10 zone cut: 'net.' m12n: 'root-servers.net.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '192.33.4.12' score: 10 zone cut: 'root-servers.net.' m12n: 'f.root-servers.net.' type: 'AAAA' [iter] <= rcode: NOERROR [resl] => querying: '192.5.5.241' score: 10 zone cut: '.' m12n: 'jp.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '210.138.175.244' score: 10 zone cut: 'jp.' m12n: 'cuore.jp.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '58.157.180.3' score: 10 zone cut: 'cuore.jp.' m12n: 'cancer.cuore.jp.' type: 'A' [iter] <= rcode: NOERROR [resl] finished: 4, queries: 2, mempool: 32784 B
CNAME返答につけられてくるAレコードを受け入れていることが読み取れる。 -- ToshinoriMaeno 2015-10-19 04:52:00
おまけを受け入れないようにパッチしてみた。 -- ToshinoriMaeno 2015-10-19 08:13:43
- 動いているように見える。w
[plan] plan 'cancer.cuore.jp.' type 'A' [plan] plan 'ns.cuore.jp.' type 'AAAA' [resl] => querying: '156.154.100.5' score: 10 zone cut: 'jp.' m12n: 'cuore.jp.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '58.157.180.3' score: 10 zone cut: 'cuore.jp.' m12n: 'ns.cuore.jp.' type: 'AAAA' [iter] <= rcode: NOERROR [ pc ] => answer cached for TTL=900 [plan] plan 'ns.cuore.jp.' type 'A' [ rc ] => satisfied from cache [iter] <= rcode: NOERROR [resl] => querying: '58.157.180.3' score: 91 zone cut: 'cuore.jp.' m12n: 'cancer.cuore.jp.' type: 'A' [iter] <= rcode: NOERROR [iter] <= cname chain, following [plan] plan 'ns.cuore.jp.' type 'A' [ rc ] => satisfied from cache [iter] <= rcode: NOERROR [resl] finished: 4, queries: 4, mempool: 16392 B