68ba5b72e3
CoreDNS is a DNS server/forwarder, written in Go, that chains plugins. Each plugin performs a (DNS) function. <...> input/ok sthen@
34 lines
480 B
Plaintext
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
|
|
#}
|