Speaking as a user of Pound within Amazon's EC2, we find the current
behavior to be painful since IP addresses for our backend servers are
dynamic. Currently we have to restart Pound any time a backend server is
restarted. I'm hopeful that you'll consider this patch or an alternate
method to achieve the same result.
Thanks,
Rob
On 06/24/2011 11:06 AM, Robert Segall wrote:
On Thu, 2011-05-12 at 12:42 +0200, Matthias Förste wrote:
Hello,
we are currently in a situation where the actual IP of the Backend may
change. As of pound 2.5 it looks like the hostname is resolved just once
when the configuration file is read. I have attached a patch which adds
2 configuration directives that allow to declare the backends Address
and/or HAAddress as dynamic. That means that the given address will be
resolved whenever a connection to such an address is made.
Thank you for the patch. For the moment I am quite sceptical about it,
as DNS lookups are expensive operations (the reason the results are
cached). We'll look at it again if there is massive demand for it.
As an aside, just for my curiosity: what is the usage pattern that would
require such a scenario?
--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.