[Pdns-users] Cleanest way to delete unexitant domains on slave?

Marcel Pennewiß mailinglists at pennewiss.de
Thu Jul 10 18:17:21 UTC 2008


On Thursday 26 June 2008 23:46:26 Augie Schwer wrote:
> There is no automatic way; you must do this with code. Either diff
> both data sets and deal with conflicts, or turn Supermaster off and
> make sure when you add and delete from both the master and the slave.

Hi list,

another possibility would be:

PowerDNS provides an interface to start a script with the domainname and 
domain_id as args if an AXFR/update check fails? With your own script you can 
check whether your slave is responsible for this domain or not and do 
something with your database. These erros are currently reported in syslog if 
loglevel is high enough.

best regards

Marcel





More information about the Pdns-users mailing list