If a domain has A and AAAA records, Squid seems not to try to connect the web server by IPv4 address after failing to connect by IPv6 address.
Issue
- If a domain has A and AAAA records, Squid seems not to try to connect the web server by IPv4 address after failing to connect by IPv6 address.
-
Can we change squid's behavior to the following? Also, could you please tell us if you have other workaround?
-
How reproducible: always
- Steps to Reproduce:
- Client accesses the following URL via squid.
- The domain has A and AAAA records. In other word, DNS returns A and AAAA records of the domain.
- The web server cannot be connected by IPv6.
- Client accesses the following URL via squid.
- Actual results:
- Squid does not try to connect by IPv4 after being able to connect by IPv6.
- Expected results:
- Squid tries to connect by IPv4 after IPv6.
Environment
- Red Hat Enterprise Linux 6.5
- squid-3.1.10-20.el6_5.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
