Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2012 13:39:32 +0530
From:      Varuna <varuna@eudaemonicsystems.net>
To:        Ian Lepore <freebsd@damnhippie.dyndns.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: /etc/resolv.conf getting over written with dhcp
Message-ID:  <4FE1853C.2090002@eudaemonicsystems.net>
In-Reply-To: <1339784344.73426.40.camel@revolution.hippie.lan>
References:  <4FDB25E0.2070705@eudaemonicsystems.net>	 <4FDB3BAA.6090906@fluffy.khv.ru> <4FDB71B9.9070804@eudaemonicsystems.net> <1339784344.73426.40.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Ian Lepore wrote:
> 
> Using the 'prepend' or 'supercede' keywords in /etc/dhclient.conf is
> pretty much the standard way of handling a mix of static and dhcp
> interfaces where the static config needs to take precedence.  I'm not
> sure why you dismiss it as essentially good, but somehow not good
> enough.  It's been working for me for years.
> 
> -- Ian
> 
The issue that I had indicated that the issue with the /etc/resolv.conf is being 
caused by an error in /sbin/dhclient-script; hence, I am definitely not looking 
at solving the issue either with /etc/dhclient.conf or /etc/dhclient-exit-hooks 
configuration file.

BTW, resolver(5) / resolv.conf(5) does not mention the usage of 
/etc/dhclient-exit-hooks file to protect the earlier contents of 
/etc/resolv.conf file.  Will put this issue in the freebsd-doc mailing list.

With regards,
Varuna
Eudaemonic Systems
Simple, Specific & Insightful

IT Consultants, Continued Education & Systems Distribution
+91-88-92-47-62-63
http://www.eudaemonicsystems.net
http://enquiry.eudaemonicsystems.net

------------------------------------------------------------------
This email is confidential, and may be legally privileged.  If you
are not the intended recipient, you must not use or disseminate
this information in any format.  If you have received this email in
error, please do delete it along with copies of it existing in any
other format, and notify the sender immediately.  The sender of this
email believes it is virus free, and does not accept any liability
for any errors or omissions arising thereof.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE1853C.2090002>