From e0286ee85d14222919f1fc130b78c086aca3b593 Mon Sep 17 00:00:00 2001 From: Eugene Bujak Date: Wed, 28 Nov 2018 20:19:09 +0300 Subject: [PATCH] Don't forget to give user filter to dns forwarding server --- coredns.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/coredns.go b/coredns.go index 348b4241..ce46a965 100644 --- a/coredns.go +++ b/coredns.go @@ -17,6 +17,11 @@ func isRunning() bool { func generateServerConfig() dnsforward.ServerConfig { filters := []dnsforward.Filter{} + userFilter := userFilter() + filters = append(filters, dnsforward.Filter{ + ID: userFilter.ID, + Rules: userFilter.Rules, + }) for _, filter := range config.Filters { filters = append(filters, dnsforward.Filter{ ID: filter.ID,