22.214.171.124 not responding to DNS queries
By default, my droplet (Ubuntu 13.04 x64) was set up with two DNS servers in resolv.conf: 126.96.36.199 and 188.8.131.52. 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 184.108.40.206 is not responding to queries from my droplet:
dierks@sharkodile:~$ host api.twilio.com 220.127.116.11 ;; connection timed out; no servers could be reached
It works from my desktop in my office:
~ $ host api.twilio.com 18.104.22.168 Using domain server: Name: 22.214.171.124 Address: 126.96.36.199#53 Aliases: api.twilio.com is an alias for public-vip374d1ca4e.prod.twilio.com. public-vip374d1ca4e.prod.twilio.com is an alias for ec2-174-129-254-101.compute-1.amazonaws.com. ec2-174-129-254-101.compute-1.amazonaws.com has address 188.8.131.52
This could be specific to my droplet or to DO. It’s not a big concern for me (I just replaced 184.108.40.206 with 220.127.116.11 in my config; Level3 apparently doesn’t want the public using 18.104.22.168 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.