diff --git a/config.go b/config.go index f0923601..3be34373 100644 --- a/config.go +++ b/config.go @@ -165,6 +165,9 @@ const coreDNSConfigTemplate = `. { {{if .QueryLogEnabled}}querylog{{end}} }{{end}} {{.Pprof}} + hosts { + fallthrough + } {{if .UpstreamDNS}}forward . {{range .UpstreamDNS}}{{.}} {{end}}{{end}} {{.Cache}} {{.Prometheus}}