DNS/実装/unbound/query.logについて、ここに記述してください。

qmail minimisationとcase randomizationとを有効にしてある。

1. dig f.ns.qmail.jpのログ

qmail.jp NS (tinydns)に送られてきたもの

@400000005669873d18ccceec 276e8703:d0ff:cdc3 + 0002 NS.qmAIL.JP
@400000005669873d198f1d1c 276e8703:60a4:9b62 + 0002 nS.QmAIL.jp
@400000005669873d1993dfdc 276e8703:defc:8c3f + 0001 F.nS.qMaIL.Jp
@400000005669873d1993e3c4 276e8703:70cd:7a98 + 0002 QMAiL.jP
@400000005669873d1a80c464 276e8703:5d9d:0110 + 0001 a.NS.QMAIL.jP

ns.qmail.jpはempty non-terminalなので、NS queryに対して、NXDOMAINを返している。

-- ToshinoriMaeno 2015-12-10 14:21:24

2. unbound.log

jpサーバはキャッシュにある状態から

[1449756467] unbound[1051:0] info: resolving f.ns.qmail.jp. A IN
[1449756467] unbound[1051:0] info: response for f.ns.qmail.jp. A IN
[1449756467] unbound[1051:0] info: reply from <jp.> 192.50.43.53#53
[1449756467] unbound[1051:0] info: query response was REFERRAL
[1449756467] unbound[1051:0] info: resolving qmail.jp. NS IN
[1449756467] unbound[1051:0] info: response for f.ns.qmail.jp. A IN
[1449756467] unbound[1051:0] info: reply from <qmail.jp.> 14.192.44.5#53
[1449756467] unbound[1051:0] info: query response was NXDOMAIN ANSWER
[1449756467] unbound[1051:0] info: response for qmail.jp. NS IN
[1449756467] unbound[1051:0] info: reply from <jp.> 150.100.6.8#53
[1449756467] unbound[1051:0] info: query response was REFERRAL
[1449756467] unbound[1051:0] info: resolving a.ns.qmail.jp. A IN
[1449756467] unbound[1051:0] info: response for f.ns.qmail.jp. A IN
[1449756467] unbound[1051:0] info: reply from <qmail.jp.> 14.192.44.5#53
[1449756467] unbound[1051:0] info: query response was ANSWER
[1449756467] unbound[1051:0] info: response for qmail.jp. NS IN
[1449756467] unbound[1051:0] info: reply from <qmail.jp.> 14.192.44.5#53
[1449756467] unbound[1051:0] info: query response was ANSWER
[1449756467] unbound[1051:0] info: response for a.ns.qmail.jp. A IN
[1449756467] unbound[1051:0] info: reply from <qmail.jp.> 14.192.44.5#53
[1449756467] unbound[1051:0] info: query response was NXDOMAIN ANSWER
[1449756467] unbound[1051:0] info: response for a.ns.qmail.jp. A IN
[1449756467] unbound[1051:0] info: reply from <qmail.jp.> 14.192.44.5#53
[1449756467] unbound[1051:0] info: query response was ANSWER

unbound側のlogがおかしいらしい。

-- ToshinoriMaeno 2015-12-10 14:17:59