Silly issue with multiple domains and external-dns
I am using external-dns for automatically creating DNS entries on Cloudflare from ingresses and services running in a cluster. The setup worked well enough when I used only one domain - but now I wanted to add a bunch of other domains.
Adding domains is pretty straightforward: just spam
after deploying it - no domain records were updated.
So, two problems:
- The Cloudflare token was only for the zone originally used - added others
- The zone was also passed as a
-zone-id-filterargument - added others
That's really it! For every domain in Cloudflare do the following:
- Update API Token
DNS:Editentries (let's not comment on CF and edit functionality)
- Add the domain as another
- Add the zone as another