Error messages in log - dns_get_record()


I’m getting lots of the following messages

Running Nextcloud Hub 8 (29.0.0) Debian Linux if that helps

Any ideas ?

  "reqId": "70lRfecwpyp5r4ZFpyiR",
  "level": 3,
  "time": "2024-05-20T17:02:25+00:00",
  "remoteAddr": "",
  "user": "Trevor",
  "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#113",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36",
  "version": "",
  "data": {
    "app": "PHP"
  "id": "664de25fed50c"

In theory it means that DNS resolution is failing (at least periodically) in your environment.

Thanks for the reply

I didn’t metion that I use for my NextCloud and also Home assistant

Is there any way to ‘better’ this ?


The DNS it’s referring to is your internal resolver. Not your external authoritative DNS.

So your Server is going to look up an address for something (to make an outbound connection), and that query is failing.

How frequently are you seeing these errors?

Does the URL listed vary?

Any warnings listed under Administration settings->Overview?

Double-check your Debian host has two reliable nameservers configured.

You’re not using Docker, correct?