From owner-freebsd-questions@FreeBSD.ORG Fri Apr 22 09:30:39 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 268B416A4CE for ; Fri, 22 Apr 2005 09:30:39 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0D9443D1F for ; Fri, 22 Apr 2005 09:30:38 +0000 (GMT) (envelope-from greatnorthern@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so730314rnf for ; Fri, 22 Apr 2005 02:30:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HMNhhmseX1ttdCr+haa1HpyQpQI1WyPsCXlS12KuHJQO1IItCz3u8Yuv+KNNOqNK/2KY1oWMH1Z8cxefrP7+VD52Ky3nFQogr0hy9ZpewSKa9JV2mGvwkwTUN3g/78B6pgp9Oc9a18NeTNr491+Weu9opPQkTRYev335SR5JKrs= Received: by 10.38.78.79 with SMTP id a79mr2046997rnb; Fri, 22 Apr 2005 02:30:38 -0700 (PDT) Received: by 10.38.209.80 with HTTP; Fri, 22 Apr 2005 02:30:38 -0700 (PDT) Message-ID: <467b1e7a05042202305325e262@mail.gmail.com> Date: Fri, 22 Apr 2005 11:30:38 +0200 From: Fabian Anklam To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Prevent DHCP from changing resolv.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Fabian Anklam List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 09:30:39 -0000 Hi All, I have a minor problem regarding my network configuration, specifically that the external interface on my router gets it's IP via DHCP from the ISP, so in rc.conf ifconfig_xl0=3D"DHCP" is set. This leads to the single entry in resolv.conf that I want to be there, namely nameserver 127.0.0.1 being replaced with my ISP's nameservers, which in return makes resolving of LAN IPs or even localhost via the installed BIND difficult for the machine. I don't want dhclient to change the resolv.conf. I checked the man pages for resolv.conf, rc.conf and dhclient but couldn't find anything there relating to my problem. Thanks, Fabian