Preserving custom resolv.conf entries using resolvconf


Revision as of 19:00, 24 November 2007 by Hutch (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
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