Question not responding to DNS queries

Posted September 11, 2014 5.4k views

By default, my droplet (Ubuntu 13.04 x64) was set up with two DNS servers in resolv.conf: and In debugging why my client requests to Twilio were slow or failing, I found out that host resolution was timing out half the time and eventually discovered that is not responding to queries from my droplet:

dierks@sharkodile:~$ host
;; connection timed out; no servers could be reached

It works from my desktop in my office:

~ $ host
Using domain server:
Aliases: is an alias for is an alias for has address

This could be specific to my droplet or to DO. It’s not a big concern for me (I just replaced with in my config; Level3 apparently doesn’t want the public using in the first place), but I thought I’d see if anyone else was seeing this problem and possibly contribute if anyone else is trying to debug similar problems.

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.

Submit an Answer
2 answers

New droplets should no longer be created with in resolv.conf We encourage users that have an older droplet with it still there to replace it with like you’ve already done.

For what it’s worth, we had an issue in PHP where curl was taking ages to do DNS lookups. This turned out to be the culprit.