Name resolution of cache_peer fails in Squid when the hostname is upper case

Solution Verified - Updated -

Issue

  • The squid proxy does not connect to other proxies in the hierarchy.

  • A message similar to the following may appear in /var/log/squid/cache.log:

    2018/10/04 08:10:52 kid1| Configuring Parent PROXY-HOSTNAME/3128/3130
    2018/10/04 08:10:52 kid1| WARNING: DNS lookup for 'PROXY-HOSTNAME' failed!
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Squid proxy

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In