Cloudron often having problems with connection, "DNS_PROBE_FINISHED_NXDOMAIN", connection times out
-
My domain, https://perthmod.com as well as the dashboard https://my.perthmod.com frequently has issues with connecting - it either shows the message "DNS_PROBE_FINISHED_NXDOMAIN" or loads forever and times out. I've restarted my device, tried different browsers and devices, and nothing seems to work. Sometimes, it works, sometimes it doesn't - I could only access it on a VPN on my own home network, I don't live in a country with censorship btw.
Please help! Thank you.
-
So, a quick "hack" when you hits this, since you have no control of the intermediate DNS servers is to edit
/etc/hosts
(or equivalent in your OS) and put this:1.2.3.4 domain.com
replace with your domain and server ip. That would make things work, later in a day or so, you can remove that entry.
-
@hustler said in Cloudron often having problems with connection, "DNS_PROBE_FINISHED_NXDOMAIN", connection times out:
DNS_PROBE_FINISHED_NXDOMAIN
I guess you are seeing this in the desktop/laptop browser?
NXDOMAIN means that when the DNS was queried, there was no dns entry for that domain. This can happen when you go to
domain.com
on your browser before Cloudron has setup the DNS. This results in a so called NXDOMAIN (no entry). These NXDOMAIN responses are "cached" in the desktop and all the intermediate DNS servers for a longer time than usual. The intermediate DNS depends on your laptop's DNS which is your router, ISP etc.So, to summarize, don't reboot the cloudron, that won't solve the problem. If anything, you have to restart your browser (these days even they have a DNS cache) or your laptop or your router...
-
So, a quick "hack" when you hits this, since you have no control of the intermediate DNS servers is to edit
/etc/hosts
(or equivalent in your OS) and put this:1.2.3.4 domain.com
replace with your domain and server ip. That would make things work, later in a day or so, you can remove that entry.
-
@hustler You have to be superuser to edit . See https://kinsta.com/knowledgebase/edit-mac-hosts-file/ . (but essentially,
sudo nano /etc/hosts
).Also, in my original post, I had reversed the format of the hosts file, I have fixed it now! It has to be IP address and then space and then domain name
-
-