dnsutils

package
v1.10.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultIPv4DNSServerList = []string{
	"1.1.1.1:53",
	"1.2.4.8:53",
	"8.8.8.8:53",
	"9.9.9.9:53",
	"8.8.4.4:53",
	"114.114.114.114:53",
	"223.5.5.5:53",
	"223.6.6.6:53",
	"101.226.4.6:53",
	"218.30.118.6:53",
	"119.28.28.28:53",
}
View Source
var DefaultIPv6DNSServerList = []string{
	"[2001:4860:4860::8888]:53",
	"[2001:4860:4860::8844]:53",
	"[2606:4700:4700::64]:53",
	"[2606:4700:4700::6400]:53",
	"[240C::6666]:53",
	"[240C::6644]:53",
	"[2402:4e00::]:53",

	"[240e:4c:4008::1]:53",
	"[240e:4c:4808::1]:53",
	"[2408:8899::8]:53",
	"[2408:8888::8]:53",
	"[2409:8088::a]:53",
	"[2409:8088::b]:53",
	"[2001:dc7:1000::1]:53",
	"[2400:da00::6666]:53",
}

Functions

func ResolveDomainAtServerList

func ResolveDomainAtServerList(queryType, domain string, dnsServerList []string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL