IPv6 for local_unbound?

David P. Discher dpd at dpdtech.com
Sun Sep 23 22:10:17 UTC 2018


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. 


--
David P. Discher 
https://davidpdischer.com/
dpd at dpdtech.com

> On Sep 23, 2018, at 2:19 PM, Sean Bruno <sbruno at freebsd.org> 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"
> 



More information about the freebsd-current mailing list