more etcd stuff

This commit is contained in:
Miek Gieben
2016-03-20 21:36:55 +00:00
parent 0c94de4f71
commit b6341e8b63
9 changed files with 609 additions and 206 deletions

View File

@@ -2,7 +2,10 @@
`etcd` enabled reading zone data from an etcd instance. The data in etcd has to be encoded as
a [message](https://github.com/skynetservices/skydns/blob/2fcff74cdc9f9a7dd64189a447ef27ac354b725f/msg/service.go#L26)
like SkyDNS.
like [SkyDNS](https//github.com/skynetservices/skydns).
If you need replies to SOA and NS queries you should add a little zone after etcd directive that has
these resource records.
## Syntax
@@ -14,16 +17,16 @@ etcd [endpoint...]
The will default to `/skydns` as the path and the local etcd proxy (http://127.0.0.1:2379).
If you want to `round robin` A and AAAA responses look at the `round_robin` middleware.
~~~
etcd {
round_robin
path /skydns
endpoint address...
stubzones
}
~~~
* `round_robin`
* `path` /skydns
* `endpoint` address...
* `stubzones`