From b1ca7c90d3ef0e72d3535b7cf195adfe83d34e5a Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Thu, 22 Aug 2019 15:30:01 +0300 Subject: [PATCH] - config: global "blocked_services" settings were reset on startup --- dnsforward/dnsforward.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsforward/dnsforward.go b/dnsforward/dnsforward.go index b8a8afd1..50da1bf9 100644 --- a/dnsforward/dnsforward.go +++ b/dnsforward/dnsforward.go @@ -98,7 +98,7 @@ type FilteringConfig struct { // Names of services to block (globally). // Per-client settings can override this configuration. - BlockedServices []string `json:"blocked_services"` + BlockedServices []string `yaml:"blocked_services"` dnsfilter.Config `yaml:",inline"` }