HOW-TO:Keep resolv.conf settings in DHCP after reboot
From Official Kodi Wiki
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.
- Edit the file: "/etc/dhcp3/dhclient.conf
- Look for the line hashed out (#) starting with the word "prepend"
- Un-comment the line (by removing the (#) and add your search domain (You can replace the IP numbers with for example, google's - 18.104.22.168)
- Reboot and you will see your /etc/resolv.conf has the search-domain stuck.
Cyber7 12:06, 23 January 2012 (EST)