[Bug 1088682] Re: dhclient does not register hostname to dynamic DNS (AD)

Stéphane Graber stgraber at stgraber.org
Thu Jan 17 22:13:03 UTC 2013


Gah, so apparently nobody respects the RFCs as usual...

In short, fqdn.fqdn can be partly qualified according to the RFC, but not according to the ISC implementation, so we can't just put the hostname in there.
host-name and fqdn.fqdn can't be set at the same time according to the RFC, though according to the ISC implementation, they can.

So the only way to be RFC and ISC compliant is to avoid setting
fqdn.fqdn and only setting host-name, which will possibly cause DHCPv6
not to send the hostname... Only way around then would be the separate
config file.

I'm going to go with unsetting fqdn.fqdn for now in the dev release and
will look at how much work it'd be to split the config into
dhclient.conf and dhclient6.conf. That's after all what we're already
doing for dhcpd and will avoid any similar problem in the future.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1088682

Title:
  dhclient does not register hostname to dynamic DNS (AD)

Status in “isc-dhcp” package in Ubuntu:
  Fix Committed
Status in “isc-dhcp” source package in Quantal:
  New
Status in “isc-dhcp” source package in Raring:
  Fix Committed

Bug description:
  This is not working in quantal (4.2.4-1ubuntu10) and raring
  (4.2.4-3ubuntu1), but is working in precise (4.1.ESV-R4-0ubuntu5).

  A patch fixed an issue for bug 991360 where dhclient.conf was amended to include:
  send fqdn.fqdn = gethostname();

  This causes failures when the client tries to register was some DHCP servers (for example Windows AD DDNS servers).
  By commenting out this line and restarting the client, the client can then register with this type of DHCP server.

  However, this is needed to ensure dhcpv6 works.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1088682/+subscriptions




More information about the foundations-bugs mailing list