From: "obrien.andrew@..." Date: 2006-09-28T06:35:11+09:00 Subject: Re: Bonjour and Socket::getaddrinfo Paul: I removed the line from /etc/hosts like you recommended -- something in my head was telling me that that wasn't really a good idea anyway. Also, I have no /etc/hostname file. I think OS X has a different way of assigning hostnames. Also also, I see what you mean about hostname -s not persisting after restarting. Gary: That's how my /etc/hosts looks too. > I ask because this address is normally entered into /etc/hosts as well, > unless of course DHCP is creating the assignment (different address every > time). I suppose I should mention that my address is assigned by DHCP, so if I understand correctly, it wouldn't show up in that file. I'm assuming that OS X keeps track of the association somewhere else (and I'm further assuming that this is handled by Bonjour/Zeroconf?). > By the way, the "::1 localhost" syntax is quite alien from a *nix > perspective. Hard to say what it means. Yeah, that confused me at first as well. I looked into it and it's for IPv6 compatibility.