[Pdns-users] Bad cache TTL with pdns-resursor
bert hubert
bert.hubert at netherlabs.nl
Thu Dec 29 15:20:31 UTC 2011
Hi Michael,
The SOA will indeed probably not go to zero because it will have been
renewed in that time. PowerDNS Recursor 3.3 and later take care to decrement
the TTL when serving contents from the packet cache.
So when you don't see it going down in 3.2, that is correct, and maybe a bit
strange, but not a bug.
Bert
On Thu, Dec 29, 2011 at 10:08:53AM +0100, Michael FROMENT wrote:
> Hi,
>
> I have some strange cached TTL on my pdns-recursor ( version 3.2-4 under
> debian ).
> When I query my recursor the TTL doesn't decrease by 1 second. Moreover the
> TTL never goes to 0 so the zone never expire in cache.
> As an example:
>
> root at BBK2NS:~# dig soa google.com @89.2.0.1
> ;; ANSWER SECTION:
> google.com. 569 IN SOA ns1.google.com.
> dns-admin.google.com. 1472387 7200 1800 1209600 300
>
> ;; Query time: 0 msec
> ;; SERVER: 89.2.0.1#53(89.2.0.1)
> ;; WHEN: Thu Dec 29 10:02:46 2011
> ;; MSG SIZE rcvd: 78
>
> root at BBK2NS:~# dig soa google.com @89.2.0.1
> ;; ANSWER SECTION:
> google.com. 40 IN SOA ns1.google.com.
> dns-admin.google.com. 1472388 7200 1800 1209600 300
>
> ;; Query time: 0 msec
> ;; SERVER: 89.2.0.1#53(89.2.0.1)
> ;; WHEN: Thu Dec 29 10:02:47 2011
> ;; MSG SIZE rcvd: 78
>
> root at BBK2NS:~# dig soa google.com @89.2.0.1
> ;; ANSWER SECTION:
> google.com. 562 IN SOA ns1.google.com.
> dns-admin.google.com. 1472388 7200 1800 1209600 300
>
> ;; Query time: 0 msec
> ;; SERVER: 89.2.0.1#53(89.2.0.1)
> ;; WHEN: Thu Dec 29 10:04:08 2011
> ;; MSG SIZE rcvd: 78
>
> Is this a known bug on the recursor?
>
> Kind Regards
>
> Michael
> _______________________________________________
> 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