* 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
28 lines
370 B
Markdown
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
|
|
}
|
|
~~~
|