]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix alt-svc typo in the documentation example 13648/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 18 Dec 2023 11:36:48 +0000 (12:36 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 18 Dec 2023 11:37:05 +0000 (12:37 +0100)
pdns/dnsdistdist/docs/guides/dns-over-http3.rst
pdns/dnsdistdist/docs/guides/dns-over-https.rst

index e113eabf17e2732f51991f57512977a0e6a55e96..188a1d7a2d97850192c9d9cf8628480491e58f8f 100644 (file)
@@ -30,6 +30,6 @@ Advertising DNS over HTTP/3 support
 
 If DNS over HTTP/2 is also enabled in the configuration via :func:`addDOHLocal` (see :doc:`dns-over-https` for more information), it might be useful to advertise DNS over HTTP/3 support via the ``Alt-Svc`` header::
 
-  addDOHLocal('2001:db8:1:f00::1', '/etc/ssl/certs/example.com.pem', '/etc/ssl/private/example.com.key', "/dns", {customResponseHeaders={["alt-svc"]="h3\":443\""}})
+  addDOHLocal('2001:db8:1:f00::1', '/etc/ssl/certs/example.com.pem', '/etc/ssl/private/example.com.key', "/dns", {customResponseHeaders={["alt-svc"]="h3=\":443\""}})
 
 This will advertise that HTTP/3 is available on the same IP, port UDP/443.
index 19d38b838235670878d6c6ed02e8019f6dbf282c..9d3ecdf40173437942d4d7f9c97e3f2266d4f4fd 100644 (file)
@@ -43,7 +43,7 @@ Advertising DNS over HTTP/3 support
 
 If DNS over HTTP/3 is also enabled in the configuration via :func:`addDOH3Local` (see :doc:`dns-over-http3` for more information), it might be useful to advertise this support via the ``Alt-Svc`` header::
 
-  addDOHLocal('2001:db8:1:f00::1', '/etc/ssl/certs/example.com.pem', '/etc/ssl/private/example.com.key', "/dns", {customResponseHeaders={["alt-svc"]="h3\":443\""}})
+  addDOHLocal('2001:db8:1:f00::1', '/etc/ssl/certs/example.com.pem', '/etc/ssl/private/example.com.key', "/dns", {customResponseHeaders={["alt-svc"]="h3=\":443\""}})
 
 This will advertise that HTTP/3 is available on the same IP, port UDP/443.