I upgraded my NSD master from 3.2.4 to 3.2.7. When I restarted the server and did a 'nsdc notify', I got a long stream of errors like this:
[1298460362] nsd-notify[98129]: warning: local hostname 'NOKEY' not found: hostname nor servname provided, or not known
The only difference between each error was the timestamp and pid in brackets. I made no changes to nsd.conf across the upgrade. My nsd.conf has a few dozen zones configured all of which look like this (except for the name/zonefile):
In the code citations below, the leading number is a line number.
There's a bug in how nsdc parses the output of nsd-checkconf. As part of its processing to generate the series of nsd-notify commands, nsdc runs this command:
But that's a quick hack and may not be portable. Granted I'm a pretty fresh set of eyeballs with the NSD source code, but it looks like the culprit is outgoing-interface being treated like an ACL and printed using ZONE_GET_ACL() instead of an ipspec using a (seemingly non-existent) zone analog of SERV_GET_IP().