[stunnel-users] How to archive DNS load balance in stunnel client?
tayyib76 at gmail.com
Sat Aug 22 12:35:36 CEST 2020
Failover= re option would help you
On Fri, Aug 21, 2020, 22:30 Peter Zhao <pzhao at paymentus.com> wrote:
> We are trying to use DNS load balance in a stunnel client with round-robin
> algorithm. service.example.com is mapping to two ips. But when we update
> DNS to remove one of ips for service.example.com stunnel client still
> forward requests to both ips. How to make stunnel client to resolve domain
> name and refresh its cache?
> Here is stunnel configuration.
> cert = /etc/stunnel/stunnel.pem
> client = yes
> accept = localhost:4680
> connect = service.example.com:4680
> client = no
> accept = 10.10.0.16:4680
> connect = loclhost:80
> Here is the resolving result for service.example.com.
> ;; ANSWER SECTION:
> service.example.com. 5 IN A 10.10.0.16
> service.example.com. 5 IN A 10.10.0.8
> stunnel-users mailing list
> stunnel-users at stunnel.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the stunnel-users