[Pdns-users] rec_control reload-zones undocumented behavior, POLA breakage

David opendak at shaw.ca
Thu Aug 23 22:45:08 UTC 2018

On 2018-08-23 8:59 AM, Peter van Dijk wrote:
> Hello Steinar,
> On 20 Aug 2018, at 12:20, sthaug at nethelp.no wrote:
>> - Zone removed from the list in forward-zones-file: Forwarding takes
>> effect immediately *for names not in the PowerDNS cache*. For names in
>> the PowerDNS cache, forwarding doesn't take effect until TTL expires.
>> Is this behavior (removal of names already cached vs. names not
>> cached) intentional? From my point of view it certainly breaks POLA,
>> and means we have to restart the recursor (and thus throw away the
>> cache) to ensure that changes to the list in forward-zones-file take
>> effect right away.
>> If the behavior is intentional it should be documented.
> I think an automatic flush on removing a domain would be good. Can you 
> please file this request at https://github.com/PowerDNS/pdns/issues/new?

Something like this might do it, https://github.com/PowerDNS/pdns/pull/6873

> Kind regards,

More information about the Pdns-users mailing list