[Pdns-users] pdns and default-ttl option

abang abang at t-ipnet.net
Thu Nov 4 20:30:12 UTC 2010


See http://doc.powerdns.com/built-in-recursor.html

max-cache-ttl
		
Maximum number of seconds to cache an item in the DNS cache, no matter what the original TTL specified. Available since 3.2.



"Derrik Pates" <demon at devrandom.net> schrieb:

>On 11/4/10 1:32 PM, Dmitriy Lyfar wrote:
>> Thank you. Is there any way to control TTL for resource records in
>> recursor? Sometimes I see:
>>
>> ggg.com <http://ggg.com>.        428271    IN    A    212.72.60.198
>>
>> Where recursor obtains this TTL value?
>
>As I said, it gets it from the authoritative server, then counts down 
>over time until it reaches the time where the record is no longer good,
>
>and it throws it away. I did a quick query for 'ggg.com', and the 
>authoritative servers for it provide a TTL of 432000 seconds, so a 
>little math shows that the recursor you queried last retrieved that 
>record slightly over 1 hour prior. There's not a way in pdns_recursor
>to 
>override what's sent out as the record TTL, but as Kenneth pointed out,
>
>there's a good reason for clients to be able to see that, so trying to 
>override it is probably not a good idea in the long run.
>
>-- 
>Derrik Pates
>demon at devrandom.net
>_______________________________________________
>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