mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 20:25:55 -04:00
Mark a primary as unreachable on timed out in xfin
When a primary server is not responding, mark it as temporarialy
unreachable. This will prevent too many zones queuing up on a
unreachable server and allow the refresh process to move onto
the next primary sooner once it has been so marked.
(cherry picked from commit 621c117101)
This commit is contained in:
parent
4e12fb257e
commit
c36d41d39c
1 changed files with 4 additions and 2 deletions
|
|
@ -1336,9 +1336,11 @@ failure:
|
|||
case ISC_R_NETUNREACH:
|
||||
case ISC_R_HOSTUNREACH:
|
||||
case ISC_R_CONNREFUSED:
|
||||
case ISC_R_TIMEDOUT:
|
||||
/*
|
||||
* Add the server to unreachable primaries table only if
|
||||
* the server has a permanent networking error.
|
||||
* Add the server to unreachable primaries table if
|
||||
* the server has a permanent networking error or
|
||||
* the connection attempt as timed out.
|
||||
*/
|
||||
zmgr = dns_zone_getmgr(xfr->zone);
|
||||
if (zmgr != NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue