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
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.