mirror of
https://github.com/coredns/coredns.git
synced 2025-12-04 09:25:13 -05:00
Add test for CNAME ordering
Add a test for SkyDNS': https://github.com/skynetservices/skydns/issues/217 Put the CNAME in front for both answer and extra sections. Note that the etcd middleware seems to already to the correct thing though.
This commit is contained in:
@@ -4,13 +4,15 @@
|
||||
message. 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.
|
||||
|
||||
## Syntax
|
||||
|
||||
~~~
|
||||
loadbalance [policy]
|
||||
~~~
|
||||
|
||||
* policy is how to balance, the default is "round_robin"
|
||||
* `policy` is how to balance, the default is "round_robin"
|
||||
|
||||
## Examples
|
||||
|
||||
|
||||
Reference in New Issue
Block a user