]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Set the DNS over HTTP/3 default port to 443
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 18 Dec 2023 09:22:30 +0000 (10:22 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 18 Dec 2023 09:22:30 +0000 (10:22 +0100)
pdns/dnsdist-lua.cc
pdns/dnsdistdist/docs/reference/config.rst

index 60e96387656273703ecadc8c33a9124e39247ed1..9f3dc08bdd65d486971d0e79bc2f5fd22175edfc 100644 (file)
@@ -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;
index a034cd54ff6e131f7746648a49a7d40f938b9147..11a39ff6aaea47ee31d8cadbb178fe1653820f5e 100644 (file)
@@ -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.