Google provides public IPv6 name servers. If you try to prepend them in the dhclient.conf, you get an error because it won't accept IPv6 addresses. interface "em0" { prepend domain-name-servers 2001:4860:4860::8888, 2001:4860:4860::8844; } # /etc/rc.d/dhclient restart em0 Stopping dhclient. Starting dhclient. value 2001 exceeds max (255) for precision. /etc/dhclient.conf line 13: too few numbers. prepend domain-name-servers 2001: ^ DHCPREQUEST on em0 to 255.255.255.255 port 67 DHCPACK from 172.16.21.1 bound to 172.16.21.107 -- renewal in 21600 seconds. This doesn't work either: interface "em0" { prepend dhcp6.name-servers 2001:4860:4860::8888; } # /etc/rc.d/dhclient restart em0 Stopping dhclient. Starting dhclient. /etc/dhclient.conf line 14: no vendor named dhcp6. prepend dhcp6.name-servers ^ DHCPREQUEST on em0 to 255.255.255.255 port 67 DHCPACK from 172.16.21.1 bound to 172.16.21.107 -- renewal in 21600 seconds. How-To-Repeat: configure /etc/dhclient.conf like above and restart dhclient.
Still true on a recent HEAD.
dhclient(8) supports only DHCP protocol, for DCHPv6 you should use some another software.
For bugs matching the following conditions: - Status == In Progress - Assignee == "bugs@FreeBSD.org" - Last Modified Year <= 2017 Do - Set Status to "Open"
FreeBSD ships with a resolvconf(8) implementation which dhclient should support. So you can use that functionality to achieve the same results. Try this in /etc/resolvconf.conf name_servers="2001:4860:4860::8888, 2001:4860:4860::8844"