[Bug 1104675] Re: Bad handling of multiple domainname options

Axel Beckert abe at deuxchevaux.org
Mon Jan 28 15:26:48 UTC 2013


Hi Chris,

Chris Carlin wrote:
> This is actually a longstanding issue I've been having for years. At the
> moment I have computers running 12.04 and 12.10, both showing the
> behavior. The 12.10 computer is running isc-dhcp-client v.
> 4.2.4-1ubuntu10.1 for what it's worth.

Thanks for the information!

> But that made me realize I had a little server running Debian Wheezy,
> and the problem is there too. That answers my question about whether
> this behavior might be related to a Ubuntu-specific script.

Would you mind filing a bug report against Debian, too?

> The bug linked doesn't specifically address this. The bug seems to point
> to a single dhcp option containing multiple domains, while what I have
> is multiple dhcp options each with a single domain.

Thanks for this detail. I already wondered about where the difference
is, but I was sure that there is one. :-)

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5

-- 
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/1104675

Title:
  Bad handling of multiple domainname options

Status in “isc-dhcp” package in Ubuntu:
  New

Bug description:
  As far as I know, the dhcp standards do not allow for multiple
  Domainnames to be set through Option 15. My LInksys router doesn't
  care, though, and sends both the Domainname I gave it AND the
  Domainname my ISP gives it. Maybe this is non-standard, but it is what
  it is.

  isc-dhcp-client handles this in the worst possible way. It could
  choose one name or the other, or it could ignore both names when it
  sees the malfunction. Instead, it concatenates the names together,
  assuring that it ends up with an invalid name.

  From the below excerpt of dhcpdump I would end up with the domain name
  my.comhr.remote.com.

  OPTION:   6 (  4) DNS server                192.168.0.1
  OPTION:  15 ( 6) Domainname                my.com
  OPTION:  15 ( 13) Domainname                hr.remote.com
  ---------------------------------------------------------------------------

  In the end this gives me an invalid domain in search in resolv.conf.
  Ideally I'd end up with "search my.com hr.remote.com" there, but from
  scanning the scripts I can see how that wouldn't really work. Still,
  the concated domainname seems like a bad idea.

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




More information about the foundations-bugs mailing list