Commit c1f67493 authored by Miek Gieben's avatar Miek Gieben Committed by GitHub

docs: less CoreDNS in docs (#1154)

Various other changes.
parent 11203e44
# autopath
*autopath* allows CoreDNS to perform server side search path completion.
*autopath* allows for server side search path completion.
If it sees a query that matches the first element of the configured search path, *autopath* will
follow the chain of search path elements and returns the first reply that is not NXDOMAIN. On any
......@@ -44,8 +44,3 @@ autopath @kubernetes
~~~
Use the search path dynamically retrieved from the kubernetes plugin.
## Bugs
Replies from this plugin are not cached, as the *cache* plugin is configured after this one (see
plugin.cfg).
# chaos
*chaos* allows CoreDNS to respond to TXT queries in the CH class.
*chaos* allows for responding to TXT queries in the CH class.
This is useful for retrieving version or author information from the server.
......
# debug
*debug* disables the automatic recovery upon a CoreDNS crash so that you'll get a nice stack trace.
*debug* disables the automatic recovery upon a crash so that you'll get a nice stack trace.
Note that the *errors* plugin (if loaded) will also set a `recover` negating this setting. The main
use of *debug* is to help testing.
......@@ -13,7 +13,7 @@ debug
## Examples
Disable CoreDNS' ability to recover from crashes:
Disable the ability to recover from crashes:
~~~ corefile
. {
......
# health
*health* enables a simple health check endpoint. By default, it listens on port 8080.
*health* enables a simple health check endpoint.
By default, it listens on port 8080.
## Syntax
......
# prometheus
*prometheus* enables [Prometheus](https://prometheus.io/) metrics for CoreDNS.
*prometheus* enables [Prometheus](https://prometheus.io/) metrics.
The default location for the metrics is `localhost:9153`. The metrics path is fixed to `/metrics`.
The following metrics are exported:
......
# reverse
*reverse* allows CoreDNS to respond dynamically to a PTR request and the related A/AAAA request.
*reverse* allows for dynamic responses to PTR and the related A/AAAA requests.
## Syntax
......
# root
*root* simply specifies the root of where CoreDNS finds (e.g.) zone files.
*root* simply specifies the root of where to find (zone) files.
The default root is the current working directory of CoreDNS. A relative root path is relative to
the current working directory.
......
......@@ -3,7 +3,7 @@
*whoami* returns your resolver's local IP address, port and transport. Your IP address is returned
in the additional section as either an A or AAAA record.
When CoreDNS can find a Corefile to load, this is the default plugin it loads.
When CoreDNS can not find a Corefile to load, this is the default plugin it loads.
The reply always has an empty answer section. The port and transport are included in the additional
section as a SRV record, transport can be "tcp" or "udp".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment