[Bug 327962] [NEW] dhclient ignores additional parameters to the domain-search directive

Launchpad Bug Tracker 327962 at bugs.launchpad.net
Thu Jul 16 19:26:04 BST 2009


You have been subscribed to a public bug:

Binary package hint: dhcp

Ubuntu 8.10 i386

dhcp3-client:
  Installiert: 3.1.1-1ubuntu2
  Kandidat: 3.1.1-1ubuntu2
  Versions-Tabelle:
 *** 3.1.1-1ubuntu2 0
        500 http://de.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status


I need to give search domains to dhclient so that they appear in /etc/resolv.conf in addition to the search domain delivered by the DHCP server.

Therefore I add an append or prepend statement to
/etc/dhcp3/dhclient.conf:

        append domain-search "subdomain.domain.com", "domain.com";

This is according to the documentation. Please see Debian bug 461056.

The net result is that only the first directive gets into resolv.conf,
the second (and furhter) ones are being ignored.

It should add a line to /etc/resolv.conf:

        search <domain given by DHCP server> <domain1 given by append>
<domain2 given by append>

But it is only doing

        search <domain given by DHCP server> <domain1 given by append>

** Affects: dhcp3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
dhclient ignores additional parameters to the domain-search directive
https://bugs.edge.launchpad.net/bugs/327962
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in ubuntu.



More information about the Ubuntu-server-bugs mailing list