Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I'am tryting to implement multy-threaded script (php7+phtreads v3) to get information about a large amount of domains. However, the most important thing is to find out domain's IP. I found that gethostbyname() works very slow and it's a bottleneck of the code. Is there a way to somehow increase perfomance? Thank you.

So what's your local name server configuration? Not much you can do for speedying up queries to thousands of hostnames, howdns.works mario Feb 13, 2016 at 10:49 @mario, I'am using providers DNS. Is there any kind of solution to somehow speed up this task? Thanks for link, lol. Александр Пушкин Feb 13, 2016 at 11:12

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .