On Fri, 8 Jun 2007, Jeroen Massar wrote:
I've noted that on a variety of machines /etc/hosts finally do get
pre-configured with "::1 ip6-localhost", but should this not be "::1
localhost", so that any daemon doing getaddrinfo("localhost",...) and
binding to all the sockets that that produces correctly listens on both
127.0.0.1 and ::1 ?
For consistency it should really have localhost defined and ip6-localhost
be optional. However, the distinction is not likely to be visible to most
end users anyway so it shouldn't matter too much. Anyone configuring an
app to bind to 'localhost' explicitly should probably already be aware of
what their system (or local DNS) considers 'localhost' to be and whether
the local apps that are talking to each other can do so over IPv6 vs IPv4.
_______________________________________________
DNSOP mailing list
[email protected]
https://www1.ietf.org/mailman/listinfo/dnsop