[Pdns-users] Active records and Disabled Records
Peter van Dijk
peter.van.dijk at netherlabs.nl
Mon Jun 2 16:53:04 UTC 2014
Hello Matt,
On 02 Jun 2014, at 18:51 , Peter van Dijk <peter.van.dijk at netherlabs.nl> wrote:
> On 02 Jun 2014, at 17:57 , Matt . <yamakasi.014 at gmail.com> wrote:
>
>> Is it possible in PDNS to have active and inactive records ?
>>
>> What I mean with Inactive is that they are set to 0 or whatever and
>> PDNS ignores them on a SQL qeury when a lookup is done.
>
> In our development snapshots, and in the upcoming 3.4, there is a ‘disabled’ boolean in the records table. I believe this is what you are asking!
>
> Please see the schema at
> http://doc.powerdns.com/html/from3.3.1to3.4.html
> http://doc.powerdns.com/html/generic-mypgsql-backends.html
Wolfgang pointed out you can do this with custom queries. Indeed you can - and if you do, I suggest doing it according to the 3.4 schema :)
Kind regards,
--
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20140602/6664558e/attachment-0001.sig>
More information about the Pdns-users
mailing list