DNS/watchNS/and.or.jpについて、ここに記述してください。
JP登録と返事のNSが異なる。
$ dnsq ns and.or.jp a.dns.jp
2 and.or.jp: 175 bytes, 1+0+4+4 records, response, noerror query: 2 and.or.jp authority: and.or.jp 86400 NS ns1.dns.ne.jp authority: and.or.jp 86400 NS sakura.and.or.jp authority: and.or.jp 86400 NS ns2.dns.ne.jp authority: and.or.jp 86400 NS alpha.and.or.jp additional: ns1.dns.ne.jp 86400 A 210.188.224.9 additional: ns2.dns.ne.jp 86400 A 210.224.172.13 additional: alpha.and.or.jp 86400 A 202.75.234.7 additional: sakura.and.or.jp 86400 A 219.94.234.170
$ dnsq ns and.or.jp ns1.dns.ne.jp
2 and.or.jp: 64 bytes, 1+1+0+1 records, response, authoritative, noerror query: 2 and.or.jp answer: and.or.jp 3600 NS sakura.and.or.jp additional: sakura.and.or.jp 3600 A 219.94.234.170
$ dnsq ns and.or.jp alpha.and.or.jp
^C
$ dnsq ns and.or.jp sakura.and.or.jp
2 and.or.jp: 64 bytes, 1+1+0+1 records, response, authoritative, noerror query: 2 and.or.jp answer: and.or.jp 3600 NS sakura.and.or.jp additional: sakura.and.or.jp 3600 A 219.94.234.170
$ dnsq a www.and.or.jp sakura.and.or.jp
1 www.and.or.jp: 104 bytes, 1+2+1+1 records, response, authoritative, noerror query: 1 www.and.or.jp answer: www.and.or.jp 3600 CNAME alpha.and.or.jp answer: alpha.and.or.jp 3600 A 202.75.234.7 authority: and.or.jp 3600 NS sakura.and.or.jp additional: sakura.and.or.jp 3600 A 219.94.234.170
1. Knot
$ kdig -t a www.and.or.jp @127.0.0.3
cachectl.clear() true > [plan] plan 'www.and.or.jp.' type 'A' [resl] => root priming query [plan] plan '.' type 'NS' [resl] => querying: '192.36.148.17' score: 10 zone cut: '.' m12n: '.' type: 'NS' [iter] <= rcode: NOERROR [resl] => querying: '193.0.14.129' score: 10 zone cut: '.' m12n: 'jP.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '210.138.175.244' score: 10 zone cut: 'jp.' m12n: 'or.jp.' type: 'NS' [iter] <= rcode: NOERROR [iter] <= found cut, retrying with non-minimized name [resl] => querying: '156.154.100.5' score: 10 zone cut: 'jp.' m12n: 'WWW.aND.or.jP.' type: 'A' [iter] <= referral response, follow [resl] => querying: '210.188.224.9' score: 10 zone cut: 'and.or.jp.' m12n: 'wwW.aND.OR.Jp.' type: 'A' [iter] <= rcode: NOERROR [resl] finished: 4, queries: 2, mempool: 16392 B
www.and.or.jp の問い合せさき: ns1.dns.ne.jp 86400 A 210.188.224.9
- authority つきの返事をしているはず。
このログではcname が気になる。
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 25755 ;; Flags: qr rd ra; QUERY: 1; ANSWER: 2; AUTHORITY: 0; ADDITIONAL: 0 ;; QUESTION SECTION: ;; www.and.or.jp. IN A ;; ANSWER SECTION: www.and.or.jp. 3600 IN CNAME alpha.and.or.jp. alpha.and.or.jp. 3600 IN A 202.75.234.7 ;; Received 73 B ;; Time 2015-10-12 08:51:53 JST ;; From 127.0.0.3@53(UDP) in 317.0 ms
$ kdig -t ns and.or.jp @127.0.0.3
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 42646 ;; Flags: qr rd ra; QUERY: 1; ANSWER: 4; AUTHORITY: 0; ADDITIONAL: 0 ;; QUESTION SECTION: ;; and.or.jp. IN NS ;; ANSWER SECTION: and.or.jp. 86167 IN NS ns1.dns.ne.jp. and.or.jp. 86167 IN NS ns2.dns.ne.jp. and.or.jp. 86167 IN NS alpha.and.or.jp. and.or.jp. 86167 IN NS sakura.and.or.jp. ;; Received 118 B ;; Time 2015-10-12 08:55:46 JST ;; From 127.0.0.3@53(UDP) in 0.2 ms
JPからの委譲情報を答えているので、and.or.jp ゾーンサーバからのAuthorityは取り込まれていないようだ。 -- ToshinoriMaeno 2015-10-12 00:00:26