/etc/resolv.conf problems and fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is my solution for managing /etc/resolv.conf when using
openvpn in parallel with dhcp on ethernet.  

The problem is that I need to add a DNS server from the VPN
connection to whatever my normal network gives me. This
is fine until the normal DHCP renews the subscription and
overwrites /etc/resolv.conf. removing the VPN-DNS in the
process.

My solution (dhclient-based) is here:
http://rosenberg.homelinux.net/wordpress/index.php?p=22

Maybe other solutions exists, if so I'd like to hear about them. 

-- robin

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux