Skip logging for DNSSEC responses [BZ 14841]
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 24 Feb 2015 07:27:26 +0000 (12:57 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 24 Feb 2015 07:47:29 +0000 (13:17 +0530)
commit3e3002ffead0526d088c353f97475400367087da
tree2cca67f43ad5676fa3ecc1a19fe15b7880eba975
parent9813dd5835fa81c2e61c188fe08e28c9f3c60c07
Skip logging for DNSSEC responses [BZ 14841]

DNSSEC defines a number of response types that one me expect when the
DO bit is set.  We don't process any of them, but since we do allow
setting the DO bit, skip them without logging an error since it is
only a nuisance.

Tested on x86_64.

[BZ #14841]
* resolv/gethnamaddr.c (getanswer): Skip logging if
RES_USE_DNSSEC is set.
* resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
ChangeLog
NEWS
resolv/gethnamaddr.c
resolv/nss_dns/dns-host.c