[Pdns-users] Dealing with the Recursor cache

Alejandro Adroher Mellado alejandro.adroher at omniaccess.com
Tue Nov 10 16:56:10 UTC 2015


Hi Pdns community!

I'm trying to completely understand how the recursor cache works.

Recursor options:
- max-cache-ttl = x seconds. This cache holds data gathered from authoritative servers out on the Internet.
Maximum number of seconds to cache an item in the DNS cache, no matter what the original TTL specified.
  This option works perfectly, this is a seconds countdown which keeps a cache entry as "positive", forcing the default ttl to the number of seconds setted here.
  One time the countdown is finish, the associated counter for this record in the cache starts to count in "negative seconds", but it keeps on the cache.

But, I'm looking the point in which the record is deleted from the cache. For that I use next option:
-  packetcache-ttl = x seconds  maximum number of seconds to keep a cached entry in packetcache

I ask the cache after those seconds and the records still there on the cache.

I also tried using next option:
max-negative-ttl= x seconds Another count, but seems has no end.
And the same happened, those records are still there.

I'm lost in the cache. Can I force a time for the records on the cache to be deleted? 

Thanks a lot!! 



-----Original Message-----
From: pdns-users-bounces at mailman.powerdns.com [mailto:pdns-users-bounces at mailman.powerdns.com] On Behalf Of Pieter Lexis
Sent: viernes, 6 de noviembre de 2015 18:54
To: pdns-users at mailman.powerdns.com
Subject: Re: [Pdns-users] Experimental webservices

Hi Alejandro,

On 11/06/2015 02:53 PM, Alejandro Adroher Mellado wrote:
> On Recursor Servers didn't work, the web show me a message exactly like "Not Found",  seems like something is missing.

This is correct, the recursor does not server webpages (in contrast to the authoritative server). You can use the API to get information or control the process using recuweb[1] and pdnscontrol[2].

Best regards,

Pieter

1 - https://github.com/ahupowerdns/recuweb
2 - https://github.com/PowerDNS/pdnscontrol
--
Pieter Lexis
PowerDNS.COM BV - https://www.powerdns.com

_______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users




More information about the Pdns-users mailing list