IPv6 for local_unbound?

Sean Bruno sbruno at freebsd.org
Sun Sep 23 21:19:30 UTC 2018


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"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20180923/69970393/attachment.sig>


More information about the freebsd-current mailing list