How to add additional search domains and nameserver parameters in OCP deployed on top of Red Hat Enterprise Linux 7.x?
Issue
- How do one add DNS search domains in addition to
cluster.localfor OpenShift Container Platform 3.11 deployed on top of Red Hat Enterprise Linux 7.x ? - The additional search domains manually added to the file
/etc/resolv.confget missing whenever a new image is deployed. - The file
/etc/resolv.confcontinues to get overwritten in OpenShift cluster nodes when a new image is deployed. - How to add an additional
nameservervalue to/etc/resolv.conffile?
Environment
- Red Hat OpenShift Container Platform
- 3.11
- Red Hat Enterprise Linux 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.