infoblox-client icon indicating copy to clipboard operation
infoblox-client copied to clipboard

Multiple CAA records with the same name but different tags and values not possible

Open Stefan-van-Hattum opened this issue 1 year ago • 0 comments

It is not possible to create multiple CAA records with the same name but with different tags or values, while this is possible to do so within the Infoblox WebGUI. Here is an example code:

def create_ca_rec(domain, type, value): obj, created = objects.CaaRecord.create_check_exists(connector=connection, view='Internet', name=domain, ca_flag=0, ca_tag=type, ca_value=value) create_ca_rec("example.com", "issue", "digicert.com") create_ca_rec("example.com", "issue", "sectigo.com") create_ca_rec("example.com", "iodef", "[email protected]")

the first one gets created but the rest fails and it results in "Infoblox record:caa already exists"

While a TXT record is possible to create multiple records with the same name but different values. So it would be nice if the same would also be possible for CAA records.

Stefan-van-Hattum avatar Jan 29 '24 12:01 Stefan-van-Hattum