Sorry, I never got round to responding. The gai.conf change did the trick
without having to mess about with hosts files.
Thanks
-----Original Message-----
From: users-bounces+alex=starfleet-hq.com(a)lists.bitfolk.com
[mailto:users-bounces+alex=starfleet-hq.com@lists.bitfolk.com] On Behalf Of
Alex Hudson
Sent: 07 September 2010 13:49
To: users(a)lists.bitfolk.com
Subject: Re: [bitfolk] IPv4/v6 preference
On Tue, 2010-09-07 at 11:25 +0100, ed wrote:
On Tue, Sep 07, 2010 at 11:07:29AM +0100, Alex
Monaghan wrote:
And additional observation, if I telnet to the
remote port, this also
defaults to the v6 address so it's not just a PHP issue.
Your resolver is probably returning the first AAAA record it finds. You
can make a hosts file entry (if file is used in host.conf) to return an
ipv4 address.
Or just edit /etc/gai.conf and turn up the preference on the ipv4 world:
precedence ::ffff:0:0/96 100
Or something?
Ta
Alex.
--
This message was scanned by Better Hosted and is believed to be clean.
http://www.betterhosted.com
_______________________________________________
users mailing list
users(a)lists.bitfolk.com
https://lists.bitfolk.com/mailman/listinfo/users