AbsaOSS / external-dns-infoblox-webhook

Infoblox provider based on in-tree provider for ExternalDNS
Apache License 2.0
11 stars 6 forks source link

BUG: TXT created with CNAME #23

Open kuritka opened 4 weeks ago

kuritka commented 4 weeks ago
apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint
metadata:
  name: test-01
spec:
  endpoints:
  - dnsName: cname-test.foo.example.com
    recordType: CNAME
    recordTTL: 30
    targets:
    - cname-test.blah.example.com

log says: level=debug msg="requesting apply changes, create: 3 , updateOld: 0, updateNew: 0, delete: 0" requestMethod=POST requestPath=/records and msg="Changing record" action=CREATE record=cname-test.foo.example.com target="..." ttl=0 type=RecordTXT

CreateObject request error: 'WAPI request error: 400('400 Bad Request'

for such DNS endpoint it creates CNAME and TXT record. CNAME is created while TXT fails.