User Tools

Site Tools


ubuntu:etc:resolv.conf:opting-out_of_netconfig

This is an old revision of the document!


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: Creating a /etc/resolv.conf file with manual configuration.

ubuntu/etc/resolv.conf/opting-out_of_netconfig.1589392546.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki