diff --git a/plugin/timeouts/README.md b/plugin/timeouts/README.md index 098c9ccac..afc3e81da 100644 --- a/plugin/timeouts/README.md +++ b/plugin/timeouts/README.md @@ -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 }