coredns/plugin/errors/README.md
Miek Gieben f697b33283
return an error for multiple use of some plugins (#1559)
* plugins: Return error for multiple use of some

Return plugin.ErrOnce when a plugin that doesn't support it, is called
mutliple times.

This now adds it for: cache, dnssec, errors, forward, hosts, nsid.
And changes it slightly in kubernetes, pprof, reload, root.

* more tests
2018-02-28 18:16:05 -08:00

28 lines
370 B
Markdown

# errors
## Name
*errors* - enable error logging.
## Description
Any errors encountered during the query processing will be printed to standard output.
This plugin can only be used once per Server Block.
## Syntax
~~~
errors
~~~
## Examples
Use the *whoami* to respond to queries and Log errors to standard output.
~~~ corefile
. {
whoami
errors
}
~~~