Install named on the squid box, configure it with the necessary zones and associate names to Y.Y.Y.Y IPs ? This way, normal DNS resolve to X.X.X.X, and your local DNS resolves to Y.Y.Y.Y . You might also implement split horizon DNS (use google). F On Tue, 22 Apr 2008 17:12:03 +0100 "Jorge Bastos" <mysql.jorge@xxxxxxxxxx> wrote: > An option, but good, i'd had to do that for each new site and for the > hundred already installed. > No other way? There's no DNS server that can do this? > > > > -----Original Message----- > > From: Henrik Nordstrom [mailto:henrik@xxxxxxxxxxxxxxxxxxx] > > Sent: terça-feira, 22 de Abril de 2008 16:56 > > To: Jorge Bastos > > Cc: squid-users@xxxxxxxxxxxxxxx > > Subject: Re: HowTO "ReWrite" Destination IP? > > > > You can add the web site with ip Y.Y.Y.Y in /etc/hosts > > > > tis 2008-04-22 klockan 14:40 +0100 skrev Jorge Bastos: > > > Hi, > > > I use Squid as a transparent proxy/interceptor and i'd like to do the > > > following. > > > When a request comes and squid resolves it to the IP X.X.X.X, I'd > > like to > > > change that IP to Y.Y.Y.Y > > > > > > Is this possible? > > > The reason it, the IP X.X.X.X has a QoS policy applied and IP > > Y.Y.Y.Y, that > > > way, I can access the webserver the maximum speed of the webserver. > > > > > > Thanks in advanced, > > > Jorge