DNS/実装/KnotDNSresolver/issues/moin.qmail.jp/qmail.jp_NSについて、ここに記述してください。
$ dig -t ns qmail.jp @127.0.0.3 ; <<>> DiG 9.11.1 <<>> -t ns qmail.jp @127.0.0.3 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25839 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ; COOKIE: d40b324079fd3e55c84518a8590161d53b6539b26006e546 (good) ;; QUESTION SECTION: ;qmail.jp. IN NS ;; ANSWER SECTION: qmail.jp. 2147483647 IN NS b.ns.qmail.jp. qmail.jp. 2147483647 IN NS c.ns.qmail.jp. ;; Query time: 189 msec ;; SERVER: 127.0.0.3#53(127.0.0.3) ;; WHEN: Thu Apr 27 12:13:25 JST 2017 ;; MSG SIZE rcvd: 100
この問い合わせでは、委譲情報は返答には使われない。
- 権威サーバにNSを問い合わせて、結果をキャッシュしている。返答にも使われる。
1. log
# kresd -v [system] interactive mode > [ 0][plan] plan 'qmail.jp.' type 'NS' [26070][iter] 'qmail.jp.' type 'NS' id was assigned, parent id 0 [26070][resl] => using root hints [18232][iter] 'qmail.jp.' type 'NS' id was assigned, parent id 0 [18232][resl] => querying: '202.12.27.33' score: 10 zone cut: '.' m12n: 'jP.' type: 'NS' proto: 'udp' [18232][iter] <= using glue for 'a.dns.jp.': '203.119.1.1' [18232][iter] <= using glue for 'd.dns.jp.': '210.138.175.244' [18232][iter] <= using glue for 'f.dns.jp.': '150.100.6.8' [18232][iter] <= using glue for 'e.dns.jp.': '192.50.43.53' [18232][iter] <= using glue for 'h.dns.jp.': '65.22.40.25' [18232][iter] <= using glue for 'c.dns.jp.': '156.154.100.5' [18232][iter] <= using glue for 'b.dns.jp.': '202.12.30.131' [18232][iter] <= using glue for 'g.dns.jp.': '203.119.40.1' [18232][iter] <= referral response, follow [18232][resl] <= server: '202.12.27.33' rtt: 7 ms [21591][iter] 'qmail.jp.' type 'NS' id was assigned, parent id 0 [21591][resl] => querying: '65.22.40.25' score: 10 zone cut: 'jp.' m12n: 'QMaIl.jp.' type: 'NS' proto: 'udp' [21591][iter] <= using glue for 'a.ns.qmail.jp.': '14.192.44.5' [21591][iter] <= referral response, follow [21591][resl] <= server: '65.22.40.25' rtt: 169 ms [10999][iter] 'qmail.jp.' type 'NS' id was assigned, parent id 0 [10999][resl] => querying: '14.192.44.5' score: 10 zone cut: 'qmail.jp.' m12n: 'QmAil.JP.' type: 'NS' proto: 'udp' [10999][iter] <= rcode: NOERROR [10999][resl] <= server: '14.192.44.5' rtt: 11 ms [ 0][resl] finished: 4, queries: 1, mempool: 32800 B