mirror of
https://github.com/coredns/coredns.git
synced 2025-12-08 03:15:41 -05:00
more etcd stuff
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user