annoying hostfile quirk – 9 entries per line
So for example: hosts 1-9 will work and resolve correctly but host10 will be be ignored. It will then it will try and resolve by DNS and fail.
My advice FWIW is keep your hostfiles with one entry per line:
Just as it says in the (oft seen but ignored) comments at the top of the hosts file:
“Each entry should be kept on an individual line”