mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
[master] Fix master address failover when GSS-API is used
4680. [bug] Fix failing over to another master server address when nsupdate is used with GSS-API. [RT #45380]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
4680. [bug] Fix failing over to another master server address when
|
||||||
|
nsupdate is used with GSS-API. [RT #45380]
|
||||||
|
|
||||||
4679. [cleanup] Suggest using -o when dnssec-verify finds a SOA record
|
4679. [cleanup] Suggest using -o when dnssec-verify finds a SOA record
|
||||||
not at top of zone and -o is not used. [RT #45519]
|
not at top of zone and -o is not used. [RT #45519]
|
||||||
|
|
||||||
|
@@ -2950,11 +2950,17 @@ recvgss(isc_task_t *task, isc_event_t *event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (eresult != ISC_R_SUCCESS) {
|
if (eresult != ISC_R_SUCCESS) {
|
||||||
next_master("recvgss", addr, eresult);
|
|
||||||
ddebug("Destroying request [%p]", request);
|
ddebug("Destroying request [%p]", request);
|
||||||
dns_request_destroy(&request);
|
dns_request_destroy(&request);
|
||||||
dns_message_renderreset(tsigquery);
|
if (!next_master("recvgss", addr, eresult)) {
|
||||||
sendrequest(&master_servers[master_inuse], tsigquery, &request);
|
dns_message_destroy(&tsigquery);
|
||||||
|
failed_gssrequest();
|
||||||
|
} else {
|
||||||
|
dns_message_renderreset(tsigquery);
|
||||||
|
memmove(kserver, &master_servers[master_inuse],
|
||||||
|
sizeof(isc_sockaddr_t));
|
||||||
|
send_gssrequest(kserver, tsigquery, &request, context);
|
||||||
|
}
|
||||||
isc_mem_put(gmctx, reqinfo, sizeof(nsu_gssinfo_t));
|
isc_mem_put(gmctx, reqinfo, sizeof(nsu_gssinfo_t));
|
||||||
isc_event_free(&event);
|
isc_event_free(&event);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user