[ https://issues.apache.org/jira/browse/MESOS-9338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16707502#comment-16707502 ]
Chun-Hung Hsiao commented on MESOS-9338: ---------------------------------------- C-ares is implicitly bundled in the gRPC bundle. If we are going to bundle c-ares we should compile gRPC against the our c-ares bundle. > Add asynchronous DNS facilities to libprocess. > ---------------------------------------------- > > Key: MESOS-9338 > URL: https://issues.apache.org/jira/browse/MESOS-9338 > Project: Mesos > Issue Type: Improvement > Components: libprocess > Reporter: Benjamin Mahler > Priority: Major > Labels: foundations > > This would enable non-blocking DNS queries. One use case is during TLS peer > certificate verification, we need to perform a reverse DNS lookup to get the > peer's hostname. This blocks the event loop thread! > Some options: > (1) Linux provides {{getaddrinfo_a}}, however I don't see an equivalent one > for {{getnameinfo}}: > http://man7.org/linux/man-pages/man3/getaddrinfo_a.3.html > (2) A popular library is c-ares (MIT license): > https://c-ares.haxx.se/ > (3) ADNS (GPLv3): > https://www.gnu.org/software/adns/ > (4) c-ares has a list of other libraries: > https://c-ares.haxx.se/otherlibs.html -- This message was sent by Atlassian JIRA (v7.6.3#76005)