From owner-freebsd-net@FreeBSD.ORG Fri Aug 5 06:52:55 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 82EAF1065672; Fri, 5 Aug 2011 06:52:55 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 12-207-105-211.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id B6FA81A8172; Fri, 5 Aug 2011 06:52:54 +0000 (UTC) Message-ID: <4E3B9346.9000101@FreeBSD.org> Date: Thu, 04 Aug 2011 23:52:54 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110706 Thunderbird/5.0 MIME-Version: 1.0 To: Mattia Rossi References: <4E3B86C4.7050005@swin.edu.au> In-Reply-To: <4E3B86C4.7050005@swin.edu.au> X-Enigmail-Version: 1.2pre OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org, fbsd@opal.com Subject: Re: resolvconf script overwrites entries in resolv.conf - RDNSS/DNSSL related X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2011 06:52:55 -0000 On 08/04/2011 22:59, Mattia Rossi wrote: > Hi all, > > I've finally patched my 8.2 IPv6 gateway with the RDNSS/DNSSL patches > and I'm distributing DNS servers that way now. Works fine, my box > running CURRENT picks up the DNS servers and search domains and writes > them into /etc/resolv.conf using the resolvconf script. > > The script anyhow overwrites my previous manual entries in > /etc/resolv.conf which I need for my manual IPv4 setup... > > I think it's an easily fixable bug - haven't looked into it that close > atm., but given that the resolvconf script is going to be > rewritten/enhanced anyways, that's something to keep in mind. > I think that manual entries should always be preferred. Check 'man resolvconf.conf' for information on name_servers_append. It would probably be nice if there was a _prepend equivalent. -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/