It appears that I can successfully use DNS names in the haproxy.cfg file such 
as in:
acl valid_sources hdr_ip(X-Forwarded-For) server.goo.com
(where server.goo.com resolves to a single IP address, say, 1.2.3.4).

But if I update the DNS entry for server.goo.com to say, 10.20.30.40, I can't 
see any way to get haproxy to discover the new IP address.
The DNS TTL is 5 minutes,  and I restarted haproxy after I was sure the haproxy 
server's DNS cache had expired and haproxy was still fixated on the 1.2.3.4 
address.

So, is there something I'm missing?
Or do I need to just use IP addresses?

Thanks,


Mitch Gerdisch

Reply via email to