Hello,
I find that the following condition makes it failure.
- "zone" line has multiple IP addresses as the paramater of
"masters" keyword.
- The master requires TSIG for zone xfer.
The reason is that, in "while"-loop for "update"
sub-command, ${masters} contains multiple IP addresses, not
splitted, and test on existance of ".tsiginfo" is done with
${masters}, so it fails even though the right ".tsiginfo"
file exists.
Say we have the following nsd.zones.
zone example.jp masters 192.168.0.1 192.168.0.2
In this case, ${masters} contain "192.168.0.1 192.168.0.2"
and "${keysdir}/192.168.0.1 192.168.0.2.tsiginfo" is
examined rather than "${keysdir}/192.168.0.1.tsiginfo" and
"${keysdir}/192.168.0.2.tsiginfo" isolated.
I understand that this is some sort of bug.
Thanks
Koh-ichi Ito