mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 18:53:43 -04:00
* Make CoreDNS a server type plugin for Caddy Remove code we don't need and port all middleware over. Fix all tests and rework the documentation. Also make `go generate` build a caddy binary which we then copy into our directory. This means `go build`-builds remain working as-is. And new etc instances in each etcd test for better isolation. Fix more tests and rework test.Server with the newer support Caddy offers. Fix Makefile to support new mode of operation.
chaos
The chaos middleware allows CoreDNS to response to TXT queries in CH class.
Useful for retrieving version or author information from the server. If
Syntax
chaos [version] [authors...]
versionthe version to return, defaults to CoreDNS.authorswhat 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
id.server.
Examples
chaos CoreDNS-001 "Miek Gieben" miek@miek.nl