external-dns is creating CNAME alias, not A Record
I am following the new linode k8s/helm tutorials and I have reached the section on configuring DNS which uses bitnami's external-dns package.
When I try to annotate my service, using exactly the same command as in the video, it results in a CNAME alias and no A/TXT Records.
The logs from the external-dns show
time="2022-01-01T14:45:10Z" level=info msg="Creating record." action=Create record=juicy type=CNAME zoneID=1770931 zoneName=mydomain.com
time="2022-01-01T14:45:11Z" level=info msg="Creating record." action=Create record=juicy type=TXT zoneID=1770931 zoneName=mydomain.com
time="2022-01-01T14:45:11Z" level=error msg="Failed to Create record: [400] [name] Record conflict - CNAMES must be unique" action=Create record=juicy type=TXT zoneID=1770931 zoneName=mydomain.com
These logs imply that external-dns is first creating a CNAME record (which isn't required/wanted at all) and then attempting to create a TXT record which uses the same hostname as the newly-created CNAME, which obviously isn't allowed. And it is clearly not attempting to create the A Record at all.
I would really appreciate any info about why this might be happening and what I can do about it.
Thank you
1 Reply
I see this was answered in this Stack Overflow question: