From c973b5a484b6f755adfa0b0c770439499b0334d5 Mon Sep 17 00:00:00 2001 From: Vigilans Date: Mon, 31 Aug 2020 12:40:27 +0800 Subject: [PATCH] Fix github.com/v2fly/v2ray-core/issues/146 --- app/dns/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/dns/server.go b/app/dns/server.go index 2c9f11a52..4d1eb16ca 100644 --- a/app/dns/server.go +++ b/app/dns/server.go @@ -229,6 +229,7 @@ func New(ctx context.Context, config *Config) (*Server, error) { if len(server.clients) == 0 { server.clients = append(server.clients, NewLocalNameServer()) + server.ipIndexMap = append(server.ipIndexMap, nil) } return server, nil