Sorry to hear you’re facing problems
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
Or for longer, use three backticks above and below the code snippet:
longer example here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version: 22.2.0
Operating system and version: docker official
Apache or nginx version: docker official
PHP version: docker official
The issue you are facing:
Our nextcloud instance is hosted on the internet, however it is accessed via the same domain used internally (cloud.domain.com). To address this, we had entered an NS record to point to one.one.one.one. so internal hosts will receive the internet address for this.
For simplicity if we move providers, the goal was to be able to update our internet DNS provider to a new address and internal resolution would be automatic.
What I’ve noticed for some time, is that nextcloud and talk apps make several DNS requests just opening for the first time, and since there is an inherit delay with resolving cloud.domain.com via this NS record, starting the apps takes a very long time.
The solution for now is just to use an A record to the current public IP, however not desirable.
I would expect that the apps perform similarly to the Browser page.
Is this the first time you’ve seen this error?: No, we’ve been seeing this issue for several months and only recently tried to go back to the NS record.
Steps to replicate it:
- Create NS record for nextcloud domain in local DNS server
- Open nextcloud address in standard webbrowser (https://cloud.0xcbf.net)
- Observe quick page loads on several apps, only limitation is web server performance
- Open nextcloud or Talk apps (on local Wifi) on android (iOS unknown) and notice each task, startup, switch to a new folder, open picture, takes at least 30 seconds
- review DNS server logs and see multiple DNS requests
- change NS record to A name
- See immediate improvement in Android app performance, however multiple DNS queries still exist
The output of your Nextcloud log in Admin > Logging: N/A
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
The output of your Apache/nginx/system log in