[dnsdist] Disable cache for certain sources
Andreas Wili
cicco0 at outlook.com
Tue Apr 16 16:19:13 UTC 2024
Hello!
I have dnsdist deployed centrally to route DNS queries to various backends:
newServer({
address='192.168.100.10',
name='backend1',
})
newServer({
address='192.168.100.20',
name='backend2',
})
In this setup, I use caching as follows:
cache_all_queries = newPacketCache(2000000, {maxTTL=86400, minTTL=0, temporaryFailureTTL=60, staleTTL=60})
getPool(""):setCache(cache_all_queries)
I would now need to disable caching for certain servers that issue a DNS query. Is there a rule for this or any other option?
Regards,
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20240416/5a34a68e/attachment.htm>
More information about the dnsdist
mailing list