mirror of
https://github.com/coredns/coredns.git
synced 2025-11-17 01:12:16 -05:00
ServiceBackend interface (#369)
* Add ServiceBackend interface This adds a ServiceBackend interface that is shared between etcd/etcd3 (later) and kubernetes, leading to a massive reduction in code. When returning the specific records from their backend. Fixes #273
This commit is contained in:
@@ -9,8 +9,8 @@ This is useful for retrieving version or author information from the server.
|
||||
chaos [VERSION] [AUTHORS...]
|
||||
~~~
|
||||
|
||||
* **VERSION** the version to return. Defaults to CoreDNS-<version>, if not set.
|
||||
* **AUTHORS** what authors to return. No default.
|
||||
* **VERSION** is the version to return. Defaults to `CoreDNS-<version>`, if not set.
|
||||
* **AUTHORS** is what authors to return. No default.
|
||||
|
||||
Note that you have to make sure that this middleware will get actual queries for the
|
||||
following zones: `version.bind`, `version.server`, `authors.bind`, `hostname.bind` and
|
||||
|
||||
Reference in New Issue
Block a user