== kresd/issues/100.jp == [[/tcpdump]] もしてみた。 [[/04-16]] > [plan] plan '100.jp.' type 'A' {{{ [resl] => using root hints [resl] => querying: '202.12.27.33' score: 10 zone cut: '.' m12n: 'jp.' type: 'NS' [resl] optional: '199.7.83.42' score: 10 zone cut: '.' m12n: 'jp.' type: 'NS' [resl] optional: '193.0.14.129' score: 10 zone cut: '.' m12n: 'jp.' type: 'NS' [resl] optional: '192.58.128.30' score: 10 zone cut: '.' m12n: 'jp.' type: 'NS' [iter] <= referral response, follow [resl] <= server: '202.12.27.33' rtt: 6 ms [resl] => querying: '203.119.40.1' score: 10 zone cut: 'jp.' m12n: '100.Jp.' type: 'A' [resl] optional: '150.100.6.8' score: 10 zone cut: 'jp.' m12n: '100.Jp.' type: 'A' [resl] optional: '192.50.43.53' score: 10 zone cut: 'jp.' m12n: '100.Jp.' type: 'A' [resl] optional: '210.138.175.244' score: 10 zone cut: 'jp.' m12n: '100.Jp.' type: 'A' [iter] <= referral response, follow [resl] <= server: '203.119.40.1' rtt: 5 ms [resl] => querying: '210.188.224.9' score: 10 zone cut: '100.jp.' m12n: '100.jP.' type: 'A' [iter] <= rcode: NOERROR [resl] <= server: '210.188.224.9' rtt: 5 ms [resl] finished: 4, queries: 1, mempool: 32800 B }}} JPからの100.jp NSは ns1.dns.ne.jp を指しているはずだが、それを問い合わせることなく、  100.jpを問い合わせている。ダメだ。(glueに準じた扱いか) -- ToshinoriMaeno <> ただし、ns1.dns.ne.jp A レコードとしては保存されていないので、  dig ns1.dns.ne.jp は問い合わせをしなおしている。 -- ToshinoriMaeno <> それでもout-of-bailiwick判定が不十分なことは確かです。  もうちょっと調べてみよう。 {{{ > cachectl.clear() true > [plan] plan '100.jp.' type 'A' [resl] => using root hints [resl] => querying: '202.12.27.33' score: 10 zone cut: '.' m12n: 'jP.' type: 'NS' [resl] optional: '199.7.83.42' score: 10 zone cut: '.' m12n: 'jP.' type: 'NS' [resl] optional: '193.0.14.129' score: 10 zone cut: '.' m12n: 'jP.' type: 'NS' [resl] optional: '192.58.128.30' score: 10 zone cut: '.' m12n: 'jP.' type: 'NS' [iter] <= referral response, follow [resl] <= server: '202.12.27.33' rtt: 6 ms [resl] => querying: '203.119.40.1' score: 10 zone cut: 'jp.' m12n: '100.jP.' type: 'A' [resl] optional: '150.100.6.8' score: 10 zone cut: 'jp.' m12n: '100.jP.' type: 'A' [resl] optional: '192.50.43.53' score: 10 zone cut: 'jp.' m12n: '100.jP.' type: 'A' [resl] optional: '210.138.175.244' score: 10 zone cut: 'jp.' m12n: '100.jP.' type: 'A' [iter] <= referral response, follow [resl] <= server: '203.119.40.1' rtt: 7 ms [resl] => querying: '210.224.172.13' score: 10 zone cut: '100.jp.' m12n: '100.Jp.' type: 'A' [iter] <= rcode: NOERROR [resl] <= server: '210.224.172.13' rtt: 16 ms [resl] finished: 4, queries: 1, mempool: 32800 B }}} 直後に ns1.dns.ne.jp Aを問い合わせている。 {{{ [plan] plan 'ns1.dns.ne.jp.' type 'A' [resl] => querying: '150.100.6.8' score: 10 zone cut: 'jp.' m12n: 'NE.jP.' type: 'NS' [resl] optional: '192.50.43.53' score: 10 zone cut: 'jp.' m12n: 'NE.jP.' type: 'NS' [resl] optional: '210.138.175.244' score: 10 zone cut: 'jp.' m12n: 'NE.jP.' type: 'NS' [resl] optional: '156.154.100.5' score: 10 zone cut: 'jp.' m12n: 'NE.jP.' type: 'NS' [iter] <= rcode: NOERROR [iter] <= found cut, retrying with non-minimized name [ pc ] => answer cached for TTL=900 [resl] <= server: '150.100.6.8' rtt: 7 ms [resl] => querying: '192.50.43.53' score: 10 zone cut: 'jp.' m12n: 'nS1.DNS.nE.jp.' type: 'A' [resl] optional: '210.138.175.244' score: 10 zone cut: 'jp.' m12n: 'nS1.DNS.nE.jp.' type: 'A' [resl] optional: '156.154.100.5' score: 10 zone cut: 'jp.' m12n: 'nS1.DNS.nE.jp.' type: 'A' [resl] optional: '202.12.30.131' score: 10 zone cut: 'jp.' m12n: 'nS1.DNS.nE.jp.' type: 'A' [iter] <= referral response, follow [resl] <= server: '192.50.43.53' rtt: 20 ms [resl] => querying: '210.224.172.13' score: 16 zone cut: 'dns.ne.jp.' m12n: 'nS1.DNS.ne.jP.' type: 'A' [resl] optional: '210.188.224.9' score: 16 zone cut: 'dns.ne.jp.' m12n: 'nS1.DNS.ne.jP.' type: 'A' [iter] <= rcode: NOERROR [resl] <= server: '210.224.172.13' rtt: 13 ms [resl] finished: 4, queries: 1, mempool: 32800 B }}}