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

2018-05-07 Thread Remi Gacogne
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 '.

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



signature.asc
Description: OpenPGP digital signature
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


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

2018-05-07 Thread MRob

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?

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


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

2018-04-28 Thread MRob

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?

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users