Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitAndStart ¶
func InitAndStart(config *certainly.CertainlyCFG, logger *zap.SugaredLogger, notification *notification.Notifications, errChan chan error) []certainly.CertainlyNS
func NewDNSServer ¶
func NewDNSServer(config *certainly.CertainlyCFG, logger *zap.SugaredLogger, proto string, notifications *notification.Notifications) certainly.CertainlyNS
NewDNSServer parses the DNS records from config and returns a new DNSServer struct
Types ¶
type Nameserver ¶
type Nameserver struct { Config *certainly.CertainlyCFG Logger *zap.SugaredLogger Notification *notification.Notifications Server *dns.Server OwnDomains []string NotifyStartedFunc func() SOA dns.RR Domains map[string]Records // contains filtered or unexported fields }
func (*Nameserver) ParseRecords ¶
func (n *Nameserver) ParseRecords()
ParseRecords parses a slice of DNS record string
func (*Nameserver) SetChallengeToken ¶
func (n *Nameserver) SetChallengeToken(domain, key string)
SetOwnAuthKey sets the ACME challenge token for completing dns validation for certainly server itself
func (*Nameserver) SetNotifyStartedFunc ¶
func (n *Nameserver) SetNotifyStartedFunc(fun func())
func (*Nameserver) Start ¶
func (n *Nameserver) Start(errorChannel chan error)
Click to show internal directories.
Click to hide internal directories.