By techXplored
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 8.8.8.8 208.67.222.222 Added supersede domain-name-servers 8.8.8.8, 208.67.222.222; 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?
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!
<b>“… which appear to be fine.”</b> <br> <br>Appearances can be deceiving, sometimes. You’re better off running some tests with (free) online DNS tools, e.g. the <a href=“http://www.webdnstools.com/dnstools/domain_check”>Domain Configuration</a> tool – to know for sure that it’s not your DNS records causing the problem.
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.