Troubleshooting PowerDNS DNS credentials
Find the cause of PowerDNS credential check failures and external-dns errors, and review the known limitations.
Troubleshooting
Messages that appear when you save the credential start with PowerDNS credential check failed:.
| Message or symptom | Cause and fix |
|---|---|
PdnsApiUrl must be a base URL without a path. | Remove /api/v1 or any other path from the URL. |
PdnsApiUrl must use http or https. or must be a valid absolute URL. | Use a full URL such as https://pdns.example.com:8081. |
API key was rejected (401). or API key lacks permission (403). | The key is wrong, or the API is not enabled for it. |
Server '<id>' was not found. | Leave Server ID empty, which means localhost, unless your server uses another ID. |
Could not reach the PowerDNS API endpoint. | The management cluster cannot reach the URL. Check firewalls and the port. |
PowerDNS does not support ACME DNS-01 in CCF; use a CA issuer or HTTP-01 instead | Assign a Self-Signed or Customer-Provided CA profile instead of a Let's Encrypt profile. |
The external-dns logs show Conflicts with pre-existing RRset. | A record with the same name exists that external-dns does not own, for example a stale CNAME. The PowerDNS API provider cannot replace it. Delete the record by hand. |
Known limitations
- Let's Encrypt DNS-01 is not supported. Use a Self-Signed or Customer-Provided CA profile.
- You cannot change the API URL, key, or server ID of a saved credential in the UI. Delete the credential and add it again. Projects that already use the credential keep the old values until you enable DNS again.
- Disabling DNS on a project leaves the records that the project created in the zone. Before you disable DNS, delete the project's Ingresses, Services, and DNSEndpoints, and wait a minute so that external-dns removes its own records. You must delete records that remain after disabling by hand, because a later enable uses a new owner ID and does not recognize them.
