Bug 91729 - dhclient doesn't handle multiple DNS search domains
Summary: dhclient doesn't handle multiple DNS search domains
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: dhcp (Show other bugs)
(Show other bugs)
Version: 9
Hardware: i686 Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2003-05-27 17:33 UTC by Steve Coile
Modified: 2007-04-18 16:54 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-08-01 20:10:58 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Steve Coile 2003-05-27 17:33:26 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
According to my network administrator, our DHCP servers are returning four DNS
search domains, but dhclient included with RHL 9 is not adding them to
/etc/resolv.conf.  Looking at /sbin/dhclient-script, it appears that there is,
in fact, no support for multiple domains.

Might I also say, having now looked at dhclient to some degree, that it's utter
crap!  Some sort of debugging mode would be nice, to see what data the client is
actually receiving from the server.  I know this isn't Red Hat's problem, though.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Configure DHCP server to provide multiple DNS search domains.
2. Configure dhclient to configure resolver from server-provided config.
3. Run dhclient.
4. Note missing DNS search paths in /etc/resolv.conf.

Actual Results:  As described above.

Expected Results:  Multiple domain names in the "search" line in
/etc/resolv.conf following a successful DHCP lease renewal.

Additional info:

Pump and dhcpcd seems to work better than this.  A DNS search path is
fundamental functionality.

Comment 1 Daniel Walsh 2003-06-19 19:28:59 UTC
dhcpd does not support passing of the search parameter.  However you might be
able to modify the domain_name parameter and make it a space separated list
which would then update the /etc/resolv.conf on the clients with the search path.

I am not sure if this will hurt anything but it should work.


Note You need to log in before you can comment on or make changes to this bug.