[Pdns-users] master/slave operation with gmysql backend

Marcin Krol admin at domeny.pl
Fri Nov 23 19:39:16 UTC 2007


Hello everyone,

I'm new to powerdns and it works great, but I have trouble configuring master/slave notifications. 

Yes, I've set up master=yes in master's pdns.conf and slave=yes in slave, as well as local-address=87.204.147.163 on master and allow-axfr-ips=87.204.147.163 on slave (which is 87.204.147.165).

First, master tries to notify itself as if he were slave to himself:

Nov 23 19:05:29 redirs pdns[17779]: Master/slave communicator launching
Nov 23 19:05:29 redirs pdns[17779]: gmysql Connection succesful
Nov 23 19:05:29 redirs pdns[17779]: About to create 3 backend threads for UDP

Nov 23 19:05:29 redirs pdns[17779]: gmysql Connection succesful
Nov 23 19:05:29 redirs pdns[17779]: All slave domains are fresh
Nov 23 19:05:29 redirs pdns[17779]: No master domains need notifications


..and slave does that as well. Weird.

What's worse is that if I issue following command on master:

pdns_control notify-host a13.promo.pl 87.204.147.165

..I get this on slave:


Nov 23 18:57:28 pdns2 pdns[17045]: Received NOTIFY for a13.promo.pl from 87.204.147.163 for which we are not authoritative

Nov 23 18:57:28 pdns2 pdns[17045]: Unable to find backend willing to host a13.promo.pl for potential supermaster 87.204.147.163

I have added the IP 87.204.147.163 on to "supermasters" table on slave:

mysql> select * from supermasters;
+----------------+-------------------+---------+
| ip             | nameserver        | account |
+----------------+-------------------+---------+
| 87.204.147.163 | redirs.domeny.com | redirs  |
+----------------+-------------------+---------+
1 row in set (0.00 sec)

Am I really limited to mysql replication if I want to have powerdns slave server? 

Can powerdns-level replication with gmysql backend using traditional master/slave setup be configured at all? Anybody?

Thanks in advance,
--
Marcin Krol




More information about the Pdns-users mailing list