Public bug reported:

The problem occures, if you want your DHCP server to deliver the
domain-search entries too.

The dhcp-option for this is #119 (RFC3397).

 Example in dhcpd.conf:
  option dns-domain-search-list code 119 = string;
  option dns-domain-search-list "private.anders.local anders.local";

If you use the 'domain-name' option instead

  option domain-name "private.anders.local anders.local";

it will work under Linux (it will create a 'search' line), but other
systems (like MacOSX) will fail (because they create a 'domain'
line, which did not allow more than one domain entry).

If would be better, if the 'domain-name' option will create the 'domain'
line in the '/etc/resolv.conf' and use the (correct) option to set
the 'search'  line.

The patch tries to make it backward compatible and sets the 'search'
line, as before but only sets the first domain name as 'domain'.

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

-- 
Set domain and search entries correctly
https://launchpad.net/bugs/98618

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to