[Pdns-dev] powerdns supermasters bug or by design?

Peter van Dijk peter.van.dijk at powerdns.com
Tue Jul 7 11:36:02 CEST 2015


Hello,

On 28 Jun 2015, at 1:38, M. Vale wrote:

> We went to x.domain.tld and added the following to the supermasters
> database:
>
>
> insert into supermasters (ip,nameserver) VALUES ('xx.xx.xx.xx',
> 'x.domain.tld)
> insert into supermasters (ip,nameserver) VALUES ('yy.yy.yy.yy',
> 'x.domain.tld)
> ...repeat for 18 more times replacing only the IP.
>
> What we have realised is:
>
> If domain (test1.tld) is on server with ip yy.yy.yy.yy, powerdns after
> receiving a AXFR adds the domains to the 'domains' table like this:
>
> +----+-------------------------+---------------+------------+--------+-----------------+---------+
> | id | name                    | master        | last_check | type   |
> notified_serial | account |
> +----+-------------------------+---------------+------------+--------+-----------------+---------+
> |  6 | test1.tld        | xx.xx.xx.xx, yy.yy.yy.yy | 1435437813 | 
> SLAVE
> |            NULL |         |
>

This is new in 3.4.0, to support various use cases that were hard before 
(like dual-stack supermasters). PowerDNS now picks up all the name 
servers for the same account. To fix your problem, fill the account 
field with a unique name per customer.

Kind regards,
-- 
Peter van Dijk
PowerDNS.COM BV - https://www.powerdns.com/



More information about the Pdns-dev mailing list