User Tools

Site Tools


ubuntu:etc:resolv.conf:opting-out_of_netconfig

Ubuntu - etc - resolv.conf - Opting-out of netconfig

netconfig is often found on openSUSE, SUSE, and derivative distributions.

You can disable netconfig’s handling of /etc/resolv.conf by disabling the NETCONFIG_DNS_POLICY option in /etc/sysconfig/network/config to an empty string as shown below.

/etc/sysconfig/network/config
NETCONFIG_DNS_POLICY=""

Afterward, you should delete the netconfig-generated resolv.conf file, and reboot the system.

rm /etc/resolv.conf
reboot

See Recreating /etc/resolv.conf.

ubuntu/etc/resolv.conf/opting-out_of_netconfig.txt · Last modified: 2020/07/15 10:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki