[Pdns-users] How to reload RPZ from file?

Remi Gacogne remi.gacogne at powerdns.com
Mon May 7 10:07:05 UTC 2018


On 05/07/2018 12:03 PM, MRob wrote:
> On 2018-04-28 21:25, MRob wrote:
>> On 2018-04-18 01:04, MRob wrote:
>>> With:
>>> rpzFile("dblfilename", {defpol=Policy.Custom,
>>> defcontent="badserver.example.com"})
>>> Is there a 'nice' way to make Recursor reload this file?
>>> Does rec_control reload-zones do it?
>>> Must I restart recursor?
>>
>> `rec_control reload-zones` didn't reload the rpz file so unfortunately
>> I had to restart the recursor. Is there a better way without that
>> drastic action?
> 
> I'll understand no feedback to mean that full restart is the only way to
> reload rpz from file?

No, use 'rec_control reload-lua-config <filename>'.

-- 
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20180507/e3a85ba8/attachment.sig>


More information about the Pdns-users mailing list