mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +00:00
[master] fixed bogus server regression
4288. [bug] Fixed a regression in resolver.c:possibly_mark() which caused known-bogus servers to be queried anyway. [RT #41321]
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -1,3 +1,7 @@
|
|||||||
|
4288. [bug] Fixed a regression in resolver.c:possibly_mark()
|
||||||
|
which caused known-bogus servers to be queried
|
||||||
|
anyway. [RT #41321]
|
||||||
|
|
||||||
4287. [bug] Silence an overly noisy log message when message
|
4287. [bug] Silence an overly noisy log message when message
|
||||||
parsing fails. [RT #41374]
|
parsing fails. [RT #41374]
|
||||||
|
|
||||||
|
@@ -759,6 +759,13 @@
|
|||||||
</section>
|
</section>
|
||||||
<section xml:id="relnotes_bugs"><info><title>Bug Fixes</title></info>
|
<section xml:id="relnotes_bugs"><info><title>Bug Fixes</title></info>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Authoritative servers that were marked as bogus (e.g. blackholed
|
||||||
|
in configuration or with invalid addresses) were being queried
|
||||||
|
anyway. [RT #41321]
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Some of the options for GeoIP ACLs, including "areacode",
|
Some of the options for GeoIP ACLs, including "areacode",
|
||||||
|
@@ -3477,9 +3477,6 @@ possibly_mark(fetchctx_t *fctx, dns_adbaddrinfo_t *addr) {
|
|||||||
bogus)
|
bogus)
|
||||||
aborted = ISC_TRUE;
|
aborted = ISC_TRUE;
|
||||||
|
|
||||||
if (!isc_log_wouldlog(dns_lctx, ISC_LOG_DEBUG(3)))
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (aborted) {
|
if (aborted) {
|
||||||
addr->flags |= FCTX_ADDRINFO_MARK;
|
addr->flags |= FCTX_ADDRINFO_MARK;
|
||||||
msg = "ignoring blackholed / bogus server: ";
|
msg = "ignoring blackholed / bogus server: ";
|
||||||
@@ -3503,9 +3500,11 @@ possibly_mark(fetchctx_t *fctx, dns_adbaddrinfo_t *addr) {
|
|||||||
} else
|
} else
|
||||||
return;
|
return;
|
||||||
|
|
||||||
isc_netaddr_fromsockaddr(&na, sa);
|
if (isc_log_wouldlog(dns_lctx, ISC_LOG_DEBUG(3))) {
|
||||||
isc_netaddr_format(&na, buf, sizeof(buf));
|
isc_netaddr_fromsockaddr(&na, sa);
|
||||||
FCTXTRACE2(msg, buf);
|
isc_netaddr_format(&na, buf, sizeof(buf));
|
||||||
|
FCTXTRACE2(msg, buf);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline dns_adbaddrinfo_t *
|
static inline dns_adbaddrinfo_t *
|
||||||
|
Reference in New Issue
Block a user