diff --git a/providers/dns/cloudflare/cloudflare.go b/providers/dns/cloudflare/cloudflare.go index 7c94c7b8..00d31ee8 100644 --- a/providers/dns/cloudflare/cloudflare.go +++ b/providers/dns/cloudflare/cloudflare.go @@ -105,7 +105,11 @@ func NewDNSProviderConfig(config *Config) (*DNSProvider, error) { return nil, fmt.Errorf("cloudflare: %v", err) } - return &DNSProvider{client: client, config: config}, nil + return &DNSProvider{ + client: client, + config: config, + recordIDs: make(map[string]string), + }, nil } // Timeout returns the timeout and interval to use when checking for DNS propagation.