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
*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
@ -63,13 +63,26 @@ https://. {
}
~~~
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.
Start a DNS-over-QUIC server that has the idle timeout set to two minutes.
~~~
.:1053 {
quic://.:853 {
tls cert.pem key.pem ca.pem
timeouts {
read 15s
write 30s
idle 2m
}
forward . /etc/resolv.conf
}
~~~
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.
~~~
.:1053 {
timeouts {
read 15s
write 30s
}
forward . /etc/resolv.conf
}