<div dir="ltr">Wouldn't the best way be to have an api that can be used to add and delete DNS servers and manipulate resolv.conf. Then we could have deamons call that. <br><br><div class="gmail_quote">On Mon, Sep 15, 2008 at 5:41 AM, Dan Williams <span dir="ltr"><<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Sun, 2008-09-14 at 21:37 -0400, Paul Wouters wrote:<br>
> On Mon, 15 Sep 2008, Ahmed Kamal wrote:<br>
><br>
> > I have an itch. I connect to work using openvpn. Works great, except that openvpn does not modify resolv.conf to add<br>
> > work's dns servers (now available through vpn). It does that on Windows though! I cannot expect openvpn or (any other<br>
> > application) to simply overwrite /etc/resolv.conf at will, but what is fedora missing to get an elegant solution to<br>
> > this problem ?<br>
><br>
> If you use openvpn through NetworkManager, then I'd say NetworkManager should<br>
> handle this for you.<br>
<br>
</div>Yeah, at the end of the day something needs to mediate between services<br>
that need to update your DNS information.  If you're using<br>
NetworkManager, then NM does this mediation for you for things like PPP,<br>
PPtP, DHCP, openvpn, and vpnc.<br>
<br>
But if you're not using NM, each service (vpnc, dhcp, openvpn, pptp,<br>
ppp, whatever) has to have it's own logic to backup and restore<br>
resolv.conf.  And that just sucks.  Some distros have resolvconf to help<br>
with this, which does the same sort of thing as NM and "stacks" DNS<br>
configs.  Most of these hacks are standard *NIX: everything has it's own<br>
system and nothing works very well.<br>
<font color="#888888"><br>
Dan<br>
</font><div><div></div><div class="Wj3C7c"><br>
--<br>
fedora-devel-list mailing list<br>
<a href="mailto:fedora-devel-list@redhat.com">fedora-devel-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-devel-list</a><br>
</div></div></blockquote></div><br></div>