[maemo-users] Dinamically changing /etc/resolv.conf (in connection with using openvpn)

From: Lucas Maneos maemo at subs.maneos.org
Date: Thu Apr 19 12:35:22 EEST 2012
On Mon, Apr 16, 2012 at 03:12:27AM +0000, James Brown wrote:
> when I use openvpn I need to have in /etc/resolv.conf a record indicating to
> dns-servers which can resolve dns-address of my vpn to ip and after
> connection - changes nameservers to the vpn-server's ip (for making
> dns-queries only through vpn).

FYI, the Diablo version's /etc/openvpn/maemo-update-resolvconf
does not require resolvconf.

I would still prefer something that works with the existing dnsmasq
setup (perhaps hijack /var/run/resolv.conf.lo for example) in order to
reduce traffic etc, but the above should get you working.

More information about the maemo-users mailing list