<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jan 4, 2015 at 10:34 AM, René J.V. <span dir="ltr">&lt;<a href="mailto:rjvbertin@gmail.com" target="_blank">rjvbertin@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sunday January 04 2015 09:05:42 Brandon Allbery wrote:<br>
<br>
&gt;From the standpoint of DNS, &quot;localhost&quot; is fully qualified: it is not the<br>
&gt;short form of a name that is meaningful only in the context of a particular<br>
&gt;domain.<br>
<br>
</span>AFAIK you need an entry in /etc/hosts in order for &quot;localhost&quot; to be defined, no?<br></blockquote><div><br></div><div>BIND9 at least comes with a local zone definition that includes &quot;localhost.&quot; as a name, with the usual mapping. That said, people *usually* get it from /etc/hosts... *but* OS X is a little weird in how/when it uses the hosts file.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">&gt;It sounds like the problem is that Apple has moved to making IPv6 the<br>
&gt;default, even when only local IPv6 connectivity (ie. zeroconf/Bonjour)<br>
&gt;exists. I would expect this to have other knock-on effects, for example it<br>
&gt;will try to connect to IPv6 addresses returned by external DNS even though<br>
&gt;it cannot. Beyond that, it sounds like IPv6 loopback may not be being<br>
&gt;configured if only link-local addresses are configured; this seems like an<br>
&gt;Apple bug to me.<br>
<br>
</span>Hmmm, I did notice, already under 10.6.8, that zeroconf address resolution yielded IPv6 addresses for my Mac that cause issues (from a Linux host) when I&#39;m connected to my TimeCapsule&#39;s WiFi network, which is configured to bridge the main router/modem&#39;s local network. Not sure if that&#39;s related, but it does help making me think of IPv6 as something that&#39;s not quite ready for wide-spread use without IT staff ...<br></blockquote><div><br></div><div>It&#39;ll be fine once commodity Internet and commodity routers/access points (aside from Apple&#39;s!) includes IPv6 connectivity. Currently, you&#39;ll find that getting IPv6 upstream is nearly impossible in many places / with many providers; most commodity routers don&#39;t handle IPv6, or require extra configuration to do so, even if you have it (or are only using link-local!); and this means you cannot configure IPv6 properly and many things can (not necessarily will) fail in weird ways.</div><div><br></div><div>In this particular case, either Apple is not associating ::1 with the loopback adapter in link-local IPv6 mode or Apache is not configuring IPv6 (and therefore not listening on ::1) if it doesn&#39;t find a full IPv6 configuration; I can&#39;t say which. In the one you describe, I&#39;m betting that something does not understand IPv6, so when Linux tries to use avahi (its version of zeroconf) to connect it fails. (Sadly, Bonjour includes IPv6 addresses in the zeroconf broadcast over IPv4, so other machines will indeed attempt to make IPv6 connections even when they&#39;re only receiving IPv4 zeroconf. I&#39;ve seen this failure mode myself, and it is one reason my stuff is now on a separate network with local IPv6.)</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>