HOW-TO:Keep resolv.conf settings in DHCP after reboot

From Official Kodi Wiki
Revision as of 17:06, 23 January 2012 by Cyber7 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The problem is that DHCP will always use your local-host as a search-host after you have rebooted your machine. To keep this from happening, a small edit is necessary.


  1. Edit the file: "/etc/dhcp3/dhclient.conf
  2. Look for the line hashed out (#) starting with the word "prepend"
  3. Un-comment the line (by removing the (#) and add your search domain (You can replace the IP numbers with for example, google's -
  4. Reboot and you will see your /etc/resolv.conf has the search-domain stuck.

Cyber7 12:06, 23 January 2012 (EST)