Dnsmasq config example for OCP IPI for Openshift 4!
In the following post, we are going to talk about how to set-up dnsmasq for OCP.
How to install and configure the dnsmasq service for OCP
Step 1. Installing the dnsmasq-service
sudo dnf -y install dnsmasqStep 2. Checking the dnsmasq-service
sudo systemctl status systemd-resolved
sudo systemctl enable systemd-resolvedStep 3. Remove the symlinked created for /etc/resolv.conf
sudo unlink /etc/resolv.confStep 4. Configuring the /etc/dnsmasq.conf
A minimal configuration example is available under the /etc/dnsmasq.conf
ls -l /etc/dnsmasq.conf
-rw-r--r--. 1 root dnsmasq 27981 Jun 17 13:17 /etc/dnsmasq.conf