[Pdns-users] turn off all type of caching in pdns-recursor
cmouse at youzen.ext.b2.fi
Wed Jun 19 06:18:42 UTC 2013
On Wed, Jun 19, 2013 at 08:11:03AM +0200, bert hubert wrote:
> On Tue, Jun 18, 2013 at 10:22:16PM -0600, Alex Flex wrote:
> > My question is: How can I disable all types of caching in the pdns
> > recursor so that all my requests are always forwarded to upstream?
> PowerDNS uses its cache as a "knowledge base" during recursion, so if you
> take away its memory, it has no idea what it is doing.
> But, if you set max-cache-ttl=1, packetcache-ttl=0,
> packetcache-servfail-ttl=0, you should get a long way.
Another method that has been used has been to setup a record like
*.monitoring.example.com IN A 127.0.0.1
and then ask stuff like dig "`date +%s`.monitoring.example.com"
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: Digital signature
More information about the Pdns-users