mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-15 23:12:53 -04:00
Don't forward UPDATE messages over disabled address families
This commit is contained in:
parent
5d99625515
commit
d026dbe536
1 changed files with 7 additions and 0 deletions
|
|
@ -18359,12 +18359,19 @@ sendtoprimary(dns_forward_t *forward) {
|
|||
return (ISC_R_CANCELED);
|
||||
}
|
||||
|
||||
next:
|
||||
if (forward->which >= dns_remote_count(&forward->zone->primaries)) {
|
||||
UNLOCK_ZONE(zone);
|
||||
return (ISC_R_NOMORE);
|
||||
}
|
||||
|
||||
forward->addr = dns_remote_addr(&zone->primaries, forward->which);
|
||||
|
||||
if (isc_sockaddr_disabled(&forward->addr)) {
|
||||
forward->which++;
|
||||
goto next;
|
||||
}
|
||||
|
||||
/*
|
||||
* Always use TCP regardless of whether the original update
|
||||
* used TCP.
|
||||
|
|
|
|||
Loading…
Reference in a new issue