From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 08:38:41 2004 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 A11D616A4D5 for ; Mon, 8 Nov 2004 08:38:41 +0000 (GMT) Received: from mail.btito.net (btito.demon.nl [212.238.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2104643D1D for ; Mon, 8 Nov 2004 08:38:41 +0000 (GMT) (envelope-from lists@magicfingers.org) Received: from localhost (localhost [127.0.0.1]) by mail.btito.net (Postfix) with ESMTP id 9D04854C4; Mon, 8 Nov 2004 09:38:39 +0100 (CET) Received: from mail.btito.net ([127.0.0.1]) by localhost (mail.btito.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04825-02; Mon, 8 Nov 2004 09:38:38 +0100 (CET) Received: from [192.168.2.196] (SHUTTLE.btito.local [192.168.2.196]) by mail.btito.net (Postfix) with ESMTP id DA0FA54D6; Mon, 8 Nov 2004 09:38:38 +0100 (CET) Message-ID: <418F3090.8060609@magicfingers.org> Date: Mon, 08 Nov 2004 09:38:40 +0100 From: Bob Tito User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gerard Samuel References: <418F05A6.7000406@trini0.org> In-Reply-To: <418F05A6.7000406@trini0.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at btito.net cc: freebsdquestions Subject: Re: /etc/dhclient.conf syntax? 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: Mon, 08 Nov 2004 08:38:41 -0000 Gerard Samuel wrote: > I cant seem to get a custom version of /etc/resolv.conf to stick. > dhclient keeps overwriting it with data from my ISP's dhcp server. > This is what I have in /etc/dhclient.conf -> > interface "ed0" { > supercede domain-name "trini0.org"; > prepend domain-name-servers 127.0.0.1; > } This is mine, interface "xl0" { prepend domain-name-servers 127.0.0.1; supersede domain-name "btito.local"; media "media 10baseT/UTP"; } resulting in: mail# cat /etc/resolv.conf search btito.local nameserver 127.0.0.1 nameserver 194.xxx.xxx.xxx nameserver 194.xxx.xxx.xxx Fix the typo in supersede if this is a try copy and paste form the file. Best regards, Bob > > And for some reason, /etc/resolv.conf *always* comes back as -> > search some_name.attbi.com > nameserver www.xxx.yyy.zzz > nameserver www.xxx.yyy.zzz > > Is there anyway to make /etc/resolv.conf stick?? > Thanks > _______________________________________________ > 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" -- Bob Tito gpg key http://www.btito.net/gpg Disclaimer: This message represents the official view of the voices in my head.