4 ms·
The domain "localhost.", and any names falling within ".localhost.", are known as "localhost names". Localhost names are special in the following ways […
by filleokus 9y ago
The domain "localhost.", and any names falling within ".localhost.",
are known as "localhost names". Localhost names are special in the
following ways […]
Is this not implemented on macOS or am I just misunderstanding?
~ ping test.localhost
ping: cannot resolve test.localhost: Unknown host
~ ping localhost.test
ping: cannot resolve localhost.test: Unknown host
- tntniceman 9y agoAs I understood it, that simply states that if any of those domains were implemented, they should loopback, as opposed to all domains containing "localhost" ARE implemented.
- filleokus 9y agoThank you for the clarification!
- djrogers 9y agoIt would be rather surprising if a brand new draft RFC from a google employee were already implemented in macOS...
- filleokus 9y agoYeah of course, sorry, I misread the document. I took that part as to describe the current state.
- Matheus28 9y agoTo clarify a bit further than what the other comments said (abc.localhost. isn't implemented on macOS): The RFC draft is talking about domains ending in ".localhost.", not any domain containing ".localhost." (so abc.localhost.example.com wouldn't be localhost). All domains have to end with a period, or they're not fully qualified. "example.com" could mean "example.com.my.domain." if whatever you're using uses "my.domain." as the root. But "example.com." is always "example.com." Nowadays that feature isn't used very often, as the root of domains not ending in a period is usually assumed to be in the root zone.