Score:0

PowerDNS Recursor cache

tm flag

I have a question. Is it possible to disable the cache completely for powerdns recursor? I have a problem with the domains cache. Recently a client was changing NS records from CloudFlare to other and my DNS kept pointing to old records. TTL was also very high. Where other DNS was pointing to new records correctly.

Only clearing the cache helped

 rec_control wipe-cache

My config:

/etc/powerdns/recursor.conf 
local-address=X.X.X.X
local-port=54
dont-query=127.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fc00::/7, fe80::/10, 0.0.0.0/8, 192.0.0.0/24, 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24, 240.0.0.0/4, ::/96, ::ffff:0:0/96, 100::/64, 2001:db8::/32
allow-from=10.0.0.0/8, 127.0.0.0/8, 10.12.0.0/16, 10.13.0.0/16,10.66.0.0/16, 10.64.0.0/16
forward-zones=admin=X.X.X.X:53
max-negative-ttl=300
dnssec=off

I added max-cache-ttl=900 now. But I don't know if this will solve the problem.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.