mirror of
https://github.com/coredns/coredns.io.git
synced 2024-04-21 12:32:00 +00:00
32 lines
494 B
Markdown
32 lines
494 B
Markdown
+++
|
|
title = "errors"
|
|
description = "*errors* enable error logging."
|
|
weight = 10
|
|
tags = [ "plugin", "errors" ]
|
|
categories = [ "plugin" ]
|
|
date = "2018-03-13T14:42:31.862907"
|
|
+++
|
|
|
|
## 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
|
|
}
|
|
~~~
|