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.

Solution In Progress - Updated -

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.
  • 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content