File Corefile of Package coredns-for-k8s1.18
#
# Example configuration file for coredns.
#
# All zones
. {
# Bind on a specific IP
bind 127.0.0.1
# Forward queries for all zones to a resolver using TLS
# forward . tls://1.1.1.1:853 tls://1.0.0.1:853
# Forward queries for all zones to a resolver using plain ol' DNS
#forward . dns://8.8.8.8:53
# Forward queries for all zones to /etc/resolv.conf
forward . /etc/resolv.conf
# Errors related to query processing are printed to STDOUT
errors
# Log all DNS queries
#log
# Extra debug information
# debug
# Resolve hostsnames specified in /etc/hosts
hosts {
fallthrough
}
}
# Import Zone configurations from other files
# import AdditonalZones.conf