From 1abd9da27d7ced46a92e2b0cb85224a1d7d9025b Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Tue, 28 May 2019 19:48:16 +0300 Subject: [PATCH] - dns: fix crash (rDNS) --- dns.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dns.go b/dns.go index 4eebc110..0b0fa920 100644 --- a/dns.go +++ b/dns.go @@ -58,6 +58,7 @@ func initDNSServer(baseDir string) { log.Error("upstream.AddressToUpstream: %s", err) return } + dnsctx.rdnsIP = make(map[string]bool) dnsctx.rdnsChannel = make(chan string, 256) go asyncRDNSLoop() }