Hi Justin, On Fri, Jun 20, 2014 at 02:26:15AM +0000, Justin Franks wrote: > Let's say my front end is: > > something.domain01.com > > I want requests that hit this HAProxy to be redirected or forwarded to: > > foobar.lobster.net ... which lives inside my network. > > I want to understand how HAProxy behaves. > > At startup will HAProxy cache the IP of foobar.lobster.net? > > Or will HAProxy lookup the name at the time the rule matches that > redirects/forwards domain01 to lobster.net? If so how long will HAProxy cache > the IP of lobster.net? > > The net result I want is: > > If request comes in to front end then HAProxy will redirect/forward to other > domain name. Upon redirect/forward HAProxy will lookup the IP of other domain > every time, all the time.
Thus what you need is a proxy, not a reverse proxy. Please take a look at squid for something like this, I'm pretty sure you'll be able to do something like this with it. Regards, Willy

