mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
@@ -1,6 +1,6 @@
|
||||
# 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).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 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.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 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
|
||||
. {
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# 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
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 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:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 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
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 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".
|
||||
|
||||
Reference in New Issue
Block a user