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


Groups > linux.debian.user > #194176

squid proxy fails to resolve LAN host names

From Adam Weremczuk <adamw@matrixscience.com>
Newsgroups linux.debian.user
Subject squid proxy fails to resolve LAN host names
Date 2018-03-26 14:20 +0200
Message-ID <vxzgt-3St-3@gated-at.bofh.it> (permalink)
Organization Matrix Science Ltd

Show all headers | View raw


[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


Back to linux.debian.user | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web