Skip to content

CLOUDFLARE: push doesn't create records if domain doesn't exist #2652

@ghost

Description

Describe the bug
We've noticed that dnscontrol push will create new domains, but won't actually create any records for said domain. This forces us to run dnscontrol push again, or revert to the deprecated dnscontrol create-domains then dnscontrol push.

Looking through the code (with no experience in writing Go), it doesn't seem that this is intended behavior.

To Reproduce

  1. Create a new domain file
  2. Add records to new domain
  3. Run dnscontrol push
  4. Notice DNS records didn't get created, but domain did
  5. Run dnscontrol push again

Expected behavior
dnscontrol push should create the new domain, then create records with a single execution of the command

DNS Provider

  • Cloudflare (At minimum, this is untested with other providers)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions