Add Custom DNS Server/Entry in Openshift crc environment

If you have a private registry in your lab environment, and to add this registry to openshift crc environment, for dns setup, add single entry in NetworkManager configuration of host os, in /etc/NetworkManager/dnsmasq.d/crc.conf with address=/domain/ip format,

# /etc/NetworkManager/dnsmasq.d/crc.conf

Also for upstream dns server, append it with server=/domain/dnsserver format

Leave a Reply

Your email address will not be published. Required fields are marked *