GNOME Bugzilla – Bug 677099
IPv6: NetworkManager configures RDNSS and DNSSL though DHCPv6 even though AdvOtherConfigFlag is not set
Last modified: 2012-06-13 11:40:04 UTC
NetworkManager puts DHCPv6 DNS information to /etc/resolv.conf when AdvManagedFlag=on and AdvOtherConfigFlag=off. Server-side configuration: /etc/radvd.conf: interface eth1 { AdvSendAdvert on; MinRtrAdvInterval 30; MaxRtrAdvInterval 100; AdvManagedFlag on; prefix 2001:abcd:1:1:0::/64 { AdvAutonomous off; }; RDNSS 2001:abcd:1:1::ab {}; DNSSL example.net {}; }; /etc/dhcp/dhcpd6.conf: option dhcp-renewal-time 3600; option dhcp-rebinding-time 7200; subnet6 2001:abcd:1:1::/64 { option dhcp6.name-servers 2001:abcd:1:1::ef; option dhcp6.domain-search "test.test"; range6 2001:abcd:1:1::1:0000 2001:abcd:1:1::1:ffff; } Client-side result: [root@station ~]# cat /etc/resolv.conf # Generated by NetworkManager search test.test. nameserver 2001:abcd:1:1::ab nameserver 2001:abcd:1:1::ef
New info: According to RFC 4861: If the M flag is set, the O flag is redundant and can be ignored because DHCPv6 will return all available configuration information. (http://tools.ietf.org/html/rfc4861#section-4.2) I don't know if it's good design or bad design but this is what the standard says and it works.