From owner-freebsd-current@freebsd.org Sun Sep 23 22:10:17 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 E2948109B47C for ; Sun, 23 Sep 2018 22:10:16 +0000 (UTC) (envelope-from dpd@dpdtech.com) Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 692E4853C3 for ; Sun, 23 Sep 2018 22:10:16 +0000 (UTC) (envelope-from dpd@dpdtech.com) Received: by mail-pf1-x433.google.com with SMTP id k19-v6so8215542pfi.1 for ; Sun, 23 Sep 2018 15:10:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dpdtech.com; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=tNgu1h7mnVO/VDgQHIk+c6fzPdd1Q3EMfL9lKU3Q5gk=; b=Wp69aNyM/t89+Ca+E/L9wUSLkJPI5QwkeqPNGVi/0XJ+GK8rDeGurII9uNDo4YtdyQ bE6j3CsLs/GM0W2veo8i6/iNIkiyG0T90B4CmTmrUKmlbg6Gq0nWRRybLTnioWok+rid 5HTiTDv+MQTbMJNQzBdg1bdGr+qiQ4YD7V2F0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=tNgu1h7mnVO/VDgQHIk+c6fzPdd1Q3EMfL9lKU3Q5gk=; b=ryz1tyDq49mTxOqGkgcEHzPVzV6L1r14C7Sf0MNXneF/UMDLTwIJ0zo0+2TYffexqa vKq3ox+NRZU+azFctKWJ09BeKYnKEW6SLSXYtx/rCh5CmhmsItXq0ggDJDRTTyfTp1Ja nTa2A1Arr8DEI8reo0JTeGHcYMYSONHT3w1TB0WpwNbeO70TAhs7YU72yOh5ldi6chJ7 J4aEIn+5EsPWgePnQ9In82ZADoMcRjD8nTPtEKz1HZyqJZ81se3kbuehxzS7T1Fo1t8N tdNMYXCLJMSOOsozEcie5C2rghBUhuaYy0L9NlEH7QLymLGj2lLKO94larImipLEG/76 P/1Q== X-Gm-Message-State: ABuFfoiFOfOC/B2I5VMnx/lHmRiLLhvHD1C/EtcsNBJyDfMnWkljwm4r +3AJ+G0yD9QC6p7SUc/ibuw9FB6ntVw= X-Google-Smtp-Source: ANB0VdZdoNehMT1Qp3J7/mfTzRFOOER15/JuAu/EKM9JQz2iFxhtfUMtXvpTcQ5PMqoI6r5kQx1KEg== X-Received: by 2002:a63:6a86:: with SMTP id f128-v6mr4733353pgc.165.1537740615520; Sun, 23 Sep 2018 15:10:15 -0700 (PDT) Received: from ?IPv6:2603:3024:160b:6ff0:9051:c46e:ce99:68a2? ([2603:3024:160b:6ff0:9051:c46e:ce99:68a2]) by smtp.gmail.com with ESMTPSA id c201-v6sm1878930pfb.147.2018.09.23.15.10.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Sep 2018 15:10:14 -0700 (PDT) From: "David P. Discher" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: IPv6 for local_unbound? Date: Sun, 23 Sep 2018 15:10:10 -0700 In-Reply-To: <744d99cd-26e6-e057-0b88-86830ea61f23@freebsd.org> Cc: freebsd-current To: Sean Bruno References: <744d99cd-26e6-e057-0b88-86830ea61f23@freebsd.org> X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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: Sun, 23 Sep 2018 22:10:17 -0000 I say yes, especially if we wish to support a IPv6 only system at some = point in the future =E2=80=A6 which seemed to be a =E2=80=9Cthink=E2=80=9D= of the few major IPv6 advocates in the industry.=20 I guess best practice, this should suck in rc.* config files, and use v6 = if v6 is set via one of the ipv6_* variables.=20 -- David P. Discher=20 https://davidpdischer.com/ dpd@dpdtech.com > On Sep 23, 2018, at 2:19 PM, Sean Bruno wrote: >=20 > 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? >=20 > --- /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}" =3D "no" ] ; then > echo "nameserver 127.0.0.1" > + echo "nameserver ::1" > fi > if [ "${edns0}" =3D "no" ] ; then > echo "options edns0" >=20