DNS Issues (Ubuntu 13.10 x64)

Posted December 15, 2013 5.2k views
I'm having DNS resolving issues with my VPS. So far I setup and configured nginx, php-fpm, and mysql. What I find strange is that the problem is intermittent but when the DNS does successfully resolve it only does so for a very short period of time (a few minutes). Right now I'm getting a 502 error ERR_NAME_NOT_RESOLVED. Things I've tried: Edited dns-nameservers in /etc/network/interfaces to be Added supersede domain-name-servers,; in /etc/dhcp/dhclient.conf I double checked my DO DNS CP settings which appear to be fine. Any ideas on how I can fix this issue?

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.

Submit an Answer
5 answers
What do you have in /etc/resolv.conf?
"... which appear to be fine."

Appearances can be deceiving, sometimes. You're better off running some tests with (free) online DNS tools, e.g. the Domain Configuration tool -- to know for sure that it's not your DNS records causing the problem.
Results from the domain configuration check:
Right now I'm getting a 502 error ERR_NAME_NOT_RESOLVED.

What domain/hostname gives you that error?