Documentation
¶
Index ¶
- type Provider
- func (p *Provider) AppendRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
- func (Provider) CaddyModule() caddy.ModuleInfo
- func (p *Provider) DeleteRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
- func (p *Provider) Provision(ctx caddy.Context) error
- func (p *Provider) SetRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
- func (p *Provider) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
*rfc2136.Provider
// Resolvers used for the CNAME and SOA lookups that determine
// where a record must actually be written. Defaults to the
// system resolvers from resolv.conf (same as certmagic's
// propagation checks).
Resolvers []string `json:"resolvers,omitempty"`
// Follow CNAME records found at the record name and write the
// record in the target's zone instead of the original zone.
// Default: true. Set to false to restore the previous behavior.
FollowCNAME *bool `json:"follow_cname,omitempty"`
// contains filtered or unexported fields
}
Provider wraps the libdns RFC2136 provider for use as a Caddy ACME DNS-01 challenge provider. All record operations (dynamic update, TSIG signing, zone handling) are delegated to libdns/rfc2136; this wrapper only adds CNAME chasing: if a CNAME record exists at the record name being written (e.g. _acme-challenge.example.com), the update is performed against the zone of the CNAME's final target instead of the original zone.
func (*Provider) AppendRecords ¶
func (Provider) CaddyModule ¶
func (Provider) CaddyModule() caddy.ModuleInfo
func (*Provider) DeleteRecords ¶
func (*Provider) SetRecords ¶
Click to show internal directories.
Click to hide internal directories.