[Pdns-users] Can we disable recursor caching for local authoritative zones?

Nick Milas nmilas at admin.noa.gr
Thu Jun 9 11:22:00 UTC 2011


On 9/6/2011 1:14 ΌΌ, Nick Milas wrote:

>
> Can I somehow disable recursor's cache for specific domains (zones), 
> in particular the ("local") zones for which powerdns (running on the 
> same box here, but could be running on a separate box as well) is 
> authoritative?
>
>

My setup is as follows (forgot it):

pdns.conf:

    ...
    allow-recursion=0.0.0.0/0, ::/0
    cache-ttl=60
    lazy-recursion=yes
    recursor=127.0.0.1:5300

recursor.conf:

    local-address=127.0.0.1:5300,[::1]:5300
    local-port=5300

OK, I got it. Switching

    lazy-recursion=no

does the trick.

Thanks,
Nick



More information about the Pdns-users mailing list