Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #194176 > unrolled thread

squid proxy fails to resolve LAN host names

Started byAdam Weremczuk <adamw@matrixscience.com>
First post2018-03-26 14:20 +0200
Last post2018-03-26 14:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.user


Contents

  squid proxy fails to resolve LAN host names Adam Weremczuk <adamw@matrixscience.com> - 2018-03-26 14:20 +0200

#194176 — squid proxy fails to resolve LAN host names

FromAdam Weremczuk <adamw@matrixscience.com>
Date2018-03-26 14:20 +0200
Subjectsquid proxy fails to resolve LAN host names
Message-ID<vxzgt-3St-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi all,

Steps to reproduce (query any LAN host running a web server):

$wgethttp://lanhost <http://yabby/>  2>&1 | grep response
HTTP request sent, awaiting response... 200 OK

$export http_proxy=proxy:3128

$wgethttp://lanhost <http://yabby/>  2>&1 | grep response
Proxy request sent, awaiting response... 503 Service Unavailable

The error message says:

-----------------------

Unable to determine IP address from host name lanhost.
The DNS server returned:
Name Error: The domain name does not exist.
This means that the cache was not able to resolve the hostname presented in the
URL.

-----------------------

It's not a burning problem since running global proxy settings in automatic
mode works fine.
We can also define them per application: browsers, wget, apt etc.

Any other DNS querying (ping, nslookup, host) I tried from LAN clients and proxy container resolved fine.
Nothing helpful in logs.

Any idea why proxy fails to resolve LAN host names only in this specific scenario?

Thanks
Adam


[toc] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web