dhclient 4.2.1-P1 does not set IPv6 DNS servers

Andrej Podzimek andrej.podzimek at gmail.com
Sat Nov 5 03:57:46 UTC 2011


Hello,

my network uses the following combination of radvd.conf flags:

         AdvManagedFlag off;
         AdvOtherConfigFlag on;

The network consists of a Linux router with a 802.11n access point and an ethernet LAN. The correspoinding subnets are both configured as follows in dhcpd6.conf:

	subnet6 2002:****:****::/64 {
	        option dhcp6.name-servers 2002:****:****::1;
	}

When running dhclient (dhclient -6 -S interface), it seems to do absolutely nothing and exists with a zero status. When the -v option is used, it reports some communication with the DHCPv6 server, but /etc/resolv.conf in not modified in any way.

Further experiments:

	* A Windows 7 client works fine in the same network. After a couple of netsh commands, it will acquire the DNS address from DHCPv6 on each boot.
	* A short configuration file for dhclient on the Linux boxes:
		interface "wlan0" {
			send host-name "thehostname";
			also require dhcp6.name-servers;
		}

The Linux clients fail to obtain the DHCP server address even with the dhclient config file.

Since I have BIND running on the server and DHCPv4 can update dynamic DNS entries, it would be nice to have a similar feature for IPv6. Unfortunately, this does not work at all for DHCPv6. There are no error messages, but the AAAA records are never updated, no matter if a Linux or a Windows 7 client connects. Perhaps the stateless DHCPv6 configuration (-S) cannot update the dynamic DNS entries...?

To sum up, I have two questions:

	* Does the stateless dhcp configuration in dhclient work at all? Can it configure at least the DNS servers?
	* Is it possible to update DNS zones (both forward and reverse) based on the stateless DHDPv6 queries? How does one do this?

A piece of advice would be very helpful. :-) I am running version 4.2.1-P1 (on both client and server).

Andrej

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4381 bytes
Desc: Elektronick�� podpis S/MIME
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20111105/b302e7d1/attachment.bin>


More information about the dhcp-users mailing list