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() }