Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProviderCloudflare = "cloudflare" ProviderRoute53 = "route53" ProviderGoDaddy = "godaddy" ProviderGoogleCloud = "googlecloud" ProviderAzure = "azure" ProviderDigitalOcean = "digitalocean" ProviderNS1 = "ns1" ProviderVercel = "vercel" ProviderNamecheap = "namecheap" ProviderDNSimple = "dnsimple" ProviderClouDNS = "cloudns" ProviderDNSPod = "dnspod" ProviderHostinger = "hostinger" ProviderWix = "wix" ProviderIONOS = "ionos" ProviderOVH = "ovh" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChallengeType ¶
type ChallengeType string
const ( ChallengeTypeHTTP01 ChallengeType = "http-01" ChallengeTypeDNS01 ChallengeType = "dns-01" )
type DNSRecordManager ¶
type DNSRecordManager struct {
// contains filtered or unexported fields
}
func NewDNSRecordManager ¶
func NewDNSRecordManager(challengeType ChallengeType, dnsDelegationDomain, cNameTarget string, lookup Lookup) *DNSRecordManager
func (*DNSRecordManager) GetRequiredDNSRecords ¶
func (m *DNSRecordManager) GetRequiredDNSRecords(hostname string) []domain.DNSRecord
type Lookup ¶
type Lookup interface {
LookupNS(name string) ([]*net.NS, error)
LookupIP(name string) ([]net.IP, error)
LookupCNAME(name string) (string, error)
LookupHost(name string) ([]string, error)
LookupTXT(name string) ([]string, error)
}
Lookup abstracts all DNS resolution so it can be replaced in tests.
func DirectUDPLookup ¶
Click to show internal directories.
Click to hide internal directories.