DNS credentials
A DNS credential lets Cloudera Cloud Factory create DNS records in a zone of your DNS provider, which applications and DNS-01 certificates depend on.
A DNS credential lets Cloudera Cloud Factory create DNS records in a zone of your DNS provider. Applications that you expose from a cluster, and certificates that are issued by a DNS-01 challenge, depend on these records. For example, when you install the console platform on a project, its console becomes reachable by a name in your zone.
Credentials belong to an organization. You can bind a DNS credential to a project in two ways: when you create the project, or later in the project settings by enabling DNS and selecting the credential. Cloudera recommends that you bind the credential at the project level instead of passing DNS details into an individual application.
For the order in which to set up DNS, certificates, and trust, and for creating certificate and trust profiles, see Requirements and setup order and Creating a certificate and trust profile in Profiles. For turning on the preview features, see Features preview in the profile settings described in Overview.
The DNS Credentials page lists the following columns: ID, Organization, Name, Type, Domain, Associated Projects, Created By, Last Modified, Last Modified By, and Actions. The Domain column shows the zone that the credential can manage. The Associated Projects column shows the projects that currently use the credential. One credential can serve several projects.
The following screenshot shows the DNS Credentials page with example credentials.

Supported providers
The following table lists the supported DNS providers and what each one supports. Each provider has its own topic that describes the setup at the provider, the form fields, what Cloudera Cloud Factory sets up on the cluster, and troubleshooting.
| Provider | Credential type | Workload identity | Let's Encrypt DNS-01 | More information |
|---|---|---|---|---|
| Cloudflare | API token | Not applicable | Yes | Cloudflare DNS credentials |
| AWS Route53 | IAM access key | IRSA (not tested). EKS Pod Identity is blocked. | Yes | AWS Route53 IAM permissions and authentication methods |
| RFC2136 (BIND) | TSIG key | Not applicable | Yes (not tested) | RFC2136 (BIND) DNS credentials |
| Azure DNS | App registration and client secret | Not supported yet | Yes | Azure DNS credentials |
| Google Cloud DNS | Service account key | Not supported yet | Yes | Google Cloud DNS credentials |
| PowerDNS | API key | Not applicable | No. Use a Self-Signed or Customer-Provided CA profile. | PowerDNS DNS credentials |
Project domain and certificate profiles
The project form has no domain field. Cloudera Cloud Factory derives the domain of a project from the project name and the zone of the credential, in the format <project-name>.<credential zone>. For example, the project my-project with the zone example.org gets the domain my-project.example.org.
Only Let's Encrypt (ACME DNS-01) certificate and trust profiles depend on DNS. You must enable DNS on the project and wait for it to sync before you assign a Let's Encrypt profile. Self-Signed, Customer-Provided CA, and trust-only profiles work without DNS.
Behavior that is the same for all providers
- external-dns runs on the project cluster as the deployment
external-dns-primaryin theccf-external-dnsnamespace. - external-dns marks each record that it creates with a TXT ownership record that holds the owner ID of the project. It changes or deletes only records that carry its own owner ID. Several projects can share one credential and one zone, and their owner IDs keep their records apart.
- The domain filter of external-dns is the zone of the credential, not a domain that you set on the project. external-dns on a project can therefore create records anywhere in that zone.
- Cloudera Cloud Factory checks a credential when you save it. How much it checks depends on the provider, and a credential that fails the check is not saved. After you save a credential, you cannot change its provider-specific values, such as a token, key, or secret. Delete the credential and add it again. Projects keep the old values until you enable DNS again with the new credential.
- 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. Delete the remaining records by hand at your DNS provider.
