I have 3 servers with DO(AMS3). Suddenly, three servers at the same time faced the same issue. It seems the servers cannot connect to the outside world. I tried to ping different IP addresses and domains. Here is the result:
ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=60 time=2.11 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=60 time=0.946 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=60 time=0.724 ms
ping google.com ping: google.com: Name or service not known
I searched the DO community. There were suggestions that the file “/etc/resolv.conf” might have issues. Here is my “/etc/resolv.conf” file:
cat /etc/resolv.conf ; Created by cloud-init on instance boot automatically, do not edit. nameserver 8.8.8.8 nameserver 8.8.4.4
Any help is appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Thanks to the entire DO community for being such unresponsiveness and unhelpful :) It took me a couple of days but I have found the source of the problem. I have created a new DigitalOcean droplet and the newly created server had the same problem. So, I figured out there is something wrong with DO itself. I hope this helps the others with the same problem.
Hi @imanpost,
What happens when you try to curl the domain from your Droplet:
curl -IL google.com
Does it work>
Additionally, if you telnet to port 80 or 443 via the IP and the Domain are there any differences?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.