1. kresd/100.jp
Find A record of 100.jp domain:
jp サーバに問い合わせると ns*.dns.ne.jp へのreferral が返ってくる。
- ここのadditionalをつかっては毒盛の危険があるのだが、使っている。
-- ToshinoriMaeno 2016-04-09 02:35:13
対策ずみでは /2 のようになる。
$ dnsq ns 100.jp a.dns.jp
2 100.jp: 99 bytes, 1+0+2+2 records, response, noerror query: 2 100.jp authority: 100.jp 86400 NS ns1.dns.ne.jp authority: 100.jp 86400 NS ns2.dns.ne.jp additional: ns1.dns.ne.jp 86400 A 210.188.224.9 additional: ns2.dns.ne.jp 86400 A 210.224.172.13
Carefull resolver would get the A record of ns[12].dns.ne.jp by it self.
- Butd Knot resolver does not. Why?
-- ToshinoriMaeno 2016-04-09 02:44:05
> 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: 6 ms [resl] => querying: '210.224.172.13' score: 10 zone cut: '100.jp.' m12n: '100.jp.' type: 'A' [resl] optional: '210.188.224.9' 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