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 record.
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.....
pump deprecated in favor of dhcpcd
Has anybody verified that dhcpdcd does not exibit the same behavior?