Php curl uses getaddrinfo() to resolve hostnames to IP addresses. By setting an option it is easy to make it lookup IPV4 addresses but that will take quite some doing and will be quite difficult to undo when we get IPv6 up and running properly on our networks.
Is there any way to set getaddrinfo() to default to IPv4 lookups for our entire Ubuntu server?
Thanks Wayne