If you're getting to the point where you have to open a terminal, elevate to root and edit your hosts file, that's beyond a bored impulse. You know exactly what you're doing and you can stop yourself. That tiny bit of friction is enough to defeat the ingrained impulses and make you think.