Documentation ¶
Index ¶
- func ExistsUpstream(domain string) bool
- func GetA(domain string) (certainly.UpstreamNSRecord, error)
- func GetAAAA(domain string) (certainly.UpstreamNSRecord, error)
- func GetCNAME(domain string) (certainly.UpstreamNSRecord, error)
- func HasApexDomain(target, apex string) bool
- func ReplaceApex(target string, rewrites map[string]string) string
- func ShouldRewrite(target string, rewrites map[string]string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExistsUpstream ¶
ExistsUpstream checks if there is a valid A, AAAA or CNAME record in the upstream DNS zone
func GetA ¶
func GetA(domain string) (certainly.UpstreamNSRecord, error)
GetA fetches the A records for a domain
func GetAAAA ¶
func GetAAAA(domain string) (certainly.UpstreamNSRecord, error)
GetA fetches the AAAA record for a domain
func GetCNAME ¶
func GetCNAME(domain string) (certainly.UpstreamNSRecord, error)
GetCNAME fetches the CNAME record for a domain
func HasApexDomain ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.