dhclient and your resolv.conf

I use a custom search domain (so I don't have to type out web-ster.com) to save me a lot of typing. The problem is that everytime I DHCP (or renew) it overwrites my /etc/resolv.conf with whatever the DHCP options are. I finally found a way to append on the search domain in Fedora. Simply create a file /etc/dhclient-exit-hooks file with these contents

echo "search web-ster.com" >> /etc/resolv.conf


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 44.192.15.251
To prevent spam please submit by clicking the kitten: