Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 10459 invoked from network); 24 Jun 2010 06:31:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Jun 2010 06:31:15 -0000 Received: (qmail 84757 invoked by uid 500); 24 Jun 2010 06:31:13 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 84485 invoked by uid 500); 24 Jun 2010 06:31:09 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 84477 invoked by uid 99); 24 Jun 2010 06:31:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 06:31:08 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=10.0 tests=AWL,MSGID_MULTIPLE_AT,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of diego.trombetta@carel.com designates 217.57.13.50 as permitted sender) Received: from [217.57.13.50] (HELO mail.carel.com) (217.57.13.50) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 06:31:02 +0000 Received: (qmail 28535 invoked by uid 133); 24 Jun 2010 06:30:36 -0000 Received: by simscan 1.4.0 ppid: 28530, pid: 28532, t: 0.0240s scanners: regex: 1.4.0 attach: 1.4.0 trophie: 8.700-1004/643/327868 Received: from unknown (HELO rmvdiegot) (10.0.3.219) by mail-s1.carel.com with SMTP; 24 Jun 2010 06:30:36 -0000 From: "Diego Trombetta" To: References: <003801cb0ee5$597ac9b0$0c705d10$@trombetta@carel.com> <20100622084625.GD24197@fantomas.sk> <000701cb11ea$33359480$99a0bd80$@trombetta@carel.com> In-Reply-To: <000701cb11ea$33359480$99a0bd80$@trombetta@carel.com> Date: Thu, 24 Jun 2010 08:30:39 +0200 Message-ID: <000c01cb1366$c320f4e0$4962dea0$@trombetta@carel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcsR53xBioA8Efp1RoCKHOaNIwV0OgAAla+gAF8r+VA= Content-Language: it Subject: RE: [users@httpd] DNS lookup cached Any hint on this topic? Can anybody try to replace this behavior? It's easy. -----Original Message----- From: Diego Trombetta [mailto:diego.trombetta@carel.com]=20 Sent: marted=EC 22 giugno 2010 11.06 To: users@httpd.apache.org Subject: RE: [users@httpd] DNS lookup cached I performed also a ipconfig/flushdns to clean windows cache, but it = didn't work. In Apache configuration files I use the DNS name 'dynlocation', but I = look at the error logs that Apache produces when the host can not be reached = I see that it is using the old IP.=20 -----Original Message----- From: Matus UHLAR - fantomas [mailto:uhlar@fantomas.sk]=20 Sent: marted=EC 22 giugno 2010 10.46 To: users@httpd.apache.org Subject: Re: [users@httpd] DNS lookup cached On 18.06.10 14:54, Diego Trombetta wrote: > I'm using Apache as reverse proxy to redirect request inside a LAN. > I'm trying to dynamically change the address to which forward request > through Apache. > In my configuration file I use something like: >=20 > > ProxyPass http://dynlocation/ > ProxyPassReverse /=20 > >=20 > The DNS lookup is resolved reading the hosts file (it's a window = system). >=20 > 10.0.0.1 dynlocation >=20 > I thought that chancing the hosts file at runtime would have made the trick, > i.e. writing: >=20 > 10.0.0.2 dynlocation >=20 > but it seems that Apache is caching the IP and keeps on sending = requests to > 10.0.0.1 >=20 > I cannot restart Apache every time I need a different IP. >=20 > Does anybody know how to clean that DNS cache or has a different idea = to > solve this problem? I doubt apache caches the IP. I guess it's windows who is caching the = IP, check that possibility first. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server = Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org