static dhcp6_name_servers
Walrath, Paul
Wed May 06 16:11:52 2015
Hi Roy,
Is it possible to set static dhcp6_name_servers just like you can set static domain_name_servers? This doesn't seem to work when I try it. It may be that 20-resolv.conf isn't processing the variable. The following code is all that I see in 20-resolv.conf with regard to new_dhcp6_name_servers:
# For ease of use, map DHCP6 names onto our DHCP4 names
case "$reason" in
BOUND6|RENEW6|REBIND6|REBOOT6|INFORM6)
new_domain_name_servers="$new_dhcp6_name_servers"
new_domain_search="$new_dhcp6_domain_search"
;;
esac
To allow domain name server addresses to come from a DHCPv4 server and from static assignment in dhcpcd.conf but not from a DHCPv6 server or ICMPv6 router advertisement, the setup in dhcpcd.conf would be something like this:
interface eth0
option domain_name_servers
static dhcp6_name_servers=2001:4860:4860:8888
I don't think this works as I expect it to. What do you think?
Paul Walrath
Archive administrator: postmaster@marples.name