Added CoreDNS plugin setup and replaced forward
This commit is contained in:
@@ -253,7 +253,7 @@ const coreDNSConfigTemplate = `.:{{.Port}} {
|
||||
hosts {
|
||||
fallthrough
|
||||
}
|
||||
{{if .UpstreamDNS}}forward . {{range .UpstreamDNS}}{{.}} {{end}}{{end}}
|
||||
{{if .UpstreamDNS}}upstream {{range .UpstreamDNS}}{{.}} {{end}} { bootstrap 8.8.8.8:53 }{{end}}
|
||||
{{.Cache}}
|
||||
{{.Prometheus}}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user