On 28 May 2011 00:25, Martin Sustrik <[email protected]> wrote: > Hi, > > > Do you know whether the getaddrinfo() call in ip.cpp, used to resolve > > a hostname, will requery DNS each time? > > POSIX is not specific about how the query is done. It is not even > specifically tied to DNS. So, implementation details are left to OS > implementors. > > It uses NSS which can be tied to DNS which can use one of the many NSS caching services as the entire system is currently undergoing evolution to support offline use for Kerberos and files.
Which ultimately means you may on various platforms have bugs due to DNS TTL not being respected. -- Steve-o
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
