[Pdns-users] Mysql cluster backend & rpz

Otto Moerbeek otto at drijf.net
Mon Jun 22 10:44:31 UTC 2020


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




More information about the Pdns-users mailing list