The state of resolv.conf

Dan Williams dcbw at redhat.com
Tue Sep 16 19:53:43 UTC 2008


On Tue, 2008-09-16 at 17:42 +0200, Nils Philippsen wrote:
> On Tue, 2008-09-16 at 14:18 +0200, Martin Sivak wrote:
> > On Mon, Sep 15, 2008 at 02:20:37AM +0200, Ahmed Kamal wrote:
> > > I have an itch. I connect to work using openvpn. Works great, except that
> > > openvpn does not modify resolv.conf to add work's dns servers (now available
> > > through vpn). It does that on Windows though! I cannot expect openvpn or
> > > (any other application) to simply overwrite /etc/resolv.conf at will, but
> > > what is fedora missing to get an elegant solution to this problem ?
> > 
> > Well, NM could handle it or take a look at the debian way. Their
> > resolvconf package does exacly what we need.
> 
> What does resolveconf exactly do? I've googled it, but only find not
> very helpful forum messages ;-).

AFAIK you invoke it with "-a" and a "tag" that names your configuration,
and then dump some config to it over stdin.  Then when you're done with
that config (or exiting) you invoke it with "-d" and it removes that
config and replaces the previous one.

NM does what resolvconf also does.  Resolvconf is used in debian and
(was) maybe SUSE for quite a while until they switched to something
called netconf instead.  resolvconf still requires modifications to
programs so that they talk to resolvconf and don't just
overwrite /etc/resolv.conf.

Dan





More information about the fedora-devel-list mailing list