<br><br><div class="gmail_quote">On 5 November 2010 01:26, Kenneth Marshall <span dir="ltr"><<a href="mailto:ktm@rice.edu">ktm@rice.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im">On Thu, Nov 04, 2010 at 01:15:07PM -0600, Derrik Pates wrote:<br>
> On 11/4/10 12:47 PM, Dmitriy Lyfar wrote:<br>
>> I use pdns with own implemented backend. Queries which is not recognised<br>
>> by my backend are redirected to the<br>
>> pdns-recursor. I'd like to change TTL value for all queries and found<br>
>> default-ttl option which is equal to 3600 by default,<br>
>> I've changed that to 300, but there is no effect and I still see<br>
>> arbitrary TTLs in pdns answer:<br>
>><br>
>> <a href="http://powerdns.com" target="_blank">powerdns.com</a>.        2596    IN    A    85.17.219.140<br>
>><br>
>> Is there any way to have same TTL for all queries I redirected to<br>
>> recursor (in my backend I set up ttl manually, so no problem with<br>
>> queries which can be resolved by backend)? Thank you.<br>
><br>
> The TTL indicated in a recursor response tells how long the recursor<br>
> intends to keep that particular cached record for. It counts down from the<br>
> time it was last retrieved from the master. I don't think PowerDNS has a<br>
> mechanism to override that. However, it is there for a reason.<br>
><br>
<br>
</div>Yes, and that value is the value that a well behaved DNS client should<br>
use to schedule its next DNS query for that host.<br clear="all"></blockquote><div><br>Thank you. Is there any way to control TTL for resource records in recursor? Sometimes I see:<br><br><a href="http://ggg.com">ggg.com</a>.        428271    IN    A    212.72.60.198<br>

<br>Where recursor obtains this TTL value?<br></div></div><br>-- <br>Regards, Lyfar Dmitriy<br>