Implement chaos middleware

This allows for CH TXT queries that return some information about
the server and/or the authors (or whatever you put in there).
This commit is contained in:
Miek Gieben
2016-03-24 17:58:31 +00:00
parent 9712bade34
commit 5d70567f1c
7 changed files with 188 additions and 6 deletions

26
middleware/chaos/chaos.md Normal file
View File

@@ -0,0 +1,26 @@
# chaos
`chaos`
## Syntax
~~~
chaos [version] [authors...]
~~~
* `version` the version to return, defaults to CoreDNS.
* `authors` what authors to return. No default.
## Examples
~~~
etcd {
path /skydns
endpoint endpoint...
stubzones
}
~~~
* `path` /skydns
* `endpoint` endpoints...
* `stubzones`