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.

Figure 1. DNS Credentials page with example credentials

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.

Table 1. DNS providers
ProviderCredential typeWorkload identityLet's Encrypt DNS-01More information
CloudflareAPI tokenNot applicableYesCloudflare DNS credentials
AWS Route53IAM access keyIRSA (not tested). EKS Pod Identity is blocked.YesAWS Route53 IAM permissions and authentication methods
RFC2136 (BIND)TSIG keyNot applicableYes (not tested)RFC2136 (BIND) DNS credentials
Azure DNSApp registration and client secretNot supported yetYesAzure DNS credentials
Google Cloud DNSService account keyNot supported yetYesGoogle Cloud DNS credentials
PowerDNSAPI keyNot applicableNo. 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-primary in the ccf-external-dns namespace.
  • 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.