Question
Can't ping external hosts
I created droplet with Ubuntu 14.04.
I can’t ping external hosts from my console.
Command “ping google.com” returns text “unknown host google.com”
Also can’t connect from external computer through ssh.
It seems like my droplet is closed fro external connects.
Please, advise what to do.
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.
×
Same here, can’t even nslookup. Just created the droplet a few minutes ago but resolv.conf and ifconfig look fine.
I am having this same issue on my Arch droplet (which has been running for months before experiencing this problem). Any resolution on this?
Same here. Arch droplet.
$ ping -c 4 google.com
ping: unknown host google.com
Changing /etc/resolv.conf from:
nameserver 4.2.2.1
to:
nameserver 8.8.8.8
nameserver 8.8.4.4
worked for me.
More at: https://wiki.archlinux.org/index.php/resolv.conf