[Pdns-users] Deactivating zone in MySQL

AJ McKee aj.mckee at druid-dns.com
Tue Nov 5 09:04:27 UTC 2013


Daniel,

There are a number of ways to achieve this. Recommend you have a look at
this;
http://wiki.powerdns.com/trac/browser/trunk/pdns/modules/gmysqlbackend/gmysqlbackend.cc

Which is a listing of all the gmysql- options you could apply to your
configuration.

There are two methods right away.

1. Create an ON DELETE trigger that moves the records to another table
2. Add an enabled field on the domain or records table and alter the select
used

Hth
AJ


On 5 November 2013 04:22, Daniel L. Miller <dmiller at amfes.com> wrote:

> I'm using the Mysql backend and administering using Poweradmin.  Is there
> a way of "de-activating" a zone - other than simply deleting it from the
> database?
>
> --
> Daniel
>
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>



-- 
AJ McKee
phone: +353 83 1130 545
profile:  http://linkedin.com/in/ajmkee
jid:       aj.mckee at druid-dns.com
blog:    http://aj.mc-kee.com/
twitter: @ajmckee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20131105/17ffa75b/attachment-0001.html>


More information about the Pdns-users mailing list