Maintained by: NLnet Labs

Why are unbound-control local_zone_remove/local_zone/local_data so incredibly slow ?

Tim Smith
Thu Dec 1 18:34:13 CET 2016

Fab !  Thanks !

On 1 December 2016 at 16:18, Ralph Dolmans via Unbound-users
<unbound-users at> wrote:
> Local data is handled before the cache lookup. So the cache entries will
> be ignored as soon as there is matching local data.
> Regards,
> -- Ralph
> On 01-12-16 16:53, Over Dexia via Unbound-users wrote:
>> Am 30.11.2016 um 17:41 schrieb Tim Smith via Unbound-users:
>>> Interesting idea, nice bit of thinking outside the box !   But in
>>> relation to "should be alright after cache data times out" ,  does
>>> that mean that the idea might not work too well if I've got "prefetch:
>>> yes" in my config ?
>> In the situation where a cached resolution has been prefetched before
>> the dump, and that site is supposed to be blacklisted/nullrouted, you'd
>> add >=90% of the ttl (up to cache-max-ttl) to the time until it blacks
>> out for good ...
>> ... *unless* unbound either checks local data before the cache, or the
>> load_cache checks against local data and doesn't taint the cache with
>> the entries loaded, I'd assume. But essentially, that's beyond my
>> knowledge of the execution flow... j.