From owner-freebsd-questions@FreeBSD.ORG Tue Apr 12 03:29:32 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D880916A4CE for ; Tue, 12 Apr 2005 03:29:32 +0000 (GMT) Received: from fuse1.fusemail.net (smtp.fusemail.net [69.31.1.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A2FD43D41 for ; Tue, 12 Apr 2005 03:29:32 +0000 (GMT) (envelope-from brianjohn@fusemail.com) Received: from fusemail.com by fuse1.fusemail.net with asmtp (FuseMail extSMTP) id 1DLC5Y-0007ga-Jq; Mon, 11 Apr 2005 22:29:20 -0500 Message-ID: <425B409C.5090100@fusemail.com> Date: Mon, 11 Apr 2005 22:29:32 -0500 From: Brian John User-Agent: Mozilla Thunderbird 1.0 (X11/20050315) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brian John References: <1523.209.87.176.4.1112625637.fusewebmail-19592@webmail.fusemail.com> <441x9qwhvk.fsf@be-well.ilk.org> <425B28FC.8080009@fusemail.com> In-Reply-To: <425B28FC.8080009@fusemail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: just got DSL, can't surf or get mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 03:29:33 -0000 Brian John wrote: > Lowell Gilbert wrote: > >> "Brian John" writes: >> >> >> >>>> On Apr 3, 2005 9:12 PM, Anthony Atkielski >>>> >>>> >>> >>> 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 " 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