dhclient overwrites reslov.conf
jeremy.gransden at gmail.com
Fri Jan 26 11:05:02 UTC 2007
On 1/26/07, [LoN]Kamikaze <LoN_Kamikaze at gmx.de> wrote:
> I'm in a LAN with a relatively short lease time. That wouldn't be a
> problem if I wouldn't run a vpnc connection through this LAN. The vpnc
> connection sets /etc/resolv.conf as required, but dhclient overwrites it
> every couple of minutes, causing DNS not to work any more. Is there a way to
> make dhclient set up resolv.conf only when the IP of the interface is
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
take a look at the /etc/dhclient.conf man page. You can add a line to set
# $FreeBSD: src/etc/dhclient.conf,v 1.3 2001/10/27 03:14:37 rwatson Exp $
# This file is required by the ISC DHCP client.
# See ``man 5 dhclient.conf'' for details.
# In most cases an empty file is sufficient for most people as the
# defaults are usually fine.
prepend domain-name-server 188.8.131.52;
just change 184.108.40.206 with the correct value
More information about the freebsd-questions