]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add DoT support to bind
authorWitold Kręcicki <wpk@isc.org>
Thu, 1 Oct 2020 11:18:47 +0000 (13:18 +0200)
committerOndřej Surý <ondrej@sury.org>
Wed, 9 Dec 2020 09:46:16 +0000 (10:46 +0100)
Parse the configuration of tls objects into SSL_CTX* objects.  Listen on
DoT if 'tls' option is setup in listen-on directive.  Use DoT/DoH ports
for DoT/DoH.

(cherry picked from commit 38b78f59a08b11dc7c551dfe279df58203f2e2da)

lib/isc/netmgr/tcpdns.c

index 8004124a850a0edfbc1ec3056b73c126a1d9a475..422e26d2b5bfb53513e77cd31ebc83721f5a3ae9 100644 (file)
@@ -471,6 +471,7 @@ isc__nm_async_tcpdnsstop(isc__networker_t *worker, isc__netievent_t *ev0) {
                        break;
                default:
                        INSIST(0);
+                       ISC_UNREACHABLE();
                }
                isc__nmsocket_detach(&sock->outer);
        }