From owner-freebsd-net@FreeBSD.ORG Mon Aug 8 11:55:18 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D88771065675; Mon, 8 Aug 2011 11:55:18 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from mho-02-ewr.mailhop.org (mho-04-ewr.mailhop.org [204.13.248.74]) by mx1.freebsd.org (Postfix) with ESMTP id 921608FC0A; Mon, 8 Aug 2011 11:55:18 +0000 (UTC) Received: from pool-141-154-233-28.bos.east.verizon.net ([141.154.233.28] helo=homobox.opal.com) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QqOQP-000IHx-No; Mon, 08 Aug 2011 11:55:17 +0000 Received: from opal.com (localhost [IPv6:::1]) (authenticated bits=0) by homobox.opal.com (8.14.4/8.14.4) with ESMTP id p78BtEmn015731 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Aug 2011 07:55:15 -0400 (EDT) (envelope-from fbsd@opal.com) Received: from shibato.opal.com ([2001:470:8cb8:3:221:63ff:fe5a:c9a7] helo=shibato.opal.com) with IPv6:587 by opal.com; 8 Aug 2011 07:55:14 -0400 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 141.154.233.28 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19DeTurjJ9dVrXAzpILL4Kw Date: Mon, 8 Aug 2011 07:55:11 -0400 From: "J.R. Oldroyd" To: Mattia Rossi Message-ID: <20110808075511.290a3b6d@shibato.opal.com> In-Reply-To: <4E3F31D8.6050208@swin.edu.au> References: <4E3B86C4.7050005@swin.edu.au> <4E3B9346.9000101@FreeBSD.org> <20110805123050.1aa49e0c@shibato.opal.com> <4E3F31D8.6050208@swin.edu.au> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/Fyh=e7=X5h0vWXJ/f3jN8GV"; protocol="application/pgp-signature" 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-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: Mon, 08 Aug 2011 11:55:18 -0000 --Sig_/Fyh=e7=X5h0vWXJ/f3jN8GV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 08 Aug 2011 10:46:16 +1000, Mattia Rossi wrote: >=20 > I'm using the patches from your website on my 8.2 box, which is the IPv6= =20 > gateway and runs rtadvd. The problem with the resolv.conf is happening=20 > on my client though, which is a box running HEAD, so I'll try to follow=20 > Doug's advice, thanks. >=20 Yes, you'll need the openresolv config in this case. Keep in mind that the resolver only queries at most MAXNS nameservers where MAXNS is usually 3. Using the openresolv name_servers_append, you need to make sure that your static servers are listed within the first MAXNS entries. If you have more than MAXNS dynamic servers, your statically configured ones will be ignored. I would just point out though that, in general, you shouldn't need static nameservers just because you have a manual IPv4 configuration. Nameservers will return both IPv4 and IPv6 addresses regardless of whether they were queried over 4 or 6. Of course, if you have an internal nameserver that has private info not available from the dynamically learned nameservers, then you will need a static config. =20 > Is there any chance that you could create a patch for 8.2 based on the=20 > commits in HEAD? > That would be great! >=20 Better would be to ask hrs@ to MFC his commits to 8-stable. -jr --Sig_/Fyh=e7=X5h0vWXJ/f3jN8GV Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAk4/zp8ACgkQls33urr0k4mkowCgorqSAl6cinbewG0IakiTwG1m d4UAn0eOvGiO6UfNmAiBWtM5oDsFdDCu =6E01 -----END PGP SIGNATURE----- --Sig_/Fyh=e7=X5h0vWXJ/f3jN8GV--