1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

CLOUDFLARE: Fixed bug: Zone not populated with records if domain was created in the same run (#2690)

Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
This commit is contained in:
Jan-Philipp Benecke
2023-12-05 22:50:25 +01:00
committed by GitHub
parent 4e8fb894ef
commit dbb724b911

View File

@ -823,6 +823,7 @@ func (c *cloudflareProvider) EnsureZoneExists(domain string) error {
var id string
id, err := c.createZone(domain)
printer.Printf("Added zone for %s to Cloudflare account: %s\n", domain, id)
c.domainIndex = nil // clear the index to let the following functions get a fresh list with nameservers etc..
return err
}