Clean up domain resolving scopes

Switch to .17.home.arpa. for internal use
This commit is contained in:
Daniel
2020-08-14 16:44:19 +02:00
parent 633bb34288
commit 1da8b7148e
8 changed files with 213 additions and 237 deletions

View File

@@ -41,7 +41,10 @@ var (
DNSTestDomain = "one.one.one.one."
DNSTestExpectedIP = net.IPv4(1, 1, 1, 1)
SpecialCaptivePortalDomain = "captiveportal.local."
// SpecialCaptivePortalDomain is the domain name used to point to the detected captive portal IP
// or the captive portal test IP. The default value should be overridden by the resolver package,
// which defines the custom internal domain name to use.
SpecialCaptivePortalDomain = "captiveportal.invalid."
)
var (