all: change bootstrap DNS for ipv4/ipv6

This commit is contained in:
Cuong Manh Le
2024-01-17 14:50:29 +07:00
committed by Cuong Manh Le
parent 32709dc64c
commit 251255c746
2 changed files with 3 additions and 3 deletions

View File

@@ -16,8 +16,8 @@ import (
const (
controldIPv6Test = "ipv6.controld.io"
v4BootstrapDNS = "76.76.2.0:53"
v6BootstrapDNS = "[2606:1a40::]:53"
v4BootstrapDNS = "76.76.2.22:53"
v6BootstrapDNS = "[2606:1a40::22]:53"
)
var Dialer = &net.Dialer{

View File

@@ -30,7 +30,7 @@ const (
ResolverTypePrivate = "private"
)
var bootstrapDNS = "76.76.2.0"
const bootstrapDNS = "76.76.2.22"
// or is the Resolver used for ResolverTypeOS.
var or = &osResolver{nameservers: defaultNameservers()}