Documentation ¶
Overview ¶
Copyright (C) 2021-2023, Kubefirst
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CivoNameServers []string = []string{"ns0.civo.com", "ns1.civo.com"} DigitalOceanNameServers []string = []string{"ns1.digitalocean.com", "ns2.digitalocean.com", "ns3.digitalocean.com"} VultrNameservers []string = []string{"ns1.vultr.com", "ns2.vultr.com"} )
View Source
var BackupResolver = &net.Resolver{ PreferGo: true, Dial: func(ctx context.Context, network, address string) (net.Conn, error) { d := net.Dialer{ Timeout: time.Millisecond * time.Duration(10000), } return d.DialContext(ctx, network, "8.8.8.8:53") }, }
BackupResolver provides a DNS resolver to fall back to if the primary one fails
Functions ¶
func GetDomainNSRecords ¶ added in v0.1.61
GetDomainNSRecords
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.