[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: /etc/hosts and resolving of the local host/domainname - vs.

On Wed, Aug 07, 2013 at 10:29:01AM -0700, Russ Allbery wrote:
> I think RFC 1912 is interesting here:
>    The "localhost" address is a "special" address which always refers to
>    the local host.  It should contain the following line:
>            localhost.      IN      A

RFC 6761 has a bunch of clarifications, especially towards localhost use
for IPv6 as well.

 Users may assume that IPv4 and IPv6 address queries for localhost names
 will always resolve to the respective IP loopback address.

This conviently ignores the question what should be returned if you're
interested in an answer that does not specify either IPv4 or IPv6.

Kind regards
Philipp Kern

Attachment: signature.asc
Description: Digital signature

Reply to: