kresd/fix/zone_cut_checkについて、ここに記述してください。

[Kresd] co.jp, go.jpにNSがないことは学習して問い合わせしないことを確認した。 これなら、 NS毒が返ってきても排除するまでもうすこしだ。-- ToshinoriMaeno 2016-04-17 12:02:36

[plan] plan 'jprs.co.jp.' type 'A'
[resl]   => querying: '203.119.40.1' score: 11 zone cut: 'jp.' m12n: 'Co.JP.' type: 'NS'
[iter]   <= rcode: NOERROR
[iter]   <= found cut, retrying with non-minimized name
[ pc ]   => answer cached for TTL=900
[resl]   <= server: '203.119.40.1' rtt: 6 ms

[resl]   => querying: '203.119.40.1' score: 11 zone cut: 'jp.' m12n: 'jPrS.Co.jp.' type: 'A'
[iter]   update_cut
[iter]   zonecut init
[iter]   fetching glue for cut jprscojp, ns1jprscojp
[iter]   update_cut
[iter]   fetching glue for cut jprscojp, ns3jprscojp
[iter]   update_cut
[iter]   fetching glue for cut jprscojp, ns2jprscojp
[iter]   <= referral response, follow
[resl]   <= server: '203.119.40.1' rtt: 5 ms

[resl]   => querying: '61.200.83.204' score: 10 zone cut: 'jprs.co.jp.' m12n: 'jPrs.Co.JP.' type: 'A'
[resl]      optional: '202.11.16.59' score: 10 zone cut: 'jprs.co.jp.' m12n: 'jPrs.Co.JP.' type: 'A'
[resl]      optional: '202.11.16.49' score: 10 zone cut: 'jprs.co.jp.' m12n: 'jPrs.Co.JP.' type: 'A'
[iter]   <= rcode: NOERROR
[resl]   <= server: '61.200.83.204' rtt: 13 ms

[resl] finished: 4, queries: 1, mempool: 32800 B

この直後に問い合わせたlog

[plan] plan 'nonexistent.co.jp.' type 'A'
[resl]   => querying: '203.119.40.1' score: 11 zone cut: 'jp.' m12n: 'Co.jp.' type: 'NS'
[iter]   <= rcode: NOERROR
[iter]   <= found cut, retrying with non-minimized name
[ pc ]   => answer cached for TTL=900
[resl]   <= server: '203.119.40.1' rtt: 6 ms

[resl]   => querying: '203.119.40.1' score: 11 zone cut: 'jp.' m12n: 'NONexIStEnT.Co.jp.' type: 'A'
[iter]   <= rcode: NXDOMAIN
[ pc ]   => answer cached for TTL=900
[resl]   <= server: '203.119.40.1' rtt: 6 ms

[resl] finished: 4, queries: 1, mempool: 32800 B