Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Apr 2005 09:59:23 -0700
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: just got DSL, can't surf or get mail
Message-ID:  <200504040959.27017.ringworm01@gmail.com>
In-Reply-To:  <2735.209.87.176.4.1112633537.fusewebmail-19592@webmail.fusemail.com>
References:   <2735.209.87.176.4.1112633537.fusewebmail-19592@webmail.fusemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 04 April 2005 09:52 am, Brian John wrote:
> > On Monday 04 April 2005 07:40 am, Brian John wrote:
> > > > On Apr 3, 2005 9:12 PM, Anthony Atkielski
> > > > <atkielski.anthony@wanadoo.fr>
> > >
> > > wrote:
> > > > > One you've changed resolv.conf, it should stay that way
> > > > > permanently across boots, unless you change it again.
> > > >
> > > > dhclient will overwrite /etc/resolv.conf on boot
> > >
> > > How can I keep dhclient from doing this?
> > >
> > > /Brian
> >
> > Running chflags schg /etc/resolv.conf as root would keep
> > it from being changed. You still should figure out why
> > dhclient is putting the wrong info in resolv.conf though.
>
> How can I find that out?  Sorry, but I'm pretty new to networking in
> FreeBSD (not networking in general) so I need a little bit of
> direction.
>
> Thanks for the help
>
> /Brian

I'm not an expert on dhclient sorry, I just know that setting the 
immutable flag will keep things from changing your resolv.conf file.
Hopefully someone else will give you useful information about dhclient.

-Mike



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