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

2016-12-01 Thread Tim Smith via Unbound-users
Fab ! Thanks ! On 1 December 2016 at 16:18, Ralph Dolmans via Unbound-users 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

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

2016-12-01 Thread Ralph Dolmans via Unbound-users
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

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

2016-12-01 Thread Over Dexia via Unbound-users
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

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

2016-11-30 Thread 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 ? On 30 November 2016 at 15:59, Over Dexia via Unbound-users

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

2016-11-30 Thread Over Dexia via Unbound-users
Am 30.11.2016 um 15:25 schrieb Tim Smith via Unbound-users: > Hi Ralph, > > Hmm... bad news ...have just looked into it and OpenBSD default config is : > remote-control: > control-enable: yes > control-use-cert: no > control-interface: /var/run/unbound.sock > > > So

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

2016-11-30 Thread Tim Smith via Unbound-users
Hi Ralph, Hmm... bad news ...have just looked into it and OpenBSD default config is : remote-control: control-enable: yes control-use-cert: no control-interface: /var/run/unbound.sock So guess I'll have to live with it until the next version. Thanks again. On 30

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

2016-11-30 Thread Tim Smith via Unbound-users
Hi Ralph, Thanks for your reply. Interesting idea to try a local socket, will look into that some more. Good to hear you added bulk add/remove ... that was on my wish list ! On 30 November 2016 at 13:36, Ralph Dolmans via Unbound-users On 30 November 2016 at 13:36, Ralph Dolmans via

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

2016-11-30 Thread Ralph Dolmans via Unbound-users
Hi, Unbound-control sets up a TLS connection for every command. Setting up 30k TLS connections one after another does take some time. If your unbound daemon and unbound-control are on the same machine you could try to communicate over a secured local socket and disable control-use-cert. This