[Pdns-users] turn off all type of caching in pdns-recursor

Aki Tuomi 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.
> 	Bert

Another method that has been used has been to setup a record like

*.monitoring.example.com IN A

and then ask stuff like dig "`date +%s`.monitoring.example.com"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130619/314c5896/attachment-0001.sig>

More information about the Pdns-users mailing list