httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diego Trombetta" <>
Subject RE: [users@httpd] DNS lookup cached
Date Tue, 22 Jun 2010 09:06:28 GMT
I performed also a ipconfig/flushdns to clean windows cache, but it didn't
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. 

-----Original Message-----
From: Matus UHLAR - fantomas [] 
Sent: martedì 22 giugno 2010 10.46
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:
> <location /dynlocation/>
> 	ProxyPass  http://dynlocation/
> 	ProxyPassReverse / 
> </location>
> The DNS lookup is resolved reading the hosts file (it's a window system).
> dynlocation
> I thought that chancing the hosts file at runtime would have made the
> i.e. writing:
> dynlocation
> but it seems that Apache is caching the IP and keeps on sending requests
> I cannot restart Apache every time I need a different IP.
> 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 <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message