[nsd-users] warning: local hostname 'NOKEY' not found? (nsdc BUG FOUND)

W.C.A. Wijngaards wouter at NLnetLabs.nl
Thu Feb 24 13:28:21 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Darren,

On 02/24/2011 02:02 AM, Darren Pilgrim wrote:
> On 2011-02-23 03:39, Darren Pilgrim wrote:
>> [1298460362] nsd-notify[98129]: warning: local hostname 'NOKEY' not
>> found: hostname nor servname provided, or not known
> 
> In the code citations below, the leading number is a line number.
> 
> 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().

Thank you for the bugreport and detailed analysis.  I have fixed the
printout of nsd-checkconf, so that NOKEY is not printed for the outgoing
interface, and it does not use ZONE_GET_ACL.

Best regards,
   Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk1mXPUACgkQkDLqNwOhpPjzZwCgm7TgimENkGA74sQXb2UPRPF2
XvUAn3ci12fmiP/IIC69zKhYWlytErkD
=EYms
-----END PGP SIGNATURE-----



More information about the nsd-users mailing list