dns_get_record error in log

  • Nextcloud Server version (e.g., 29.x.x):
    30.0.2
  • Operating system and version (e.g., Ubuntu 24.04):
    Ubuntu server 22.04.1 LTS
  • Web server and version (e.g, Apache 2.4.25):
    Apache/2.4.58
  • PHP version (e.g, 8.3):
    PHP 8.3.6
  • Is this the first time you’ve seen this error? (Yes / No):
    Yes
  • When did this problem seem to first start?
    It started immediately after the server was installed
  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.)
    Bare metal instalation method, the whole system installed in VM on proxmox.
  • Are you using Cloudflare, mod_security, or similar? (Yes / No)
    No

Summary of the issue you are facing:

After installing the server, an entry appears during verification that the log contains several error entries. The error appears in the logs at certain intervals, about a thousand records have appeared in two weeks. Unfortunately, I am not familiar with PHP at all and the available topics with similar errors did not give me an answer on how to fix this problem.

Log entries

{
“reqId”: “5afd1DbNwla3ViRVWKPn”,
“level”: 3,
“time”: “2024-11-17T19:48:06+00:00”,
“remoteAddr”: “192.168.0.113”,
“user”: “andrey”,
“app”: “PHP”,
“method”: “GET”,
“url”: “/index.php/settings/ajax/checksetup”,
“message”: “dns_get_record(): A temporary server error occurred. at /var/www/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#96”,
“userAgent”: “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0”,
“version”: “30.0.2.2”,
“data”: {
“app”: “PHP”
},
“id”: “673a49689c742”
}

Configuration

{
“system”: {
“instanceid”: “REMOVED SENSITIVE VALUE”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“192.168.0.230”
],
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“dbtype”: “mysql”,
“version”: “30.0.2.2”,
“overwrite.cli.url”: “https://192.168.0.230”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbport”: “”,
“dbtableprefix”: “oc_”,
“mysql.utf8mb4”: true,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“installed”: true,
“default_phone_region”: “RU”,
“filelocking.enabled”: true,
“memcache.locking”: “\OC\Memcache\Memcached”,
“memcache.local”: “\OC\Memcache\Memcached”,
“memcache.distributed”: “\OC\Memcache\Memcached”,
“memcached_servers”: [
[
“127.0.0.1”,
11211
]
],
“maintenance”: false
}
}