Bug 35053 - QA0404: pump ignores DHCP server supplied domain information.
QA0404: pump ignores DHCP server supplied domain information.
Product: Red Hat Linux
Classification: Retired
Component: pump (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Elliot Lee
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-04-06 12:40 EDT by Eugene Kanter
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-07-16 09:36:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Eugene Kanter 2001-04-06 12:40:32 EDT
If reverse DNS fails, /etc/resolv.conf contains "search localdomain" 
despite the fact that DHCP server transmits domain record. This happends 
for both NT 4.0 and RH 6.2 based dhcp servers. I believe all pump versions 
up one in QA0404 behave this way.

To reproduce:

1. make sure that IP address supplied by DHCP server resolves to a valid 
hostname. Observe that /etc/resolv.conf contains "search validdomain" 
after system is booted.

2. remove the IP address from reverse DNS and from /etc/hosts. Observe 
that /etc/resolv.conf contains "search localdomain" or similar invalid 
Comment 1 Eugene Kanter 2001-04-07 14:25:09 EDT
Seems like the problem lies in --lookup-hostname option. If specified, the 
DOMAIN send by a DHCP server gets IGNORED. Since usually both the DHCP and DNS 
servers on the network are maintained by the same organization/person the 
DOMAIN send by a DHCP server should never be ignored. The relevant code around 
line 1400 in dhcp.c should be changed.....
Comment 2 Elliot Lee 2001-09-11 18:00:03 EDT
pump deprecated in favor of dhcpcd
Comment 3 Eugene Kanter 2001-09-12 08:18:10 EDT
Has anybody verified that dhcpdcd does not exibit the same behavior?

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