[Pdns-users] Mysql cluster backend & rpz

Bill Pye bill.pye at phoenix-systems.co.uk
Mon Jun 22 10:52:32 UTC 2020


----- Original Message -----
> From: "Otto Moerbeek" <otto at drijf.net>
> To: "bill pye" <bill.pye at phoenix-systems.co.uk>
> Cc: "Pdns-users" <Pdns-users at mailman.powerdns.com>
> Sent: Monday, 22 June, 2020 12:44:31
> Subject: Re: [Pdns-users] Mysql cluster backend & rpz

> On Mon, Jun 22, 2020 at 10:07:07AM +0000, Bill Pye via Pdns-users wrote:
> 
>> As a follow-up to my last post I have a question (or two) about using a mysql
>> cluster as the backend and using rpz.
>> 
>> First, where does PDNS-recursor store the download zone for an rpz, is it in the
>> mysql db or an on-disk file? I'd assume it's on-disk.
>> 
>> Second, as I use a cluster of three pdns, pdns-recursor & dnsdist and the rpz
>> zone is on-disk I'd need that specified in each recursor I guess?
>> 
>> I'm probably missing something obvious here so a nudge in the right direction
>> would be appreciated. :)
>> 
>> Regards
> 
> Recursor knows nothing about databases....
> 
> RPZ data is stored in memory. Starting wit 4.2. you can write it to
> disk (using the dumpFile attribute) and use that file for a quick load
> on restart (using the seedFile attribute).
> 
> And yes, you'll need to specify the rpz zone in each recursor where
> it should be used.
> 
> 	-Otto

Otto

Thanks again and I guess a bit more reading for me. :)

PDNS: 4.3.0
PDNS-recursor: 4.3.0
DNSDIST: 1.5.0 rc3


Regards


Bill


More information about the Pdns-users mailing list