web backend -- generate corefile with blocked_ttl config parameter
Closes #346.
This commit is contained in:
parent
c7790a8d9f
commit
f1ae5d78d2
|
@ -167,6 +167,7 @@ const coreDNSConfigTemplate = `. {
|
||||||
{{if .ParentalEnabled}}parental {{.ParentalSensitivity}}{{end}}
|
{{if .ParentalEnabled}}parental {{.ParentalSensitivity}}{{end}}
|
||||||
{{if .SafeSearchEnabled}}safesearch{{end}}
|
{{if .SafeSearchEnabled}}safesearch{{end}}
|
||||||
{{if .QueryLogEnabled}}querylog{{end}}
|
{{if .QueryLogEnabled}}querylog{{end}}
|
||||||
|
blocked_ttl {{.BlockedResponseTTL}}
|
||||||
}
|
}
|
||||||
{{.Pprof}}
|
{{.Pprof}}
|
||||||
hosts {
|
hosts {
|
||||||
|
|
Loading…
Reference in New Issue