Dropped ML by mistake

On 07/18/2016 11:47 PM, Nenad Merdanovic wrote:
> Hello,
> 
> On 07/18/2016 02:41 PM, Albert Casademont wrote:
>> Hi!
>>
>> I was trying to configure am IPv6 only backend using the hostname in
>> /etc/hosts and the HAProxy kept failing to initialize. As soon as I put
>> an IPV4 address for that hostname in /etc/hosts it worked. I have
>> resorted to manualy putting the IPV6 address in the HAProxy config file,
>> but ideally an IPV6 only hostname should work.
>>
>> Sample config:
>>
>> server test1 test1.domain:80
>>
>> In /etc/hosts
>>
>> ::1 test1.domain
>>
>> It will fail to initialize
>>
> 
> Can you check 'haproxy -vv' to see if HAproxy is compiled with
> USE_GETADDRINFO, if not, compile it with that option "make TARGET=...
> USE_GETADDRINFO=1"
> 
> It should work then, if gai.conf is OK.
> 
> Regards,
> Nenad
> 

Reply via email to