[Pdns-users] Multiple masters are added in Supermaster configuration

Peter van Dijk peter.van.dijk at powerdns.com
Wed Jul 20 12:32:48 UTC 2016


Hello Javi,

3.4.8 takes all IPs for the given account name in the supermasters 
table. So, fill that field!

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

On 20 Jul 2016, at 10:14, Javier Narváez wrote:

> Hi!
>
> I'm upgrading from PowerDNS 2.9.22 (Centos 5) to PowerDNS 3.4.8 
> (Centos 7).
>
> I have a several supermasters servers (bind) that automatically create 
> zones on 3 PowerDNS slave servers.
>
> With PowerDNS 2.9.22 when I a domain is added to a supermaster bind 
> server, that domain is added to the 3 PowerDNS slave servers with the 
> IP of the supermaster:
>
> mysql> SELECT `id`,`name`,`master` FROM domains WHERE `type`='SLAVE' 
> AND `name`='aaaaaaaaaaaa999.com';
> +-------+---------------------+-----------------+
> | id | name | master |
> +-------+---------------------+-----------------+
> | 48773 | aaaaaaaaaaaa999.com | 195.xxx.255.153 |
> +-------+---------------------+-----------------+
>
> With PowerDNS 3.4.8, the domain is added with the full list of 
> supermasters listed in PowerDNS supermasters table:
> MariaDB [powerdns]> SELECT `id`,`name`,`master` FROM domains WHERE 
> `type`='SLAVE' AND `name`='aaaaaaaaaaaa999.com';
> +-------+---------------------+----------------------------------------------------------------------------------------------------------------------------------+
> | id | name | master |
> +-------+---------------------+----------------------------------------------------------------------------------------------------------------------------------+
> | 48772 | aaaaaaaaaaaa999.com | 185.50.xxx.146, 185.50.xxx.147, 
> 185.50.xxx.148, 185.50.xxx.149, 185.50.xxx.150, 185.50.xxx.151, 
> 185.50.xxx.152, 185.50.xxx.160, 185.50.x |
> +-------+---------------------+----------------------------------------------------------------------------------------------------------------------------------+
>
> And this is the line in the logs that adds the domain to PowerDNS:
> Jul 20 08:50:53 ns2 pdns[736]: Created new slave zone 
> 'aaaaaaaaaaaa999.com' from supermaster 195.xxx.255.153
>
> Any idea how to solve the problem?
>
> This is my configuration:
>
> [root at ns2 ~]# cat /etc/pdns/pdns.conf
> setuid=pdns
> setgid=pdns
>
> launch=gmysql
> gmysql-host=127.0.0.1
> gmysql-user=power_admin
> gmysql-password=xxxxx
> gmysql-dbname=powerdns
>
> allow-axfr-ips=xxxxx
> slave=yes
>
> allow-recursion=127.0.0.1, ::1, xxxxxxxxx
> recursor=127.0.0.1:5300
>
> local-ipv6=xxxxxxxx
>
> Thank you in advance.
>
> Kind regards,
> Javi
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users


More information about the Pdns-users mailing list