diff options
author | 2016-08-22 14:10:25 -0700 | |
---|---|---|
committer | 2016-08-22 14:10:25 -0700 | |
commit | 428c99b7a083f9d9c92a21a24280dd213cd4dc50 (patch) | |
tree | c9d1fc1a06627c96410d2f61a8603cc2d80489b9 /middleware | |
parent | 2666ca7238eee56b69d87df52bfcf587ab585e02 (diff) | |
download | coredns-428c99b7a083f9d9c92a21a24280dd213cd4dc50.tar.gz coredns-428c99b7a083f9d9c92a21a24280dd213cd4dc50.tar.zst coredns-428c99b7a083f9d9c92a21a24280dd213cd4dc50.zip |
Update README.md
Grammatical fixes plus correction of the reverse-mapping zone for 10.0.0/24.
Diffstat (limited to 'middleware')
-rw-r--r-- | middleware/etcd/README.md | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/middleware/etcd/README.md b/middleware/etcd/README.md index c95855ef0..b3008b158 100644 --- a/middleware/etcd/README.md +++ b/middleware/etcd/README.md @@ -1,6 +1,6 @@ # etcd -`etcd` enabled reading zone data from an etcd instance. The data in etcd has to be encoded as +`etcd` enables 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](https//github.com/skynetservices/skydns). It should also work just like SkyDNS. @@ -31,16 +31,16 @@ etcd [zones...] { } ~~~ -* `stubzones` enable the stub zones feature. The stubzone is *only* done in the etcd tree located +* `stubzones` enables the stub zones feature. The stubzone is *only* done in the etcd tree located under the *first* zone specified. -* `path` the path inside etcd, defaults to "/skydns". -* `endpoint` the etcd endpoints, default to "http://localhost:2397". -* `upstream` upstream resolvers to be used resolve external names found in etcd, think CNAMEs - pointing to external names. If you want CoreDNS to act as a proxy for clients you'll need to add +* `path` the path inside etcd. Defaults to "/skydns". +* `endpoint` the etcd endpoints. Defaults to "http://localhost:2397". +* `upstream` upstream resolvers to be used resolve external names found in etcd (think CNAMEs) + pointing to external names. If you want CoreDNS to act as a proxy for clients, you'll need to add the proxy middleware. * `tls` followed the cert, key and the CA's cert filenames. * `debug` allow debug queries. Prefix the name with `o-o.debug.` to retrieve extra information in the - additional section of the reply in the form of text records. + additional section of the reply in the form of TXT records. ## Examples @@ -65,11 +65,11 @@ This is the default SkyDNS setup, with everying specified in full: Reverse zones are supported. You need to make CoreDNS aware of the fact that you are also authoritative for the reverse. For instance if you want to add the reverse for 10.0.0.0/24, you'll -need to add the zone `10.in-addr.arpa` to the list of zones (the fun starts with reverse IPv6 zones -in the ip6.arpa domain). Showing a snippet of a Corefile: +need to add the zone `0.0.10.in-addr.arpa` to the list of zones. (The fun starts with IPv6 reverse zones +in the ip6.arpa domain.) Showing a snippet of a Corefile: ~~~ - etcd skydns.local 10.in-addr.arpa { + etcd skydns.local 0.0.10.in-addr.arpa { stubzones ... ~~~ |