Question

Droplets showing DNS name resolution issues?

Posted March 27, 2017 4.4k views
CentOS DNS

Anyone noticed issues with DNS resolution issues with various linux applications on their droplets?

While I can get IPs from nslookup, apps like yum seem to be having resolution errors.

Example:

Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64 error was
12: Timeout on https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64: (28, ‘Resolving timed out after 30545 milliseconds’)
http://centos.firehosted.com/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.firehosted.com/7.3.1611/extras/x86_64/repodata/repomd.xml: (28, 'Resolving timed out after 30545 milliseconds’)
Trying other mirror.
^Chttp://mirror.linux.duke.edu/pub/centos/7.3.1611/extras/x8664/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.linux.duke.edu/pub/centos/7.3.1611/extras/x8664/repodata/repomd.xml: (28, 'Resolving timed out after 30878 milliseconds’)
Trying other mirror.
http://ftpmirror.your.org/pub/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://ftpmirror.your.org/pub/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: (28, 'Resolving timed out after 30545 milliseconds’)
Trying other mirror.
http://mirror.cs.vt.edu/pub/CentOS/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.cs.vt.edu/pub/CentOS/7.3.1611/extras/x86_64/repodata/repomd.xml: (28, 'Resolving timed out after 30546 milliseconds’)
Trying other mirror.

ping resolves, but seems rather slow in pulling up the ip or doing pings.

Looking at the droplet’s load time, I am not seeing hardly any load and I rebooted the droplet recently as well.

Anyone else having similar issues?

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.

5 answers

I’m also having problems with my servers in SFO1, I would change to the openDNS servers 208.67.220.220 and 208.67.222.222.

At the moment, nameservers are 8.8.8.8 and 8.8.4.4…

Can’t find any information for setting a closer DNS at the moment. But seeing that in nslookup now, it seems to be having issues with one of them, but refers to pulling non-authoritive answer from 8.8.8.8

SFO1, I believe.

It looks like Google DNS is hammered or something. I pointed my droplet to Level 3’s DNS. I would list the link I got it from, but the community forum flagged it as spam.

What servers are you using for resolving on the server?

sudo cat /etc/resolv.conf
Submit an Answer