Preserving custom resolv.conf entries using resolvconf


Jump to: navigation, search

Custom resolv.conf entries are normally overwritten by programs such as pppd and dhclient. In this example, the resolvconf utility is configured to permanently add to the default domain search path.

$ apt-get install resolvconf
$ sudo ln -sf /etc/resolvconf/run/resolv.conf /etc/resolv.conf
$ sudo /bin/sh -c 'echo search > /etc/resolvconf/resolv.conf.d/base'
Personal tools