mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
BIND: use Stream DNS for DNS over TLS connections
This commit makes BIND use the new Stream DNS transport for DNS over TLS.
This commit is contained in:
@@ -11962,7 +11962,9 @@ ns_query_start(ns_client_t *client, isc_nmhandle_t *handle) {
|
||||
query_error(client, DNS_R_NOTIMP, __LINE__);
|
||||
return;
|
||||
}
|
||||
if (isc_nm_socket_type(handle) == isc_nm_tlsdnssocket &&
|
||||
if (isc_nm_socket_type(handle) ==
|
||||
isc_nm_streamdnssocket &&
|
||||
isc_nm_has_encryption(handle) &&
|
||||
!isc_nm_xfr_allowed(handle))
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user