On Ubuntu I use the resolvconf utility to update & maintain /etc/resolv.conf
On CentOS 7, the resolvconf utility doesn't appear to exist.
What is the correct way to maintain /etc/resolv.conf file on CentOS 7 ?
KR, Nath
On Ubuntu I use the resolvconf utility to update & maintain /etc/resolv.conf
On CentOS 7, the resolvconf utility doesn't appear to exist.
What is the correct way to maintain /etc/resolv.conf file on CentOS 7 ?
KR, Nath
Thanks for the responses, they all helped me find the solution. Thanks Hannu - using nmcli con edit , then set ipv4.dns allowed me use NetworkManager to update resolv.conf. Zina - I was receiving a default nameserver from my DHCP client and NetworkManager automatically adds it to the top. Cheers guys!