Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Coredns
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
Coredns
Commits
428c99b7
Commit
428c99b7
authored
Aug 22, 2016
by
cricketliu
Committed by
GitHub
Aug 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
Grammatical fixes plus correction of the reverse-mapping zone for 10.0.0/24.
parent
2666ca72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
middleware/etcd/README.md
middleware/etcd/README.md
+10
-10
No files found.
middleware/etcd/README.md
View file @
428c99b7
# etcd
# etcd
`etcd`
enable
d
reading zone data from an etcd instance. The data in etcd has to be encoded as
`etcd`
enable
s
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
)
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.
like
[
SkyDNS
](
https//github.com/skynetservices/skydns
)
. It should also work just like SkyDNS.
...
@@ -31,16 +31,16 @@ etcd [zones...] {
...
@@ -31,16 +31,16 @@ etcd [zones...] {
}
}
~~~
~~~
*
`stubzones`
enable the stub zones feature. The stubzone is
*only*
done in the etcd tree located
*
`stubzones`
enable
s
the stub zones feature. The stubzone is
*only*
done in the etcd tree located
under the
*first*
zone specified.
under the
*first*
zone specified.
*
`path`
the path inside etcd
, d
efaults to "/skydns".
*
`path`
the path inside etcd
. D
efaults to "/skydns".
*
`endpoint`
the etcd endpoints
, default
to "http://localhost:2397".
*
`endpoint`
the etcd endpoints
. Defaults
to "http://localhost:2397".
*
`upstream`
upstream resolvers to be used resolve external names found in etcd
, think CNAMEs
*
`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
pointing to external names. If you want CoreDNS to act as a proxy for clients
,
you'll need to add
the proxy middleware.
the proxy middleware.
*
`tls`
followed the cert, key and the CA's cert filenames.
*
`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
*
`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
## Examples
...
@@ -65,11 +65,11 @@ This is the default SkyDNS setup, with everying specified in full:
...
@@ -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
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
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
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:
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
stubzones
...
...
~~~
~~~
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment