coredns/middleware/loadbalance/loadbalance.md
Miek Gieben b167411bba Add roundrobin middleware
This middleware allows you to round robin a/aaaa records in a reply and
maybe more in the future (i.e.) sort a packet?
2016-03-23 21:38:35 +00:00

365 B

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.

Syntax

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

Examples

loadbalance round_robin