On Mar 3, 2011, at 13:21 , Quanah Gibson-Mount wrote: > > Hi Graham, > > I guess I haven't explained well enough. > > Net::LDAP passes IO::Socket::INET a hostname. A hostname that is configured > for both IPv4 and IPv6. The LDAP server is happily bound to both IPv4 and > IPV6. > > If /etc/hosts is ordered in one way, the Perl inet_aton function correctly > resolves the IPv4 address. If /etc/hosts is ordered another way, the Perl > inet_aton function fails to resolve the hostname *at all*. This to me is a > bug.
Ah, yes. I agree that is a bug. Graham.