Maybe this will appear in search results for some unlucky soul (like me) and this write up will save you 10’s of hours.
I have a website hosted on Digital Ocean, with a domain purchased on Namecheap. Randomly, the website began having DNS issues only on my computer, in all browsers, and when I was connected to Wifi. I tried flushing DNS, I tried every browser. No dice.
I kept getting this response in Chrome…
The website was not accessible by IP address either. When I tried other computers, connected to Wifi, I realized it wasn’t my computer alone, but any computer on a public Wifi connection (e.g. Starbucks Wifi) could not connect.
I checked the DNS my computer was using and it was 184.108.40.206 and 220.127.116.11 — These are Google Public DNS addresses. When I switched the DNS to my local ISPs DNS – the problem magically went away.
I then went to (DNZ Viz) and ran an analysis on my website and it confirmed there was a DNSSec issue. I don’t know shit about any of this and this only added to my confusion. I’ve probably burnt 10 hours at this point.
Checked all my DNS settings on Digital Ocean, and on Namecheap.
Finally I reached out to Namecheap (website registrar) with the details outlined above, and within 5 minutes they fixed the DNSSec issue, apparently some records had gone outdated and their service had not updated my DNS records. Voila – problem solved.
TL;DR: If you’re having issues connecting to your website in all your browsers, run a DNS Viz report, if there’s an issue there, contact your website registrar’s tech support and they will update your DNS records and make everything work magically. Note: Only do this if you’ve checked ALL browsers and confirmed the website does not work on ALL browsers and when your DNS address is 18.104.22.168 and 22.214.171.124.