Description
I already found a similar issue but the request was not answered. So I will open another issue:
Adding A-Records with external dns and openstack designate works fine. I have set the policy to sync. On AWS the A-Records get removed when I delete the Load Balancer Service. Using Designate the A-Record never gets removed. The worst thing is you cannot recreate a Service with the same domain name until you manually delete the A-Record from the DNS zone. The openstack API sends a Duplicate Recordset error:
time="2019-07-30T13:13:13Z" level=info msg="Creating records: nginx.example.com./A: 185.X.X.X" time="2019-07-30T13:13:13Z" level=error msg="Expected HTTP response code [201 202] when accessing [POST https://designate.cloud.example.com:9001/v2/zones/e86a4b09-70aa-41ff-abcd-7bba6c8c820e/recordsets], but got 409 instead\n{\"message\": \"Duplicate RecordSet\", \"code\": 409, \"type\": \"duplicate_recordset\", \"request_id\": \"req-c7588b3f-aaeb-4769-85b7-b6f32cc23325\"}"
After deleting the A-Record manually I can successfully add a new one:
time="2019-07-30T13:18:13Z" level=info msg="Creating records: nginx.example.com./A: 185.X.X.X" time="2019-07-30T13:18:13Z" level=info msg="Creating records: nginx.example.com./TXT: \"heritage=external-dns,external-dns/owner=default,external-dns/resource=service/default/nginx\"