I used 5 threads to create new InetSocketAddress and store them in queue, but i found it is not enough. How to do a faster dns lookup?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Isn’t a single thread enough for DNS lookup? because DNS Lookup just need to send a request to a DNS server to translate a domain name to IP address, once you get it, its should store by your OS for later use.