Slow DNS resolution while using wget and similar commands

  • Posted November 3, 2014

commands like wget and ping are taking too much time to resolve domain names. more than 15 seconds sometimes.

This issue is also causing problems with Calls made to another server from Languages like PHP (while making soap request or using functions like file_get_content)


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Well, to be honest I already resolved this issue but I feel need to put it here so that DigitalOcean staff can take some action on it and also help community :)

Resolution is to edit /etc/resolv.conf and replace with some other faster DNS server like

above solution is tested with Ubuntu12.04 droplet