web backend -- generate corefile with blocked_ttl config parameter

Closes #346.
This commit is contained in:
Eugene Bujak 2018-09-26 18:29:05 +03:00
parent c7790a8d9f
commit f1ae5d78d2
1 changed files with 1 additions and 0 deletions

View File

@ -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 {