mirror of
https://github.com/coredns/coredns.git
synced 2025-10-13 08:22:03 +02:00
* global: move to context Move from golang.org/x/net/context to std lib's context. Change done with: for i in $(grep -l '/context' **/*.go); do sed -e 's|golang.org/x/net/context|context|' -i $i; echo $i; done for i in **/*.go; do goimports -w $i; done * drop from dns.pb.go as well
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.
. {
whoami
errors
}