* (dnsforward): added some hosts to disallowed by default

This commit is contained in:
Andrey Meshkov
2020-09-10 12:32:36 +03:00
parent b6e5863058
commit 75d680ff30
4 changed files with 9 additions and 3 deletions

View File

@@ -31,6 +31,9 @@ var defaultDNS = []string{
}
var defaultBootstrap = []string{"9.9.9.10", "149.112.112.10", "2620:fe::10", "2620:fe::fe:10"}
// Often requested by all kinds of DNS probes
var defaultBlockedHosts = []string{"version.bind", "id.server", "hostname.bind"}
var webRegistered bool
// Server is the main way to start a DNS server.