Bug report: domain name setup with nameserver issue
-
I think I ran into a bug - hard to reproduce, I know, but maybe it helps:
Steps to reproduce:
- Set up a domain to resolve to a Cloudron app, incl. DNS settings
- Delete that app from Cloudron
- In my case: switch the Cloudron instance to another provider
- Only then update the DNS settings of the domain to resolve to the new server
- Add the domain to a new app
Expected behaviour:
The domain resolves to the new app.Actual behaviour:
The domain still tries to resolve to the old, deleted application.What I have checked:
- DNS settings have been applied (domain resolves to the new server IP)
-
Isn't this just a DNS caching issue? DNS resolution is done by the DNS system and not by Cloudron. A "trick" to know where the problem lies is if step 5 succeeded on Cloudron side. i.e does it say "Running" . If it says so, it means DNS is set up fine . If your browser is unable to visit the app, it means it is a caching issue. DNS caching is by design of DNS and can be anywhere - browser, laptop, router, ISP ....
-
Could be, and I am happy to test this! However, I have added the domain to Cloudron, and it ran through the setup correctly. The app says running.
But if I access it now, it still says that it is trying (and unable) to access the app which I deleted weeks ago on the other server.I am happy to run tests to look into this for sure, or we would need to think about some way to reset the settings, if possible, so that I could potentially use this domain again.
-
Could be, and I am happy to test this! However, I have added the domain to Cloudron, and it ran through the setup correctly. The app says running.
But if I access it now, it still says that it is trying (and unable) to access the app which I deleted weeks ago on the other server.I am happy to run tests to look into this for sure, or we would need to think about some way to reset the settings, if possible, so that I could potentially use this domain again.
@ekevu123 said in Bug report: domain name setup with nameserver issue:
But if I access it now, it still says that it is trying (and unable) to access the app which I deleted weeks ago on the other server.
You have to test the DNS resolution on your laptop first.
host app.example.com
(I guess this works on linux/mac?) not sure how you do DNS lookup on windows . -
Linux is fine. So, this shows the IP of my new server.
Is there a place on my cloudron server where I can see per domain what settings apply? In another thread, you showed me only the reverse proxy settings per app, but I guess these don't really apply here.
-
yeah, the DNS resolution doesn't go via the server and no config on server affects it. so sometimes you might have to hard refresh the browser etc since browsers also have their own DNS cache by now. You can always do
curl https://app.example.com
and check that it returns something . Which then means it's a browser issue (next thing to debug.. ) -
-