Preparing DNS

Create the DNS records that the platform needs and, if you use dynamic DNS for Cloudera Service for Kubernetes clusters, prepare an RFC2136 zone.

In this procedure, you create the DNS records that the platform needs and, if you use dynamic DNS for Cloudera Service for Kubernetes clusters, you prepare an RFC2136 zone.

  • You operate an internal DNS server that every Cloudera Cloud Core host, every cluster node, and the LCM host can resolve against.
  • For dynamic updates, the DNS server supports RFC2136 (for example BIND, PowerDNS, Windows DNS, or Knot).
  1. Create or delegate the Cloudera Cloud Core base zone, <base-domain>, on the internal DNS server.
  2. Create a wildcard record (*.<base-domain>) or one record per service endpoint that points to the Cloudera Cloud Core site address.

    The service endpoints are https://<service>.<base-domain>/ for Identity (keystone), Compute (nova), Network (neutron), Volume (cinder), Image (glance), Key Manager (barbican), Load Balancer (octavia), Orchestration (heat), Placement (placement), Share (manila), Object Store (rgw), and Dashboard (horizon). Create reverse lookup records, which Cloudera recommends.

  3. Create the Cloudera Cloud Factory zone, <ccf-base-host>.

    The installer derives eleven host names from this zone: app, api, grafana, mimir, prometheus, tekton, eksproxy, agent, mailbox, mcp, and storybook. You create the host records after the Cloudera Cloud Factory installation, in the section Creating DNS records for Cloudera Cloud Factory hosts.

  4. If Cloudera Cloud Factory manages DNS records for Cloudera Service for Kubernetes clusters through RFC2136, create a zone for the clusters and a TSIG key on the DNS server. Allow dynamic updates for the key in that zone only.
    tsig-keygen -a hmac-sha256 ccf-dns-key
  5. Configure the internal resolvers so that they answer queries for the platform zones and forward nothing to the internet.

    Set the resolver addresses on the Cloudera Cloud Core hosts and in the CLUSTER_VAR_dns_server_first and CLUSTER_VAR_dns_server_second values of the Cloudera Cloud Factory configuration.

Names under <base-domain> resolve from the LCM host. Verify with dig +short keystone.<base-domain> @<dns-server>.