Re: Q: Heirarchical requests using IPs not FQDN

From: Duane Wessels <>
Date: Tue, 14 Jul 1998 10:16:22 -0600

Wayne Salamonsen writes:

>Hi all,
> Some people here have a specialised application which
>accesses the Internet via a proxy. This proxy (child proxy) is part
>of a hierarchy and satisfies all http requests via a parent proxy.
>(parent proxy). For various reasons they need the child proxy to
>make all requests to the parent using an IP address and not
>the usual domain name. The application however can perform
>its request of the child proxy using a domain name.
>In other words, I need the child proxy to convert all domain names
>to IP addresses, and then use this IP address in the request to
>the parent proxy instead of the domain name. Does squid provide
>any mechanism to do this? Or do I have to use a redirector
>to rewrite the URL to use the IP? In which case, is this external
>redirection program called before or after ICP requests are made?
>I am pretty sure that redirection must happen first.

You could do this with a redirector process. One bad thing is you
won't be able to take advantage of Squid's IP cache.

The redirection happens after the first access control checks,
and well before ICP queries.

Duane W.
Received on Tue Jul 14 1998 - 09:17:16 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:06 MST