hosts file keeps reverting
No idea why it's doing it, but you could stop it by changing the permissions on the host file to read-only.  

To set a file to read-only, log in as root via ADB (or use the Terminal application and log in as root) and then enter:  

chmod 444 &lt;path-to-hosts-file&gt;

If you need to edit it again later on, enter:  

chmod 644 &lt;path-to-hosts-file&gt;