Files
coredns/middleware/loadbalance
Miek Gieben 4829b40efa Rename middleware/testing (#103)
Rename to test and name the toplevel tests dir to test for consitency.
2016-04-11 07:56:38 +01:00
..
2016-03-23 21:38:35 +00:00
2016-04-05 07:37:05 +01:00

loadbalance

loadbalance acts as a round-robin DNS loadbalancer by randomizing A and AAAA records in the message. See Wikipedia about the pros and cons on this setup.

It will take care to sort any CNAMEs before any address records.

Syntax

loadbalance [policy]
  • policy is how to balance, the default is "round_robin"

Examples

loadbalance round_robin