[Pdns-users] Deleted DNS Records not Removing from Slave

Nils Breunese (Lemonbit) nils at lemonbit.com
Sat Jun 26 09:57:54 UTC 2010


Brandon Lee wrote:

> We have 2 PDNS servers using the MySQL backend.  Both servers have their own MySQL database.  When inserting a DNS record, or making changes the record is updated by the slave server.  However, when a record is deleted, the record is not being deleted from the slave server.  Is there some additional configuration option that must be set, or is it not possible for the slave to delete records? 

AFAIK you'll need to manually remove the zone from the slave if your servers use independent database backends as I don't think there is a way for the master to notify slaves of a removed zone. Please correct me if I'm wrong.

You can solve this by setting up replication or sharing the database if that's possible in your situation. I have a server which is a slave to multiple supermasters, so I'm kind of stuck with the same problem there.

Nils.


More information about the Pdns-users mailing list