Skip to content

DNS

OpenShift requires specific DNS records for the API and ingress services. All records must be resolvable before installation begins.

Required DNS Records

A Record Value
api.{{ cluster_name }}.{{ base_domain }} API VIP or node IP (SNO)
api-int.{{ cluster_name }}.{{ base_domain }} API VIP or node IP (SNO)
*.apps.{{ cluster_name }}.{{ base_domain }} Ingress VIP or node IP (SNO)

Warning

Create the wildcard record as *.apps.<cluster>.<domain> only. Do not create a wildcard at *.<cluster>.<domain> — this collides with api and api-int records, and the Assisted Installer will refuse to proceed.

Validate the DNS using dig:

dig +noall +answer @{{ nameserver_ip }} api.{{ cluster_name }}.{{ base_domain }}
dig +noall +answer @{{ nameserver_ip }} api-int.{{ cluster_name }}.{{ base_domain }}
dig +noall +answer @{{ nameserver_ip }} test.apps.{{ cluster_name }}.{{ base_domain }}

api and api-int should both resolve to the API VIP (or the SNO node IP).


Details

API Records

The api record is used by external clients (developers, CI/CD) to reach the Kubernetes API. The api-int record is used by cluster nodes internally. Both should resolve to the same API VIP.

Wildcard Ingress

The *.apps wildcard record routes all application traffic through the OpenShift router. This must resolve to the ingress VIP.

Single Node OpenShift (SNO)

For SNO, all three DNS records point to the single node's IP address. No VIPs are needed.

Reverse DNS (PTR Records)

Node A records (for example cp01.{{ cluster_name }}.{{ base_domain }}) and reverse DNS (PTR) are recommended, not required for IPI/Assisted Installer installations. However, without PTR records, nodes may register with MAC-based or generic hostnames during provisioning (e.g., localhost or dhcp-192-168-1-10), which makes troubleshooting and log correlation significantly harder.

PTR Records Are Required for UPI

For User Provisioned Infrastructure (UPI) installations, PTR records are required. Configure and verify PTR records yourself before install (using dig -x <ip>) for the API VIP (api and api-int), bootstrap (if used), and every node IP. Missing reverse DNS causes localhost/MAC hostnames and CSR problems. No PTR record is required for *.apps.<cluster>.<domain>.

dig +noall +answer -x {{ node_ip }}

Each node IP should resolve back to its FQDN (e.g., cp01.{{ cluster_name }}.{{ base_domain }}).

Note

Wildcard DNS records may require special handling in Active Directory DNS. Consult your DNS administrator if using AD-integrated DNS.

Documentation