External-dns: Infoblox can not create TXT records for a CNAME

Created on 19 Mar 2019  路  2Comments  路  Source: kubernetes-sigs/external-dns

external-dns is unable to create a TXT record for a CNAME is just just created. Infoblox does not support creating a TXT record with the same name as a CNAME based on RFC1034 from our research.

https://tools.ietf.org/html/rfc1034

A CNAME RR identifies its owner name as an alias, and
specifies the corresponding canonical name in the RDATA section of the
RR. If a CNAME RR is present at a node, no other data should be
present; this ensures that the data for a canonical name and its aliases
cannot be different. This rule also insures that a cached CNAME can be
used without checking with an authoritative server for other RR types.

Perhaps extended attributes can be used instead. https://github.com/F5Networks/f5-ipam-ctlr actually uses them to track records it creates.

Most helpful comment

You can specify a --txt-prefix, I have mine set to _owner..

This results in external-dns generating a CNAME and TXT record like:

CNAME foo.example.com
TXT   _owner.foo.example.com

All 2 comments

You can specify a --txt-prefix, I have mine set to _owner..

This results in external-dns generating a CNAME and TXT record like:

CNAME foo.example.com
TXT   _owner.foo.example.com

That solved my issue.

Was this page helpful?
0 / 5 - 0 ratings