mirror of
https://github.com/coredns/coredns.git
synced 2025-08-07 06:47:01 +02:00
timeouts plugin documentation include DNS over QUIC (DoQ) (#7166)
Signed-off-by: Rich <git0@bitservices.io>
This commit is contained in:
parent
3dc739c24b
commit
f400f870bf
@ -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,13 +63,26 @@ https://. {
|
|||||||
}
|
}
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Start a standard TCP/UDP server on port 1053. A read and write timeout has been
|
Start a DNS-over-QUIC server that has the idle timeout set to two minutes.
|
||||||
configured. The timeouts are only applied to the TCP side of the server.
|
|
||||||
~~~
|
~~~
|
||||||
.:1053 {
|
quic://.:853 {
|
||||||
|
tls cert.pem key.pem ca.pem
|
||||||
timeouts {
|
timeouts {
|
||||||
read 15s
|
idle 2m
|
||||||
write 30s
|
}
|
||||||
|
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
|
forward . /etc/resolv.conf
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user