[PATCH] Silence resolver logging for DNAME records when DNSSEC is enabled

Carlos O'Donell carlos@redhat.com
Fri Feb 20 18:33:00 GMT 2015


On 02/20/2015 05:13 AM, Siddhesh Poyarekar wrote:
> Thanks for the context.  I wasn't sure about removing the logging
> altogether, but if it is going to be such a pain for DNSSEC, we might
> as well silence it.  How is this then?
> 
> Siddhesh
> 
> 	[BZ #14841]
> 	* resolv/gethnamaddr.c (getanswer): Skip logging if
> 	RES_USE_DNSSEC is set.
> 	* resolv/nss_dns/dns-host.c (getanswer_r): Likewise.

Looks good to me, and simplifies the code.

I guess given the churn we're going to have to wait a while before
this standardizes to be able to provide useful logging.

Cheers,
Carlos.




More information about the Libc-alpha mailing list