1. kresd/issues
https://gitlab.labs.nic.cz/knot/resolver/issues
Knot resolverでのglueの扱いに問題があることが分かって、手元では修正したのだが、 それを開発側にどう伝えるのがいいかという難問がある。-- ToshinoriMaeno 2016-04-17 09:24:48
glueとAレコードの区別をしていない。
- a.dns.jp A はcacheからの返答が返る。 nsa.dns.jp の A も同様だ。
==> zone cut 付属のAレコードは別扱いするようパッチ
2. 100.jp
jpからのadditionalを使っているようにみえる。(out-of-bailiwickではないのか)
[plan] plan '100.jp.' type 'A' [resl] => querying: '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' [resl] optional: '156.154.100.5' score: 10 zone cut: 'jp.' m12n: '100.jp.' type: 'A' [resl] optional: '202.12.30.131' score: 10 zone cut: 'jp.' m12n: '100.jp.' type: 'A' [iter] <= referral response, follow [resl] <= server: '192.50.43.53' rtt: 16 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: 13 ms [resl] finished: 4, queries: 1, mempool: 32800 B
だが、この状態で、ns1.dns.ne.jp A を問い合わせると、
[plan] plan 'ns1.dns.ne.jp.' type 'A' [resl] => querying: '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' [resl] optional: '202.12.30.131' score: 10 zone cut: 'jp.' m12n: 'nE.Jp.' type: 'NS' [resl] optional: '203.119.1.1' 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: '210.138.175.244' rtt: 6 ms [resl] => querying: '203.119.40.1' score: 11 zone cut: 'jp.' m12n: 'NS1.Dns.nE.Jp.' type: 'A' [resl] optional: '156.154.100.5' score: 11 zone cut: 'jp.' m12n: 'NS1.Dns.nE.Jp.' type: 'A' [resl] optional: '202.12.30.131' score: 11 zone cut: 'jp.' m12n: 'NS1.Dns.nE.Jp.' type: 'A' [resl] optional: '203.119.1.1' score: 11 zone cut: 'jp.' m12n: 'NS1.Dns.nE.Jp.' type: 'A' [iter] <= referral response, follow [resl] <= server: '203.119.40.1' rtt: 6 ms [resl] => querying: '210.224.172.13' score: 13 zone cut: 'dns.ne.jp.' m12n: 'ns1.dNs.ne.Jp.' type: 'A' [resl] optional: '210.188.224.9' score: 13 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
- ここのglueはAとしては扱われていない。なぜだ。w
-- ToshinoriMaeno 2016-04-15 15:08:51