From 8676cabc42ab95d42a969702965c72b89ee54f27 Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Thu, 10 Oct 2019 12:32:15 +0300 Subject: [PATCH] * whois/rdns: process up to 100 top clients on startup --- home/dns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/dns.go b/home/dns.go index 8e755e06..e3ec128c 100644 --- a/home/dns.go +++ b/home/dns.go @@ -75,7 +75,7 @@ func initDNSServer() { config.dnsctx.rdns = InitRDNS(&config.clients) config.dnsctx.whois = initWhois(&config.clients) - const topClientsNumber = 30 // the number of clients to get + const topClientsNumber = 100 // the number of clients to get topClients := config.stats.GetTopClientsIP(topClientsNumber) for _, ip := range topClients { ipAddr := net.ParseIP(ip)