Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2003 10:58:36 +0100 (CET)
From:      Dirk-Willem van Gulik <dirkx@webweaving.org>
To:        Per Nilsson <admin@sparbanken.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: resolv.conf
Message-ID:  <20030210105620.P28907-100000@foem.leiden.webweaving.org>
In-Reply-To: <20030209190051.R63678-100000@sparbanken.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 9 Feb 2003, Per Nilsson wrote:

> I got to have this to be enable to send mail, and from time to time, the
> file /etc/resolv.conf changes back to the standard:
>
> search
> nameserver 10.0.0.1
> nameserver 10.0.0.2
>
> and i dont know how to do to have the resolv.conf NOT to be changed

You propably have dhclient running, the DHCP deamon. Ever time your IP
lease expires (typically every 5 to 60 minutes) it will negotiate a new
IP address for you with your DHCP server. Along with the settings it get
from the DHCP server are DNS settings.

See man dhclient.conf or add in /etc a file

	#/etc/dhclient.conf
	supersede domain-name "sparbanken.org"

DW





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030210105620.P28907-100000>