Problem: Windows ignores hosts file entries and falls back to DNS
Discussion: When you have more than 9 hostnames in a single hosts file line, all hostnames 10 and up are ignored.
On Debian Linux the limit is much higher. On Alpine I heard there is a character limit per line, but
I haven't verified that.
Solution: Split the lines!
--- hosts
10.0.0.1 app1 app2 app3 app4 app5 app6 app7 app8 app9 app10 app11
# app10 app11 fail
10.0.0.1 app1 app2 app3 app4 app5 app6 app7 app8 app9
10.0.0.1 app10 app11
# works
Version: tested on Windows 11 (2026)