by filleokus · 9y ago · 0 comments
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 hostThe 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.