From 82da886df5428335719f9e861cf59672f962e5e8 Mon Sep 17 00:00:00 2001 From: Andrey Meshkov Date: Mon, 26 Nov 2018 17:00:46 +0300 Subject: [PATCH] Add ratelimit and refuse_any to config file --- config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index 829cec37..3906d075 100644 --- a/config.go +++ b/config.go @@ -68,8 +68,8 @@ type coreDNSConfig struct { ParentalSensitivity int `yaml:"parental_sensitivity"` BlockedResponseTTL int `yaml:"blocked_response_ttl"` QueryLogEnabled bool `yaml:"querylog_enabled"` - Ratelimit int `yaml:"-"` - RefuseAny bool `yaml:"-"` + Ratelimit int `yaml:"ratelimit"` + RefuseAny bool `yaml:"refuse_any"` Pprof string `yaml:"-"` Cache string `yaml:"-"` Prometheus string `yaml:"-"`