Skip to content

Comment on Selfhosting on Localhostparent

Comments

I really, really wish windows and mac had a similar behavior to just route all *.localhost queries to localhost.

I'm happy they don't: DNS queries should be routed to whatever I have in /etc/resolv.conf.

If I have a Pi-Hole or use 8.8.8.8, then *.localhost stuff should not be injected in some clever fashion.

If you happen to use 127.0.0.53 (or whatever) on Linux and 'magic' happens, that's on you. But the system should fiddle with things othwerise.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.