[systemd-devel] systemd-resolved : How to change permanently to 127.0.0.54
Laura Smith
n5d9xq3ti233xiyif2vp at protonmail.ch
Mon Dec 23 14:04:23 UTC 2024
On Monday, 23 December 2024 at 13:10, Itxaka Serrano Garcia <itxaka.garcia at spectrocloud.com> wrote:
> Hallo there!
>
> If using systemd-resolved, cant you just configure the DNS in /etc/systemd/resolved.conf or /etc/systemd/resolved.conf.d/ directly so it setups your desired address?
My DNS servers are currently manually specified in /etc/systemd/network/10-ens.network as follows:
[Match]Name=en*
[Network]
DHCP=ipv4
DNS=first-server-ip-goes-here
DNS=second-server-ip-goes-here
DNS=third-server-ip-goes-here
[DHCPv4]
UseDNS=false
UseNTP=false
[IPv6AcceptRA]
So (as I understand it) its not the setup of the DNS client config per-se but the need to kill the proxying done by 127.0.0.53. My understanding was the "right" way was referring to 127.0.0.54 instead ?
More information about the systemd-devel
mailing list