systemd-resolved ignoring custom DNS servers after Ubuntu 24.04 upgrade
Oliver Grawert
ogra at ubuntu.com
Fri Mar 6 11:57:27 UTC 2026
Hi,
Am Donnerstag, dem 05.03.2026 um 08:58 +0000 schrieb Vahid Shaik:
>
> Hi,
>
>
> After upgrading from 22.04 to 24.04, my custom DNS servers in
> /etc/systemd/resolved.conf keep getting overwritten by
> NetworkManager.
>
Given that Ubuntu nowadays uses netplan for all its network
configuration by default you probably want to take a look at the
official Ubuntu documentation for networking:
General:
https://netplan.readthedocs.io/en/stable/nm-all/
And specific to how NetworkManager can be managed in that setup through
netplan YAML files:
https://netplan.readthedocs.io/en/stable/netplan-everywhere/
ciao
oli
More information about the ubuntu-users
mailing list