From: Remi Gacogne Date: Mon, 18 Dec 2023 09:22:30 +0000 (+0100) Subject: dnsdist: Set the DNS over HTTP/3 default port to 443 X-Git-Tag: auth-4.9.0-alpha1~37^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd661ab47d862c135525780b771712678661e85d;p=thirdparty%2Fpdns.git dnsdist: Set the DNS over HTTP/3 default port to 443 --- diff --git a/pdns/dnsdist-lua.cc b/pdns/dnsdist-lua.cc index 60e9638765..9f3dc08bdd 100644 --- a/pdns/dnsdist-lua.cc +++ b/pdns/dnsdist-lua.cc @@ -2606,7 +2606,7 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck) if (!loadTLSCertificateAndKeys("addDOH3Local", frontend->d_quicheParams.d_tlsConfig.d_certKeyPairs, certFiles, keyFiles)) { return; } - frontend->d_local = ComboAddress(addr, 853); + frontend->d_local = ComboAddress(addr, 443); bool reusePort = false; int tcpFastOpenQueueSize = 0; diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index a034cd54ff..11a39ff6aa 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -183,7 +183,7 @@ Listen Sockets Listen on the specified address and UDP port for incoming DNS over HTTP3 connections, presenting the specified X.509 certificate. :param str address: The IP Address with an optional port to listen on. - The default port is 853. + The default port is 443. :param str certFile(s): The path to a X.509 certificate file in PEM format, a list of paths to such files, or a TLSCertificate object. :param str keyFile(s): The path to the private key file corresponding to the certificate, or a list of paths to such files, whose order should match the certFile(s) ones. Ignored if ``certFile`` contains TLSCertificate objects. :param table options: A table with key: value pairs with listen options.