[Pdns-users] Testing master functionality on ldap backend
Ruben d'Arco
cyclops at prof-x.net
Fri Mar 22 07:11:11 UTC 2013
Hi,
This is by design and not specific to the ldap backend.
Powerdns simply receives the nameservers from the backend and starts resolving the name to ip addresses.
If that name has multiple ip addresses (v6 or v4), notifies will be send to all of them.
There is a ticket open for this and a patch:
http://wiki.powerdns.com/trac/ticket/454
Regards,
Ruben
On Thu, Mar 21, 2013 at 12:36:18PM +0200, Nikolaos Milas wrote:
> Hello,
>
> I am testing the new ldap backend
> (http://repo.or.cz/w/pdns-ldap-backend.git) under pdns v3.2 on
> CentOS 6.4 x86_64
>
> I have a question: It seems the master is sending duplicate
> notifications to the slave, both at the IPv4 and at the IPv6
> address.
>
> Is this expected behavior? Please explain.
>
> Test details follow.
>
> The test master server is vmres.noa.gr with:
>
> ...
> local-address=127.0.0.1 194.177.195.158
> local-ipv6=::1 2001:648:2011:14::158
> ...
>
> The slave runs at:
>
> vdev.noa.gr
> 195.251.204.232
> 2001:648:2011:10::232
>
> Here is the master zone, as queried:
>
> # dig ANY 204.251.195.in-addr.arpa @194.177.195.158
>
> ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6.3 <<>> ANY
> 204.251.195.in-addr.arpa @194.177.195.158
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39168
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 2
> ;; WARNING: recursion requested but not available
>
> ;; QUESTION SECTION:
> ;204.251.195.in-addr.arpa. IN ANY
>
> ;; ANSWER SECTION:
> 204.251.195.in-addr.arpa. 86400 IN NS vdev.noa.gr.
> 204.251.195.in-addr.arpa. 86400 IN NS vmres.noa.gr.
> 204.251.195.in-addr.arpa. 86400 IN SOA vmres.noa.gr.
> sysadmin.noa.gr. 2013032002 86400 180 1209600 3600
>
> ;; ADDITIONAL SECTION:
> vdev.noa.gr. 86400 IN A 195.251.204.232
> vdev.noa.gr. 86400 IN AAAA 2001:648:2011:10::232
>
> ;; Query time: 2 msec
> ;; SERVER: 194.177.195.158#53(194.177.195.158)
> ;; WHEN: Thu Mar 21 12:21:55 2013
> ;; MSG SIZE rcvd: 176
>
> Some logs after zone change, for reference:
>
> Mar 20 20:21:28 vmres pdns[9128]: 1 domain for which we are master
> needs notifications
> Mar 20 20:21:28 vmres pdns[9128]: Queued notification of domain
> '204.251.195.in-addr.arpa' to 195.251.204.232
> Mar 20 20:21:28 vmres pdns[9128]: Queued notification of domain
> '204.251.195.in-addr.arpa' to 2001:648:2011:10::232
> ...
> Mar 20 20:21:28 vmres pdns[9128]: AXFR of domain
> '204.251.195.in-addr.arpa' initiated by 195.251.204.232
> Mar 20 20:21:28 vmres pdns[9128]: AXFR of domain
> '204.251.195.in-addr.arpa' allowed: client IP 195.251.204.232 is in
> allow-axfr-ips
> ...
> Mar 20 20:21:28 vmres pdns[9128]: AXFR of domain
> '204.251.195.in-addr.arpa' to 195.251.204.232 finished
> ...
> Mar 20 20:21:29 vmres pdns[9128]: Removed from notification list:
> '204.251.195.in-addr.arpa' to 195.251.204.232:53 (was acknowledged)
>
> Thanks and Regards,
> Nick
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
More information about the Pdns-users
mailing list