Comment Comment by tommiegannert That's the speced behavior of localhost:> The domain "localhost." and any names falling within ".localhost." are special in the following ways:> 4. [---] Instead, caching DNS servers SHOULD, for all such address queries, generate an immediate positive response giving the IP loopback addresshttps://datatracker.ietf.org/doc/html/rfc6761#section-6.3 parent tommiegannert 2 years ago
> The domain "localhost." and any names falling within ".localhost." are special in the following ways:
> 4. [---] Instead, caching DNS servers SHOULD, for all such address queries, generate an immediate positive response giving the IP loopback address
https://datatracker.ietf.org/doc/html/rfc6761#section-6.3