[zeromq-dev] handling DNS updates

Charles Remes lists at chuckremes.com
Mon Oct 21 19:58:48 CEST 2013

There is no flag or configuration option to work around that.

I would recommend handling name resolution directly in your code and then building the transport connection string using the resulting IP address.

Make sense?


On Oct 21, 2013, at 11:03 AM, pablo fernandez <fernandezpablo85 at gmail.com> wrote:

> We're serving a zmq_proxy through DNS and would like clients to "re-resolve" the DNS address after some period of time. AFAIK sockets now cache the dns value forever, this is inconvenient.
> Is there a config flag or workaround that doesn't involve disconnecting/connecting all clients after a period of time?
> Thank you.
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131021/f36da954/attachment.htm>

More information about the zeromq-dev mailing list