* Doc updates

Make the name section fit on one line.

Signed-off-by: Miek Gieben <miek@miek.nl>

* Regen docs

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2018-07-06 11:27:40 +01:00
committed by GitHub
parent 195fe5d1a4
commit bcc749db04
10 changed files with 64 additions and 29 deletions

View File

@@ -2,14 +2,16 @@
## Name
*loadbalance* - acts as a round-robin DNS loadbalancer by randomizing the order of A and AAAA records
in the answer.
*loadbalance* - randomize the order of A and AAAA records.
## Description
The *loadbalance* will act as a round-robin DNS loadbalancer by randomizing the order of A and AAAA
records in the answer.
See [Wikipedia](https://en.wikipedia.org/wiki/Round-robin_DNS) about the pros and cons on this
setup. It will take care to sort any CNAMEs before any address records, because some stub resolver
implementations (like glibc) are particular about that.
See [Wikipedia](https://en.wikipedia.org/wiki/Round-robin_DNS) about the pros and cons on this
setup. It will take care to sort any CNAMEs before any address records, because some stub resolver
implementations (like glibc) are particular about that.
## Syntax
@@ -17,7 +19,7 @@
loadbalance [POLICY]
~~~
* **POLICY** is how to balance, the default is "round_robin"
* **POLICY** is how to balance, the default, and only option, is "round_robin".
## Examples
@@ -26,6 +28,6 @@ Load balance replies coming back from Google Public DNS:
~~~ corefile
. {
loadbalance round_robin
proxy . 8.8.8.8 8.8.4.4
forward . 8.8.8.8 8.8.4.4
}
~~~