From owner-freebsd-current@freebsd.org Mon Sep 24 15:10:55 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9ECC810AF37D for ; Mon, 24 Sep 2018 15:10:55 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DB5785093; Mon, 24 Sep 2018 15:10:55 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id CDFC98D4A216; Mon, 24 Sep 2018 15:10:45 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id AD869D1F872; Mon, 24 Sep 2018 15:10:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id HQdRSBcgPL7S; Mon, 24 Sep 2018 15:10:42 +0000 (UTC) Received: from [192.168.124.1] (fresh-ayiya.sbone.de [IPv6:fde9:577b:c1a9:f001::2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 78AC2D1F819; Mon, 24 Sep 2018 15:10:42 +0000 (UTC) From: "Bjoern A. Zeeb" To: "David P. Discher" Cc: "Sean Bruno" , freebsd-current Subject: Re: IPv6 for local_unbound? Date: Mon, 24 Sep 2018 15:10:40 +0000 X-Mailer: MailMate (2.0BETAr6121) Message-ID: In-Reply-To: References: <744d99cd-26e6-e057-0b88-86830ea61f23@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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, 24 Sep 2018 15:10:55 -0000 On 23 Sep 2018, at 22:10, David P. Discher wrote: > I say yes, especially if we wish to support a IPv6 only system at some > point in the future … which seemed to be a “think” of the few > major IPv6 advocates in the industry. > > I guess best practice, this should suck in rc.* config files, and use > v6 if v6 is set via one of the ipv6_* variables. It should probably check if kern.features.inet6: 1 kern.features.inet: 1 are set and only add v6 and v4 in these cases; you could go further and check how ipv6_prefer is set in case both are there and make the order dependent on that .. All will be just more magic to automystriously break things some way .. The reason I don’t like these kind of scripts a lot is that we have a handful of places all thinking they should manage resolv.conf manually in their own way rather than using one thing. >> On Sep 23, 2018, at 2:19 PM, Sean Bruno wrote: >> >> Does it make sense to add an IPv6 localhost (::1) to our setup >> scripts >> for local_unbound? unbound is definitely listening on ::1 as well at >> 127.0.0.1 so things like "host -6" will work if we add it like this >> perhaps? >> >> --- /usr/sbin/local-unbound-setup 2018-09-20 21:47:41.000000000 -0600 >> +++ /tmp/local-unbound-setup 2018-09-23 13:27:01.841365000 -0600 >> @@ -152,6 +152,7 @@ >> done >> if [ "${localhost}" = "no" ] ; then >> echo "nameserver 127.0.0.1" >> + echo "nameserver ::1" >> fi >> if [ "${edns0}" = "no" ] ; then >> echo "options edns0" >> > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org"