I have an Ubuntu 14.04 droplet.
A couple of days ago I started noticing a long delay between entering a username and being prompted for password when ssh’ing in. I suspected it was related to dns lookup.
I can ping 8.8.8.8, but ping google.com results in “ping: unknown host google.com” whois, ssh & msmtp give similar results “host unknown”
I assume I’ve messed up the dns nameservers somehow. But don’t know how to fix. Appreciate any help.
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!
If you want to check to see what nameservers your server is using, check out the /etc/resolv.conf file. You’ll find them in the format of:
nameserver 8.8.8.8 nameserver 8.8.4.4
Feel free to change them if they aren’t working for you.
Ok… the problem seems to have fixed itself… very disconcerting… DO you doing something?
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.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.