I'm running Ubuntu 22.04 on one of my laptops and suddenly DNS doesn't work. It works on all of the other machines on my network. Addressing nodes on my network by IP works. Pinging google or its nameservers gets no response. Resolv.conf looks fine, resolvd is running. Any ideas?
Here's the output from systemctl status systemd-resolved.service
e - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2026-07-02 08:52:54 PDT; 1h 33min ago
Docs: man:systemd-resolved.service(8)
man:org.freedesktop.resolve1(5)
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Main PID: 836 (systemd-resolve)
Status: "Processing requests..."
Tasks: 1 (limit: 9192)
Memory: 7.7M
CPU: 241ms
CGroup: /system.slice/systemd-resolved.service
??836 /lib/systemd/systemd-resolved
Jul 02 08:52:54 system76-pc systemd[1]: Starting Network Name Resolution...
Jul 02 08:52:54 system76-pc systemd-resolved[836]: Positive Trust Anchors:
Jul 02 08:52:54 system76-pc systemd-resolved[836]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
Jul 02 08:52:54 system76-pc systemd-resolved[836]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.17>
Jul 02 08:52:54 system76-pc systemd-resolved[836]: Using system hostname 'system76-pc'.
Jul 02 08:52:54 system76-pc systemd[1]: Started Network Name Resolution.
Jul 02 08:52:58 system76-pc systemd-resolved[836]: wlp0s20f3: Bus client set default route setting: yes
Jul 02 08:52:58 system76-pc systemd-resolved[836]: wlp0s20f3: Bus client set DNS server list to: 8.8.8.8, 8.8.4.4, 1.1.1.1, 192.168.0.1
lines 1-23/23 (END)
I don't see anything amiss.