Bug 343 - nsdc update does not work well with IPv6
nsdc update does not work well with IPv6
Product: NSD
Classification: Unclassified
Component: NSD Code
i386 Linux
: P5 minor
Assigned To: NSD team
Depends on:
  Show dependency treegraph
Reported: 2010-12-29 10:08 CET by Marco Davids
Modified: 2011-01-05 11:52 CET (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Marco Davids 2010-12-29 10:08:47 CET
'nsdc update' in an IPv6 enabled environment doesn't work. Here's the situation:


   allow-notify: NOKEY
   allow-notify: ::1 NOKEY

Then 'nsdc update' executes this:

nsd-notify  -a -p 53 -z example.net ::1

which results in the error, because of a mix-up of IPv4 and IPv6:

[1293613087] nsd-notify[8213]: warning: no local address family matches remote address family, skipping server '::1'

Please note that -a isn't (as expected). The address used is the global IP-address at eth0. Not sure why this is, but it was easy to fix with:

   allow-notify: NOKEY

So that is not a real issue, just a remark.
Comment 1 Matthijs Mekking 2011-01-05 11:52:45 CET
Fixed in trunk. nsdc update picked the wrong parameter for -a.
Thanks for the report