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.
This commit is contained in:
@@ -1057,9 +1057,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) {
|
||||
|
||||
Reference in New Issue
Block a user