Need help fixing dns lookup...
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 18.104.22.168, 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.
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.