After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 677099 - IPv6: NetworkManager configures RDNSS and DNSSL though DHCPv6 even though AdvOtherConfigFlag is not set
IPv6: NetworkManager configures RDNSS and DNSSL though DHCPv6 even though Adv...
Status: RESOLVED NOTABUG
Product: NetworkManager
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2012-05-30 14:12 UTC by Pavel Simerda
Modified: 2012-06-13 11:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pavel Simerda 2012-05-30 14:12:36 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
Comment 1 Pavel Simerda 2012-06-13 11:40:04 UTC
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.