<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[No DNS after upgrade Ubuntu 22.04 to 24.04]]></title><description><![CDATA[<p dir="auto">Hello support,<br />
I am getting a DNS error after I upgraded Ubuntu from 22.04 to 24.04:</p>
<pre><code>root@xxx:~# host releases.cloudron.io 127.0.0.1
;; communications error to 127.0.0.1#53: connection refused
;; communications error to 127.0.0.1#53: connection refused
;; no servers could be reached

</code></pre>
<p dir="auto">This is a Hetzner VPS with netplan as follows:</p>
<pre><code>root@xxx:~# cat /etc/netplan/50-cloud-init.yaml 
# This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot.  To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
    version: 2
    ethernets:
        eth0:
            addresses:
            - 2a01:xxx:xxxx:xxxx::1/64
            dhcp4: true
            gateway6: fe80::1
            match:
                macaddress: xx:00:00:xx:xx:xx
            set-name: eth0
</code></pre>
<p dir="auto">resolvectl does not run:</p>
<pre><code>root@xxx:~# resolvectl
Command 'resolvectl' not found, but can be installed with:
apt install systemd-resolved  # version 255.4-1ubuntu8.4, or
apt install systemd           # version 255.4-1ubuntu8.4
</code></pre>
<p dir="auto">System info:</p>
<pre><code>root@xxx:~# cloudron-support --troubleshoot
Vendor: Hetzner Product: vServer
Linux: 6.8.0-41-generic
Ubuntu: noble 24.04
Processor: Intel Xeon Processor (Skylake, IBRS)
BIOS NotSpecified  CPU @ 2.0GHz x 2
RAM: 3911724KB
Disk: /dev/sda1        15G
[OK]    node version is correct
[OK]    docker is running
[OK]    MySQL is running
[OK]    nginx is running
[OK]    dashboard cert is valid
[OK]    dashboard is reachable via loopback
[OK]    box v8.0.4 is running
[OK]    netplan is good
[WARN]  systemd-resolved is not in use. see 'systemctl status systemd-resolved'
grep: /etc/resolv.conf: No such file or directory
[WARN]  /etc/resolv.conf is not using systemd-resolved. it is missing the line 'nameserver 127.0.0.53'
[FAIL]  DNS is not resolving
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to 127.0.0.1#53: connection refused
;; no servers could be reached

root@xxx:~# systemctl status systemd-resolved
Unit systemd-resolved.service could not be found.
root@warkalla:~#
</code></pre>
<p dir="auto">Kindly help</p>
]]></description><link>https://forum.cloudron.io/topic/12384/no-dns-after-upgrade-ubuntu-22-04-to-24-04</link><generator>RSS for Node</generator><lastBuildDate>Thu, 15 Oct 2026 11:19:38 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/12384.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Aug 2024 20:19:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to No DNS after upgrade Ubuntu 22.04 to 24.04 on Fri, 13 Sep 2024 06:58:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lucifer1004" aria-label="Profile: lucifer1004">@<bdi>lucifer1004</bdi></a> thanks for the correction , will fix the original post!</p>
]]></description><link>https://forum.cloudron.io/post/94178</link><guid isPermaLink="true">https://forum.cloudron.io/post/94178</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Fri, 13 Sep 2024 06:58:47 GMT</pubDate></item><item><title><![CDATA[Reply to No DNS after upgrade Ubuntu 22.04 to 24.04 on Thu, 12 Sep 2024 22:10:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a> I think it should be <code>/etc/systemd/resolved.conf</code> instead of <code>/etc/systemd/resolve.conf</code>.</p>
]]></description><link>https://forum.cloudron.io/post/94177</link><guid isPermaLink="true">https://forum.cloudron.io/post/94177</guid><dc:creator><![CDATA[lucifer1004]]></dc:creator><pubDate>Thu, 12 Sep 2024 22:10:24 GMT</pubDate></item><item><title><![CDATA[Reply to No DNS after upgrade Ubuntu 22.04 to 24.04 on Fri, 13 Sep 2024 06:58:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vansens" aria-label="Profile: vansens">@<bdi>vansens</bdi></a> in addition, if you want to use <code>systemd-resolved</code> (the ubuntu default), add the DNS in <code>/etc/systemd/resolved.conf</code> instead . The <code>/etc/resolv.conf</code> should be a symlink to <code>/run/systemd/resolve/stub-resolv.conf</code> (generated by resolved)</p>
]]></description><link>https://forum.cloudron.io/post/93494</link><guid isPermaLink="true">https://forum.cloudron.io/post/93494</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Fri, 13 Sep 2024 06:58:55 GMT</pubDate></item><item><title><![CDATA[Reply to No DNS after upgrade Ubuntu 22.04 to 24.04 on Wed, 28 Aug 2024 21:40:09 GMT]]></title><description><![CDATA[<p dir="auto">Fixed it myself. I had to</p>
<pre><code>mv /etc/resolv.conf /etc/resolv.conf.orig
</code></pre>
<p dir="auto">and then add a /etc/resolv.conf with content</p>
<pre><code>nameserver 1.1.1.1
nameserver 8.8.8.8
</code></pre>
]]></description><link>https://forum.cloudron.io/post/93475</link><guid isPermaLink="true">https://forum.cloudron.io/post/93475</guid><dc:creator><![CDATA[vansens]]></dc:creator><pubDate>Wed, 28 Aug 2024 21:40:09 GMT</pubDate></item></channel></rss>