timeouts plugin documentation include DNS over QUIC (DoQ) (#7166)

Signed-off-by: Rich <git0@bitservices.io>
This commit is contained in:
Rich 2025-03-24 14:37:28 +00:00 committed by GitHub
parent 3dc739c24b
commit f400f870bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
## Name ## Name
*timeouts* - allows you to configure the server read, write and idle timeouts for the TCP, TLS and DoH servers. *timeouts* - allows you to configure the server read, write and idle timeouts for the TCP, TLS, DoH and DoQ (idle only) servers.
## Description ## Description
@ -63,8 +63,21 @@ https://. {
} }
~~~ ~~~
Start a DNS-over-QUIC server that has the idle timeout set to two minutes.
~~~
quic://.:853 {
tls cert.pem key.pem ca.pem
timeouts {
idle 2m
}
forward . /etc/resolv.conf
}
~~~
Start a standard TCP/UDP server on port 1053. A read and write timeout has been Start a standard TCP/UDP server on port 1053. A read and write timeout has been
configured. The timeouts are only applied to the TCP side of the server. configured. The timeouts are only applied to the TCP side of the server.
~~~ ~~~
.:1053 { .:1053 {
timeouts { timeouts {