Why is Android showing a different hosts file once my system is booted versus in recovery?
I got this problem, too.

After my searching and try for hours, finnally it worked.

Just use adb push to copy a hosts file to both /system/etc/hosts and /etc/hosts

I think /etc/hosts probobaly overrides /system/etc/hosts when the phone rebooting.