DNS does not work anymore for "nextcloud.com" and its subdomains on Arch Linux

With the newest updates from today, I’m unable to access the nextcloud.com domain and its subdomains.

I have upgraded the system and also did a manual update with sudo -u http php -f /usr/share/webapps/nextcloud/updater/updater.phar

What I get from the normal console:

[root@nextcloud ~]# curl updates.nextcloud.com
curl: (6) Could not resolve host: updates.nextcloud.com

[root@nextcloud ~]# curl nextcloud.com
curl: (6) Could not resolve host: nextcloud.com

[root@nextcloud ~]# curl google.com
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>

[root@nextcloud ~]# curl nextcloud.org
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://nextcloud.org/">here</a>.</p>
<hr>
<address>Apache/2.4.29 (Ubuntu) Server at nextcloud.org Port 80</address>
</body></html>

[root@nextcloud ~]# curl nextcloud.org
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://nextcloud.org/">here</a>.</p>
<hr>
<address>Apache/2.4.29 (Ubuntu) Server at nextcloud.org Port 80</address>
</body></html>

Nextcloud runs inside an LXD container on the server. Both runs under Arch Linux.
I cannot access “nextcloud.com” on any of my Arch containers. I have some Ubuntu ones and these work.

What am I doing wrong? I can access nextcloud.org but not nextcloud.com. In fact, every other domain works fine. And the issue is only on the Arch containers.

Nextcloud version: 18.0.3
Operating system and version: Arch Linux (fully updated today)
Apache or nginx version: nginx version: nginx/1.16.1
PHP version:

php -v
PHP 7.4.4 (cli) (built: Mar 18 2020 04:33:54) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.4, Copyright (c), by Zend Technologies

Is this the first time you’ve seen this error? (Y/N):
Yes

Test another DNS:

host updates.nextcloud.com 8.8.8.8 (Google)

Sadly it doesn’t help :frowning:

image

Looks fine.
The problem is your DNS server.

Thank you, I thought the command “host bla bla” would change my dns temporarily, but it’s just a lookup tool.

I have reviewed the DNS cache settings of the router and found out that as source it used a DNS from the ISP that was shut down some time ago. nextcloud.com did change its IP since the DNS went down, and voilà, no connection.