Files
coredns/middleware/etcd/etcd.md

32 lines
579 B
Markdown
Raw Normal View History

2016-03-20 17:44:58 +00:00
# etcd
`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.
## Syntax
~~~
2016-03-20 18:17:07 +00:00
etcd [endpoint...]
2016-03-20 17:44:58 +00:00
~~~
2016-03-20 18:17:07 +00:00
* `endpoint` is the endpoint of etcd.
2016-03-20 17:44:58 +00:00
The will default to `/skydns` as the path and the local etcd proxy (http://127.0.0.1:2379).
~~~
etcd {
round_robin
path /skydns
2016-03-20 18:17:07 +00:00
endpoint address...
2016-03-20 17:44:58 +00:00
stubzones
}
~~~
2016-03-20 18:17:07 +00:00
* `round_robin`
* `path` /skydns
* `endpoint` address...
* `stubzones`
2016-03-20 17:44:58 +00:00
## Examples