mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
@@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
## Name
|
## Name
|
||||||
|
|
||||||
*loadbalance* - randomize the order of A, AAAA and MX records.
|
*loadbalance* - randomizes the order of A, AAAA and MX records.
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
The *loadbalance* will act as a round-robin DNS loadbalancer by randomizing the order of A, AAAA,
|
The *loadbalance* will act as a round-robin DNS load balancer by randomizing the order of A, AAAA,
|
||||||
and MX records in the answer.
|
and MX records in the answer.
|
||||||
|
|
||||||
See [Wikipedia](https://en.wikipedia.org/wiki/Round-robin_DNS) about the pros and cons on this
|
See [Wikipedia](https://en.wikipedia.org/wiki/Round-robin_DNS) about the pros and cons of this
|
||||||
setup. It will take care to sort any CNAMEs before any address records, because some stub resolver
|
setup. It will take care to sort any CNAMEs before any address records, because some stub resolver
|
||||||
implementations (like glibc) are particular about that.
|
implementations (like glibc) are particular about that.
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ implementations (like glibc) are particular about that.
|
|||||||
loadbalance [POLICY]
|
loadbalance [POLICY]
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
* **POLICY** is how to balance, the default, and only option, is "round_robin".
|
* **POLICY** is how to balance. The default, and only option, is "round_robin".
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user