mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Add all policies to forward plugin docs (#2751)
This commit is contained in:
committed by
Miek Gieben
parent
da1fa85505
commit
6f5b294d7e
@@ -83,6 +83,9 @@ forward FROM TO... {
|
||||
but they have to use the same `tls_servername`. E.g. mixing 9.9.9.9 (QuadDNS) with 1.1.1.1
|
||||
(Cloudflare) will not work.
|
||||
* `policy` specifies the policy to use for selecting upstream servers. The default is `random`.
|
||||
* `random` is a policy that implements random upstream selection.
|
||||
* `round_robin` is a policy that selects hosts based on round robin ordering.
|
||||
* `sequential` is a policy that selects hosts based on sequential ordering.
|
||||
* `health_check`, use a different **DURATION** for health checking, the default duration is 0.5s.
|
||||
|
||||
Also note the TLS config is "global" for the whole forwarding proxy if you need a different
|
||||
|
||||
Reference in New Issue
Block a user