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

From Official Kodi Wiki
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.

STEPS:

  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 - 8.8.8.8)
  4. Reboot and you will see your /etc/resolv.conf has the search-domain stuck.

Cyber7 12:06, 23 January 2012 (EST)

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox