Re: [Pdns-users] pdns and default-ttl option

2010-11-04 Thread bert hubert
On Thu, Nov 04, 2010 at 10:24:57PM +0100, abang wrote: > > >You should be able to do that will a lua script in version 3.3 with > >the no-cache directive and set the TTL for the packet manually. I > >have not tested it personally, but that sounds like it would work. > > The lua hooks are nxdomain

Re: [Pdns-users] pdns and default-ttl option

2010-11-04 Thread abang
>You should be able to do that will a lua script in version 3.3 with >the no-cache directive and set the TTL for the packet manually. I >have not tested it personally, but that sounds like it would work. The lua hooks are nxdomain and preresolve. As far as I know there is no possibility to manip

Re: [Pdns-users] pdns and default-ttl option

2010-11-04 Thread Kenneth Marshall
On Thu, Nov 04, 2010 at 02:53:00PM -0600, Derrik Pates wrote: > On 11/4/10 2:30 PM, abang wrote: >> 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.

Re: [Pdns-users] pdns and default-ttl option

2010-11-04 Thread Derrik Pates
On 11/4/10 2:30 PM, abang wrote: 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. But that won't fix the TTL value to always be that sp

Re: [Pdns-users] pdns and default-ttl option

2010-11-04 Thread abang
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" schrieb: >On 11/4/10 1:32 PM, Dmitriy Lyfar wrote: >> Thank you. Is th

Re: [Pdns-users] pdns and default-ttl option

2010-11-04 Thread Derrik Pates
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 .428271INA212.72.60.198 Where recursor obtains this TTL value? As I said, it gets it from the authoritative server

Re: [Pdns-users] pdns and default-ttl option

2010-11-04 Thread Dmitriy Lyfar
On 5 November 2010 01:26, Kenneth Marshall 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

Re: [Pdns-users] pdns and default-ttl option

2010-11-04 Thread Kenneth Marshall
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 >> de

Re: [Pdns-users] pdns and default-ttl option

2010-11-04 Thread Derrik Pates
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 3

[Pdns-users] pdns and default-ttl option

2010-11-04 Thread Dmitriy Lyfar
Hi, 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