Set domain and search entries correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhcp3 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
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-
option dns-domain-
If you use the 'domain-name' option instead
option domain-name "private.
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'.
Changed in dhcp3: | |
importance: | Undecided → Medium |
status: | Unconfirmed → Confirmed |
This is the patch to correct the problem.