Could not do request to updater server: Could not resolve host: updates.nex tcloud.com

Nextcloud version: 26.0.1
Operating system and version: Ubuntu 22.04
Apache: Apache
PHP version: PHP 8.1

Hello,

I’ve setup a daily cronjob that simply triggers the following command:

php /path/to/updater/updater.phar --no-interaction

…that has worked for some time, but for some days I keep getting these annoying emails:

https://i.imgur.com/MOXCFKb.png

Any ideas what could be the problem?

Thx in advance!

PS: It seems that when I run the same command from the command line I don’t get this error…

If you type host updates.nextcloud.com in the terminal, does it resolve the hostname to an ip address?