Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2012 13:51:21 +0000
From:      "Teske, Devin" <Devin.Teske@fisglobal.com>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        "<freebsd-hackers@freebsd.org>" <freebsd-hackers@freebsd.org>, Varuna <varuna@eudaemonicsystems.net>
Subject:   Re: /etc/resolv.conf getting over written with dhcp
Message-ID:  <2E4FAA96-9C92-4B3F-A481-9D1D96C8517C@fisglobal.com>
In-Reply-To: <4FDB2ECF.70304@gmail.com>
References:  <4FDB25E0.2070705@eudaemonicsystems.net> <4FDB2ECF.70304@gmail.com>

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


On Jun 15, 2012, at 5:47 AM, Volodymyr Kostyrko <c.kworr@gmail.com> wrote:

> Varuna wrote:
>> Hello Folks,
>>=20
>> Noticed a strange issue with the creation / update of /etc/resolv.conf.
>> The details of the system that I noticed the issue on is:
>> Version : FreeBSD 8.0
>> Patch level: not patched
>> Uname: FreeBSD shastry.eudaemonicsystems.net 8.0-RELEASE FreeBSD
>> 8.0-RELEASE #0: Thu Sep 29 22:37:51 IST 2011
>> root@shastry.bhuta.in:/usr/obj/usr/src/sys/SHASTRY i386
>>=20
>>=20
>> I generally have a static IP 192.168.98.6 (via rc.conf) for my Beastie.
>> The contents of my /etc/resolv.conf is as follows:
>> domain eudaemonicsystems.net
>> nameserver 208.67.222.222
>> nameserver 208.67.220.220
>> nameserver 4.2.2.2
>> No matter how many times I reboot the system, the resolv.conf does not
>> get overwritten when configured with a static IP.
>=20
> 1. Since 9.0 we already have resolveconf(8) for this.
> 2. Empty dhclient.conf means default configuration, you can make your own=
, refusing nameserver updates coming from DHCP.
> 3. You can always chflags noschg any precious file.
>=20

schg to disallow changes.

noschg is incorrect.
--=20
Devin

_____________
The information contained in this message is proprietary and/or confidentia=
l. If you are not the intended recipient, please: (i) delete the message an=
d all copies; (ii) do not disclose, distribute or use the message in any ma=
nner; and (iii) notify the sender immediately. In addition, please be aware=
 that any message addressed to our domain is subject to archiving and revie=
w by persons other than the intended recipient. Thank you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2E4FAA96-9C92-4B3F-A481-9D1D96C8517C>