Re: [Pdns-users] turn off all type of caching in pdns-recursor
On Wed, Jun 19, 2013 at 08:11:03AM +0200, bert hubert wrote: On Tue, Jun 18, 2013 at 10:22:16PM -0600, Alex Flex wrote: My question is: How can I disable all types of caching in the pdns recursor so that all my requests are always forwarded to upstream? PowerDNS uses its cache as a knowledge base during recursion, so if you take away its memory, it has no idea what it is doing. But, if you set max-cache-ttl=1, packetcache-ttl=0, packetcache-servfail-ttl=0, you should get a long way. Bert Another method that has been used has been to setup a record like *.monitoring.example.com IN A 127.0.0.1 and then ask stuff like dig `date +%s`.monitoring.example.com Aki signature.asc Description: Digital signature ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] turn off all type of caching in pdns-recursor
On Wed, Jun 19, 2013 at 09:18:42AM +0300, Aki Tuomi wrote: Another method that has been used has been to setup a record like *.monitoring.example.com IN A 127.0.0.1 and then ask stuff like dig `date +%s`.monitoring.example.com Neat idea. Does this do a significantly better job than setting up monitoring.example.com with a short TTL? Greetings Marc -- - Marc Haber | I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things.Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] turn off all type of caching in pdns-recursor
On Wed, Jun 19, 2013 at 10:14:56AM +0200, Marc Haber wrote: On Wed, Jun 19, 2013 at 09:18:42AM +0300, Aki Tuomi wrote: Another method that has been used has been to setup a record like *.monitoring.example.com IN A 127.0.0.1 and then ask stuff like dig `date +%s`.monitoring.example.com Neat idea. Does this do a significantly better job than setting up monitoring.example.com with a short TTL? Greetings Marc The point is to ensure that cache is always bypassed, despite recursor settings. This way you don't have to setup separate monitorning recursor as you can always ask for a fresh name, and you know it'll get asked and not cached. Short TTL can be overriden by DNS server. Aki Tuomi signature.asc Description: Digital signature ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] turn off all type of caching in pdns-recursor
Aki Tuomi wrote: On Wed, Jun 19, 2013 at 10:14:56AM +0200, Marc Haber wrote: On Wed, Jun 19, 2013 at 09:18:42AM +0300, Aki Tuomi wrote: Another method that has been used has been to setup a record like *.monitoring.example.com IN A 127.0.0.1 and then ask stuff like dig `date +%s`.monitoring.example.com Neat idea. Does this do a significantly better job than setting up monitoring.example.com with a short TTL? Greetings Marc The point is to ensure that cache is always bypassed, despite recursor settings. This way you don't have to setup separate monitorning recursor as you can always ask for a fresh name, and you know it'll get asked and not cached. Short TTL can be overriden by DNS server. Aki Tuomi CMIIW, but I understand Alex doesn't want to monitor _his_ authoritative nameservers' performance/availability, but that of the resolver his upstream provides him with, and/or get a general heatmap of the state of DNS on teh intartubes. Whilst for monitoring _your_ zones' availability, this approach is a good idea, it is not feasible for domains you do not control^^ regards, Sebastian ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] turn off all type of caching in pdns-recursor
Posner, Sebastian wrote: CMIIW, but I understand Alex doesn't want to monitor _his_ authoritative nameservers' performance/availability, but that of the resolver his upstream provides him with, and/or get a general heatmap of the state of DNS on teh intartubes. Whilst for monitoring _your_ zones' availability, this approach is a good idea, it is not feasible for domains you do not control^^ Well, this entirely depends on your recursor configuration and the domains you control. Ciao, Michael. smime.p7s Description: S/MIME Cryptographic Signature ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] turn off all type of caching in pdns-recursor
Michael Ströder wrote: Posner, Sebastian wrote: CMIIW, but I understand Alex doesn't want to monitor _his_ authoritative nameservers' performance/availability, but that of the resolver his upstream provides him with, and/or get a general heatmap of the state of DNS on teh intartubes. Whilst for monitoring _your_ zones' availability, this approach is a good idea, it is not feasible for domains you do not control^^ Well, this entirely depends on your recursor configuration and the domains you control. Sorry, I've misread your comment. Pleas ignore mine. Ciao, Michael. smime.p7s Description: S/MIME Cryptographic Signature ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users