[Pdns-users] pdns and default-ttl option
dlyfar at gmail.com
Thu Nov 4 19:32:25 UTC 2010
On 5 November 2010 01:26, Kenneth Marshall <ktm at rice.edu> wrote:
> On Thu, Nov 04, 2010 at 01:15:07PM -0600, Derrik Pates wrote:
> > On 11/4/10 12:47 PM, Dmitriy Lyfar wrote:
> >> I use pdns with own implemented backend. Queries which is not recognised
> >> by my backend are redirected to the
> >> pdns-recursor. I'd like to change TTL value for all queries and found
> >> default-ttl option which is equal to 3600 by default,
> >> I've changed that to 300, but there is no effect and I still see
> >> arbitrary TTLs in pdns answer:
> >> powerdns.com. 2596 IN A 22.214.171.124
> >> Is there any way to have same TTL for all queries I redirected to
> >> recursor (in my backend I set up ttl manually, so no problem with
> >> queries which can be resolved by backend)? Thank you.
> > The TTL indicated in a recursor response tells how long the recursor
> > intends to keep that particular cached record for. It counts down from
> > time it was last retrieved from the master. I don't think PowerDNS has a
> > mechanism to override that. However, it is there for a reason.
> Yes, and that value is the value that a well behaved DNS client should
> use to schedule its next DNS query for that host.
Thank you. Is there any way to control TTL for resource records in recursor?
Sometimes I see:
ggg.com. 428271 IN A 126.96.36.199
Where recursor obtains this TTL value?
Regards, Lyfar Dmitriy
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pdns-users