kresd/example/nic.czについて、ここに記述してください。

nic.cz, cz ゾーン同居

> cachectl.clear()
true

> [plan] plan 'nic.cz.' type 'NS'
kr_zonecut_find_cached niccz
kr_zonecut_find_cached cz
kr_zonecut_find_cached 
[resl]   ns_fetch_cut ret -2
[resl]   zone_cut_check -> ns_fetch_cut = -2
[resl]   => using root hints
[resl]   => querying: '202.12.27.33' score: 10 zone cut: '.' m12n: 'CZ.' type: 'NS'
[resl]      optional: '199.7.83.42' score: 10 zone cut: '.' m12n: 'CZ.' type: 'NS'
[resl]      optional: '193.0.14.129' score: 10 zone cut: '.' m12n: 'CZ.' type: 'NS'
[resl]      optional: '192.58.128.30' score: 10 zone cut: '.' m12n: 'CZ.' type: 'NS'
[iter]   Update zone cut 
[iter]   zonecut_add cz NS bnsniccz
[iter]   <= using glue for 'b.ns.nic.cz.'
[iter]   Update zone cut cz
[iter]   zonecut_add cz NS cnsniccz
[iter]   <= using glue for 'c.ns.nic.cz.'
[iter]   Update zone cut cz
[iter]   zonecut_add cz NS dnsniccz
[iter]   <= using glue for 'd.ns.nic.cz.'
[iter]   Update zone cut cz
[iter]   zonecut_add cz NS ansniccz
[iter]   <= using glue for 'a.ns.nic.cz.'
[iter]   <= referral response, follow
[ rc ]   stash referral NS
[ rc ]   stash auth for cz
[ rc ]   stash auth for cz
[ rc ]   stash auth for cz
[ rc ]   stash auth for cz
[ pc ]   => pktcache_stash entry
[resl]   <= server: '202.12.27.33' rtt: 6 ms
[resl]   => querying: '193.29.206.1' score: 10 zone cut: 'cz.' m12n: 'nic.cz.' type: 'NS'
[resl]      optional: '194.0.14.1' score: 10 zone cut: 'cz.' m12n: 'nic.cz.' type: 'NS'
[resl]      optional: '194.0.13.1' score: 10 zone cut: 'cz.' m12n: 'nic.cz.' type: 'NS'
[resl]      optional: '194.0.12.1' score: 10 zone cut: 'cz.' m12n: 'nic.cz.' type: 'NS'
[iter]   AA terminate resolution chain
[iter]   <= rcode: NOERROR
[ rc ]   stash auth answer 
[ pc ]   => pktcache_stash entry
[resl]   <= server: '193.29.206.1' rtt: 116 ms
[resl] finished: 4, queries: 1, mempool: 16400 B

[plan] plan 'x.ns.nic.cz.' type 'A'
kr_zonecut_find_cached xnsniccz
kr_zonecut_find_cached nsniccz
kr_zonecut_find_cached niccz
[resl]   ns_fetch_cut ret 0
[resl]   NT check; xnsniccz cut niccz
[resl]   peekpkt xnsniccz ret -2
[resl]   peekpkt nsniccz ret -2
[resl]   zone_cut_check -> ns_fetch_cut = 0
[plan]   plan 'd.ns.nic.cz.' type 'A'
kr_zonecut_find_cached cz
[resl]     ns_fetch_cut ret 0
[resl]     NT check; dnsniccz cut cz
[resl]     peekpkt nsniccz ret -2
[resl]     peekpkt niccz ret -2
[resl]     zone_cut_check -> ns_fetch_cut = 0
[plan]     plan 'c.ns.nic.cz.' type 'A'
kr_zonecut_find_cached 
[resl]       ns_fetch_cut ret -2
[resl]       zone_cut_check -> ns_fetch_cut = -2
[resl]       => using root hints
[resl]       => querying: '199.7.83.42' score: 10 zone cut: '.' m12n: 'cZ.' type: 'NS'
[resl]          optional: '193.0.14.129' score: 10 zone cut: '.' m12n: 'cZ.' type: 'NS'
[resl]          optional: '192.58.128.30' score: 10 zone cut: '.' m12n: 'cZ.' type: 'NS'
[resl]          optional: '192.36.148.17' score: 10 zone cut: '.' m12n: 'cZ.' type: 'NS'
[iter]       Update zone cut 
[iter]       zonecut_add cz NS ansniccz
[iter]       <= using glue for 'a.ns.nic.cz.'
[iter]       Update zone cut cz
[iter]       zonecut_add cz NS bnsniccz
[iter]       <= using glue for 'b.ns.nic.cz.'
[iter]       Update zone cut cz
[iter]       zonecut_add cz NS cnsniccz
[iter]       <= using glue for 'c.ns.nic.cz.'
[iter]       Update zone cut cz
[iter]       zonecut_add cz NS dnsniccz
[iter]       <= using glue for 'd.ns.nic.cz.'
[iter]       <= referral response, follow
[ rc ]       stash referral NS
[ rc ]       stash auth for cz
[ rc ]       stash auth for cz
[ rc ]       stash auth for cz
[ rc ]       stash auth for cz
[ pc ]       => pktcache_stash entry
[resl]       <= server: '199.7.83.42' rtt: 153 ms
[resl]       => querying: '194.0.14.1' score: 10 zone cut: 'cz.' m12n: 'niC.Cz.' type: 'NS'
[resl]          optional: '194.0.13.1' score: 10 zone cut: 'cz.' m12n: 'niC.Cz.' type: 'NS'
[resl]          optional: '194.0.12.1' score: 10 zone cut: 'cz.' m12n: 'niC.Cz.' type: 'NS'
[iter]       AA terminate resolution chain
[iter]       <= rcode: NOERROR
[iter]       <= found cut, retrying with non-minimized name
[ rc ]       stash auth answer 
[ pc ]       => pktcache_stash entry
[resl]       <= server: '194.0.14.1' rtt: 262 ms
[resl]       => querying: '194.0.13.1' score: 10 zone cut: 'cz.' m12n: 'c.ns.nic.cZ.' type: 'A'
[resl]          optional: '194.0.12.1' score: 10 zone cut: 'cz.' m12n: 'c.ns.nic.cZ.' type: 'A'
[iter]       AA terminate resolution chain
[iter]       <= rcode: NOERROR
[ rc ]       stash auth answer 
[ pc ]       => pktcache_stash entry
[resl]       <= server: '194.0.13.1' rtt: 190 ms
[resl]     => querying: '194.0.14.1' score: 262 zone cut: 'cz.' m12n: 'nIc.cz.' type: 'NS'
[iter]     AA terminate resolution chain
[iter]     <= rcode: NOERROR
[iter]     <= found cut, retrying with non-minimized name
[ rc ]     stash auth answer 
[ pc ]     => pktcache_stash entry
[resl]     <= server: '194.0.14.1' rtt: 251 ms
[resl]     => querying: '194.0.14.1' score: 256 zone cut: 'cz.' m12n: 'D.NS.NiC.cz.' type: 'A'
[iter]     AA terminate resolution chain
[iter]     <= rcode: NOERROR
[ rc ]     stash auth answer 
[ pc ]     => pktcache_stash entry
[resl]     <= server: '194.0.14.1' rtt: 251 ms
[resl]   => querying: '193.29.206.1' score: 116 zone cut: 'nic.cz.' m12n: 'Ns.nIC.cZ.' type: 'NS'
[iter]   AA terminate resolution chain
[iter]   <= rcode: NOERROR
[iter]   <= found cut, retrying with non-minimized name
[ rc ]   stash auth answer 
[ pc ]   => pktcache_stash entry
[ pc ]   => pktcache_stash NXDOMAIN
[ pc ]   => pktcache_stash answer
[ pc ]   => answer cached for TTL=900
[resl]   <= server: '193.29.206.1' rtt: 108 ms
[resl]   => querying: '193.29.206.1' score: 112 zone cut: 'nic.cz.' m12n: 'x.Ns.NiC.cZ.' type: 'A'
[iter]   AA terminate resolution chain
[iter]   <= rcode: NXDOMAIN
[ pc ]   => pktcache_stash entry
[ pc ]   => pktcache_stash NXDOMAIN
[ pc ]   => pktcache_stash answer
[ pc ]   => answer cached for TTL=900
[resl]   <= server: '193.29.206.1' rtt: 107 ms
[resl] finished: 4, queries: 3, mempool: 32800 B