Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 22:29:32 -0500
From:      Brian John <brianjohn@fusemail.com>
To:        Brian John <brianjohn@fusemail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: just got DSL, can't surf or get mail
Message-ID:  <425B409C.5090100@fusemail.com>
In-Reply-To: <425B28FC.8080009@fusemail.com>
References:  <1523.209.87.176.4.1112625637.fusewebmail-19592@webmail.fusemail.com> <441x9qwhvk.fsf@be-well.ilk.org> <425B28FC.8080009@fusemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian John wrote:

> Lowell Gilbert wrote:
>
>> "Brian John" <brianjohn@fusemail.com> writes:
>>
>>  
>>
>>>> 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?
>>>   
>>
>>
>> Configure it not to: according to "man dhclient.conf", a "prepend 
>> domain-name-servers <mumble>" should do it.
>>
>> Or better yet, fix your router so that it either provides DNS services
>> or stops telling your FreeBSD machine that it does. 
>>  
>>
> Unfortunately I can't get my DSL modem to turn off it's DNS 
> 'feature'.  I tried the advanced setup and it was no luck.  I'm trying 
> your dhclient.conf method, however it isn't working.  I read the 
> manpage, and I can't figure out why.  This is what I have in 
> dhclient.conf:
>
> interface "vr0" {
>        prepend domain-name-servers 205.171.2.65;
>        prepend domain-name-servers 205.171.3.65;
> }
>
> Any clue why this might not work?
>
> Thanks for the help!
>
> /Brian
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
>
Update:  I was able to get this to work by using one-line statements 
such as this:
prepend domain-name-servers 205.171.2.65;

instead of the 'procedural' way.

Thanks anyway everyone for the help on this

/Brian



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