2018-12-10 10:44:47 +00:00
|
|
|
#
|
|
|
|
|
# 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
|
2018-12-10 13:02:31 +00:00
|
|
|
# forward . tls://1.1.1.1:853 tls://1.0.0.1:853
|
2018-12-10 10:44:47 +00:00
|
|
|
|
|
|
|
|
# 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
|
2018-12-10 13:02:31 +00:00
|
|
|
forward . /etc/resolv.conf
|
2018-12-10 10:44:47 +00:00
|
|
|
|
|
|
|
|
# Errors related to query processing are printed to STDOUT
|
|
|
|
|
errors
|
|
|
|
|
|
|
|
|
|
# Log all DNS queries
|
|
|
|
|
#log
|
|
|
|
|
|
|
|
|
|
# Extra debug information
|
2018-12-10 13:02:31 +00:00
|
|
|
# debug
|
2018-12-10 10:44:47 +00:00
|
|
|
|
|
|
|
|
# Resolve hostsnames specified in /etc/hosts
|
|
|
|
|
hosts {
|
|
|
|
|
fallthrough
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# Import Zone configurations from other files
|
|
|
|
|
# import AdditonalZones.conf
|