Maintained by: NLnet Labs

[Unbound-users] Maximum TTL for negative cache

Tomas Hozza
Fri Jun 12 11:56:14 CEST 2015


On 09.06.2015 18:22, Paul Wouters wrote:
> On Tue, 9 Jun 2015, Yuri Schaeffer wrote:
>
> >> Is it really not possible to set negative cache maximum TTL?
> >
> > I've done some digging in the code and believe cache-max-ttl is
> > applicable to negative answers as well.
>
> But that's not very useful.
>
> The use case here is for instance when you're hotspotted and you will
> get a bunch of false answers or DNS queries fail. You really want to
> forget these practically instantly. But we don't want the real cache's
> TTLs reduced to instantly, as that would uhm, remove the entire cache.
>
> We can call it a bug instead of a feature if that makes Wouter happier :)
>
> Paul
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
Yesterday I noticed that the maximum negative cache ttl is already in the upstream repo,
added on 29.5... So problem solved. ;)

Regards,
-- 
Tomas Hozza
Software Engineer - EMEA ENG Developer Experience

PGP: 1D9F3C2D
Red Hat Inc. http://cz.redhat.com