mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-03-14 22:48:35 +03:00
Add support for serving /etc/hosts
This commit is contained in:
parent
9c1dc6d373
commit
c1e16cc584
1 changed files with 3 additions and 0 deletions
|
@ -165,6 +165,9 @@ const coreDNSConfigTemplate = `. {
|
|||
{{if .QueryLogEnabled}}querylog{{end}}
|
||||
}{{end}}
|
||||
{{.Pprof}}
|
||||
hosts {
|
||||
fallthrough
|
||||
}
|
||||
{{if .UpstreamDNS}}forward . {{range .UpstreamDNS}}{{.}} {{end}}{{end}}
|
||||
{{.Cache}}
|
||||
{{.Prometheus}}
|
||||
|
|
Loading…
Add table
Reference in a new issue