From: Artem Boldariev Date: Thu, 26 Aug 2021 13:36:36 +0000 (+0300) Subject: Make dig advertise the "dot" ALPN token for DoT connections X-Git-Tag: v9.17.19~11^2~7 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=382098198ea974cc8bcd87b3d691e76018e02dbd;p=thirdparty%2Fbind9.git Make dig advertise the "dot" ALPN token for DoT connections This commit makes dig advertise the "dot" ALPN token to make it possible for ALPN to happen. --- diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index ead78f5bcb9..c40a1992f77 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -2783,6 +2783,7 @@ start_tcp(dig_query_t *query) { if (query->lookup->tls_mode) { result = isc_tlsctx_createclient(&query->tlsctx); RUNTIME_CHECK(result == ISC_R_SUCCESS); + isc_tlsctx_enable_dot_client_alpn(query->tlsctx); isc_nm_tlsdnsconnect(netmgr, &localaddr, &query->sockaddr, tcp_connected, query, local_timeout, 0,