pump mishandles DNS domain and NIS domain. It may be caused by confusion from ISC dhcp. In /etc/dhcpd.conf, you can define option nis-domain "foo.com"; option domain-name "bar.foo.com foo.com"; The nis-domain option sets the NIS domain name. But the domain-name option is quite misleading. In fact, it is the value of the search field in /etc/resolv.conf. "dns-search-domain" may be a better name. You can do # find -type f | xargs grep domain-name in the dhcp 2.0 source tree to see how it is used. In any case, pump has several problems: 1. It cannot handle option domain-name "bar.foo.com foo.com"; 2. It doesn't record the NIS domainname and it tries to use the domain-name to set the NIS domainname. 3. --lookup-hostname will remove the domain-name name. H.J.
Created attachment 3821 [details] This patch seems to fix the DNS/NIS domain problem.
There is another problem with NIS domain. pump won't update NIS domainname unless it is localdomain. Also you cannot tell pump not to update NIS domain. I will upload an updated patch.
Created attachment 3946 [details] An updated patch for DNS/NIS domain
I think this is another way of stating the same problem: My laptop, upgraded from 6.2 to 7.0 now fails to set the "search" line in /etc/resolv.conf when it gets network info via DHCP. It just gets left blank as in: search nameserver 192.168.0.1 If I get a chance I'll try the patch and submit an additional comment with the results.
I tried the patch and it solved my problem. The "search" field is now set correctly.
latest with patch in cvs