Re: [Pdns-users] pdns-recursor: expected log entries on sendto ENOBUFS error + qname minimization

2019-01-20 Thread nusenu
Thanks for you fast reply. 

bert hubert wrote:
> Is what PowerDNS Recursor would log under similar circumstances. This
> requires you to change the log-common-errors setting from the default.


I briefly enabled 'log-common-errors' 
but after realizing that it logs qnames
I had to disable it again since I have to avoid logging qnames.
I assume there is no way to log ENOBUFS events without logging qnames then
via a config change only.

thanks,
nusenu

-- 
https://twitter.com/nusenu_
https://mastodon.social/@nusenu



signature.asc
Description: OpenPGP digital signature
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] pdns-recursor: expected log entries on sendto ENOBUFS error + qname minimization

2019-01-20 Thread bert hubert
On Sun, Jan 20, 2019 at 02:35:00PM +, nusenu wrote:
> Hi,

Hello "Nusenu".

> I've been pondering with 
> "sendto failed: No buffer space available"
> errors using unbound [0].
> 
> To see how pdns-recursor behaves on the same box
> I switched from unbound to pdns-recursor
> and don't get any similar log warnings.

"  if(sendmsg(dc->d_socket, , 0) < 0 && g_logCommonErrors) 
g_log support to recursor. Is my understanding correct that this
> feature is not a priority and will unlikely be added anytime soon 
> (next 6 months)?

We're working on it.  As it stands, qname minimization requires workarounds
to make it viable.  (Re-)standardization is also still going ont.  But it
will happen eventually.

Bert


> ___
> Pdns-users mailing list
> Pdns-users@mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] pdns-recursor: expected log entries on sendto ENOBUFS error + qname minimization

2019-01-20 Thread nusenu
Hi,

I've been pondering with 
"sendto failed: No buffer space available"
errors using unbound [0].

To see how pdns-recursor behaves on the same box
I switched from unbound to pdns-recursor
and don't get any similar log warnings.

Now my questions are:

What log entries (if any) would pdns-recursor produce
on ENOBUFS sendto [1] errors when run in loglevel 6? [2]

If no log entries are expected on that loglevel, starting
at which loglevel would pdns-recursor start logging such events?

Is there a description of what a given loglevel entails?
(I must not log any queries)


and an unrelated question:

I've found an old GH issue about adding QNAME minimization
support to recursor. Is my understanding correct that this
feature is not a priority and will unlikely be added anytime soon 
(next 6 months)?


thanks!
nusenu


[0] https://nlnetlabs.nl/pipermail/unbound-users/2019-January/011257.html
[1] 
https://www.freebsd.org/cgi/man.cgi?query=sendto=0=0=FreeBSD+12.0-RELEASE+and+Ports=default=html
[2] https://doc.powerdns.com/recursor/settings.html#loglevel
[3] https://metrics.torproject.org/networksize.html






signature.asc
Description: OpenPGP digital signature
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users