ping 8.8.8.8 works; dig google.com fails.
systemd-resolved misconfigured or the stub resolver lost its upstream.
resolvectl statusresolvectl dns eth0 1.1.1.1 8.8.8.8dig @127.0.0.53 google.com +shortnameserver 127.0.0.53 # should point at stubPin DNS config in cloud-init/user-data so reboots cannot regress it.
Spinning up a fresh box to reproduce or escape this error?
Managed cloud hostingNinjaOps publishes free engineering guides. Some outbound links are affiliate links: they cost you nothing and support the site.
Last reviewed 2026-10-02 · NinjaOps SEO grid · DevOps blog