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:
Miek Gieben
2016-03-26 09:53:40 +00:00
parent 8cf1c89743
commit b2c221c9cd
4 changed files with 216 additions and 11 deletions

View File

@@ -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