mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
plugin/forward: various cleanup (#1949)
Fix documentation and remove the unused From method. Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -63,8 +63,7 @@ forward FROM TO... {
|
||||
* `force_tcp`, use TCP even when the request comes in over UDP.
|
||||
* `prefer_udp`, try first using UDP even when the request comes in over TCP. If response is truncated
|
||||
(TC flag set in response) then do another attempt over TCP. In case if both `force_tcp` and
|
||||
`prefer_udp`.
|
||||
options specified the `force_tcp` takes precedence.
|
||||
`prefer_udp` options specified the `force_tcp` takes precedence.
|
||||
* `max_fails` is the number of subsequent failed health checks that are needed before considering
|
||||
an upstream to be down. If 0, the upstream will never be marked as down (nor health checked).
|
||||
Default is 2.
|
||||
|
||||
Reference in New Issue
Block a user