[Pdns-dev] IPv6 - Notify for Master
Marcel Pennewiß
mailinglists at pennewiss.de
Mon Jan 16 09:12:24 CET 2012
Hi,
we're testing PowerDNS (built from SVN) as Master with dualstack. As
with IPv4 PowerDNS notifies each nameserver listed in NS resource records -
also the master. For IPv4 this works flawless and notification list will
rectified as expected. For IPv6 this seems not to work correct.
Being neither a C++ pro nor knowing PowerDNS-source fully in detail, patch
attached is a "works for me"-solution.
removeIf will be called with IP+Port as parameter, which is "[IPv6-
address]:Port" in IPv6 and "IPv4-address:Port" in IPv4. removeIf splits this
parameter on ":" which certainly go wrong on IPv6.
Best Regards,
Marcel
IPv4 (works):
> pdns[27482]: Queued notification of domain 'example.org' to 78.47.xx.x
> ...
> pdns[27482]: Received NOTIFY for example.org from 78.47.xx.x but slave
support is disabled in the configuration
> pdns[27482]: Received unsuccessful notification report for 'example.org' from
78.47.xx.x:53, rcode: 4
> pdns[27482]: Removed from notification list: 'example.org' to 78.47.xx.x:53
IPv6 (did not work):
> pdns[27482]: Queued notification of domain 'example.org' to
2a01:4f8:120:xxxx:x::53
> ...
> pdns[27482]: Received NOTIFY for example.org from 2a01:4f8:120:xxxx:x::53
but slave support is disabled in the configuration
> pdns[27482]: Received NOTIFY for example.org from 2a01:4f8:120:xxxx:x::53
but slave support is disabled in the configuration
> pdns[27482]: Received unsuccessful notification report for 'example.org' from
[2a01:4f8:120:xxxx:x::53]:53, rcode: 4
> pdns[27482]: Received spurious notify answer for 'example.org' from
[2a01:4f8:120:xxxx:x::53]:53
> pdns[27482]: Received NOTIFY for example.org from 2a01:4f8:120:xxxx:x::53
but slave support is disabled in the configuration
> pdns[27482]: Received unsuccessful notification report for 'example.org' from
[2a01:4f8:120:xxxx:x::53]:53, rcode: 4
> pdns[27482]: Received spurious notify answer for 'example.org' from
[2a01:4f8:120:xxxx:x::53]:53
IPv6 (after Patch):
> pdns[9513]: Queued notification of domain 'example.org' to
2a01:4f8:120:xxxx:x::53
> ...
> pdns[9513]: Received NOTIFY for example.org from 2a01:4f8:120:xxxx:x::53 but
slave support is disabled in the configuration
> pdns[9513]: Received unsuccessful notification report for 'example.org' from
[2a01:4f8:120:xxxx:x::53]:53, rcode: 4
> pdns[9513]: Removed from notification list: 'example.org' to
[2a01:4f8:120:xxxx:x::53]:53
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdns-ipv6-notify.patch
Type: text/x-patch
Size: 1472 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20120116/d8cc7452/attachment.bin>
More information about the Pdns-dev
mailing list