Editing a HOSTS file is always a bad idea (this is why god invented DNS), though it might provide a bandaid, it is not a solution. The real problem exists out of our control.
And you are right, if the IP changes, I can see 20 more threads about not finding the login server.
