Creating a DNS credential for an air gap

Create a DNS credential that uses an RFC2136 DNS server and the Self-Signed certificate mode in the Cloudera Cloud Factory web interface.

In this procedure, you create a DNS credential that uses an RFC2136 DNS server and the Self-Signed certificate mode. For the Customer-Provided mode, see the information in the step that selects the certificate mode.

  • Cloudera Cloud Factory is installed and you can log in to the web interface as an administrator.
  • A DNS server in your air gap accepts dynamic updates for the zone, and you know its address and port.
  • The DNS administrator created a TSIG key on the server and gave you the key name, the base64-encoded secret, and the algorithm (hmac-sha256, hmac-sha1, or hmac-sha512).
  • The DNS server is reachable from the Cloudera Service for Kubernetes cluster nodes on port 53.
  • You know the zone to manage, for example <zone>.
  1. In the Cloudera Cloud Factory web interface, go to Credentials and open DNS Credentials.
  2. Create a credential, and select the type RFC2136 (Custom).
  3. Enter a name for the credential, and select the organization that owns it.
  4. In the Domain (filter) field, enter the zone or subdomain that the credential manages, for example <zone>.
  5. For Certificate Mode, select Self-Signed.

    For the Customer-Provided mode, select Customer-Provided instead, and then paste the CA certificate chain, the server certificate (or wildcard certificate), and its private key in PEM format.

  6. Enter the DNS server address and the DNS server port. The default port is 53.
  7. Enter the TSIG key name, the TSIG secret, and the TSIG algorithm.
  8. Enter the zone, and save the credential.

Cloudera Cloud Factory lists the credential. Projects in the organization can select it.

The RFC2136 integration has the following limitations:

  • The DNS administrator must create the TSIG key on the server in advance.
  • No web interface or API rotates the TSIG key. You rotate it manually.
  • Do not use the Let's Encrypt mode in an air gap.