Non-blocking (async) DNS resolving in Java

前端 未结 6 660
一生所求
一生所求 2021-02-05 02:30

Is there a clean way to resolve a DNS query (get IP by hostname) in Java asynchronously, in non-blocking way (i.e. state machine, not 1 query = 1 thread - I\'d like to run tens

6条回答
  •  耶瑟儿~
    2021-02-05 03:27

    There is some work on non blocking DNS in netty, but it's still work in progress in will be probably released only in 5.0

提交回复
热议问题