openbsd-ports/net/coredns/files/Corefile
ajacoutot 68ba5b72e3 Import coredns-1.6.9.
CoreDNS is a DNS server/forwarder, written in Go, that chains plugins.
Each plugin performs a (DNS) function.
<...>

input/ok sthen@
2020-05-16 12:42:14 +00:00

34 lines
480 B
Plaintext

(base) {
errors
#log
# enable metrics: http://localhost:9153/metrics
prometheus
# disable IPv6
#template ANY AAAA . {
# rcode NXDOMAIN
#}
}
(cache) {
cache {
# success 1024
# denial 0
# prefetch 128 30s 10%
}
}
.:53 {
import base
import cache
forward . 8.8.8.8 1.1.1.1
health 127.0.0.1:8080
#import /etc/coredns/conf.d/*.conf
}
#consul:53 {
# import base
# forward . 127.0.0.1:8600
#}