[PLUG] /etc/resolv.conf and DHCP
Steven Raymond
stever at woo-hoo.com
Thu Aug 21 12:16:02 UTC 2003
So I like to be able to go "ssh hostname" instead of "ssh
hostname.domain.com". If I edit /etc/resolv.conf with "search domain1.com
domain2.com" then it tries all of those in order and saves me the trouble
of typing the domain name.
When I converted this rh9 machine over to DHCP, I found that
/sbin/dhclient-script overwrites /etc/resolv.conf and eliminates the
search parameter. Is there any way to feed options like "search
domain1.com domain2.com" to dhcpd? I can't figure out how. Or is there a
another way, perhaps hacking /sbin/dhclient-script so that it doesn't
overwrite /etc/resolv.conf search parameters?
Any advice is appreciated.
More information about the PLUG
mailing list