From owner-freebsd-current@FreeBSD.ORG Mon Aug 8 00:46:49 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27E09106564A; Mon, 8 Aug 2011 00:46:49 +0000 (UTC) (envelope-from mrossi@swin.edu.au) Received: from gpo3.cc.swin.edu.au (gpo3.cc.swin.edu.au [136.186.1.32]) by mx1.freebsd.org (Postfix) with ESMTP id B39EE8FC0C; Mon, 8 Aug 2011 00:46:48 +0000 (UTC) Received: from mrossi.caia.swin.edu.au (mrossi.caia.swin.edu.au [136.186.229.109]) by gpo3.cc.swin.edu.au (8.14.3/8.14.3) with ESMTP id p780kGkQ009240; Mon, 8 Aug 2011 10:46:17 +1000 Message-ID: <4E3F31D8.6050208@swin.edu.au> Date: Mon, 08 Aug 2011 10:46:16 +1000 From: Mattia Rossi User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110707 Thunderbird/5.0 MIME-Version: 1.0 To: "J.R. Oldroyd" References: <4E3B86C4.7050005@swin.edu.au> <4E3B9346.9000101@FreeBSD.org> <20110805123050.1aa49e0c@shibato.opal.com> In-Reply-To: <20110805123050.1aa49e0c@shibato.opal.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Doug Barton , freebsd-current@freebsd.org Subject: Re: resolvconf script overwrites entries in resolv.conf - RDNSS/DNSSL related X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2011 00:46:49 -0000 On 05/08/2011 20:30, J.R. Oldroyd wrote: > On Thu, 04 Aug 2011 23:52:54 -0700, Doug Barton wrote: >> >> On 08/04/2011 22:59, Mattia Rossi wrote: >>> I've finally patched my 8.2 IPv6 gateway with the RDNSS/DNSSL patches >>> The script anyhow overwrites my previous manual entries in >>> /etc/resolv.conf which I need for my manual IPv4 setup... >>> >> Check 'man resolvconf.conf' for information on name_servers_append. It >> would probably be nice if there was a _prepend equivalent. >> > > Mattia, when you say you have the patches, which ones? > > To be clear, the RDNSS/DNSSL support that was committed to head was > very heavily modified from that which I proposed and which is on my > web site. In particular, the resolvconf(8) tool that I offered was > not used at all; the version in head is the openresolv tool by Roy > Marples. Doug's response is in regard to the resolvconf version > in head. I'm using the patches from your website on my 8.2 box, which is the IPv6 gateway and runs rtadvd. The problem with the resolv.conf is happening on my client though, which is a box running HEAD, so I'll try to follow Doug's advice, thanks. > > FWIW, the resolvconf version from my site will use the most recent > nameservers received by from either dhclient-script or rtadvd but you > can also add "static" entries using standard resolv.conf syntax in the > /var/db/resolv.db file; see the man page with that version. I'll remember to read the manpages more thoroughly :-) > > I will update my RDNSS/DNSSL web page now to add a warning that my > patches have been superseded and that folk should use the committed > versions where possible. > Is there any chance that you could create a patch for 8.2 based on the commits in HEAD? That would be great! Thanks, Mat