[systemd-devel] spurious failures of resolved
Kevin P. Fleming
kevin at km6g.us
Thu Sep 24 16:22:39 UTC 2020
If you are using NetworkManager to manage your links, then you need to
convince it to stop providing the DNS resolver information. You can't
use a systemd-networkd file to override this, as networkd is not
managing the links.
On Thu, Sep 24, 2020 at 11:10 AM Roman Odaisky <roma at qwertty.com> wrote:
>
> Hi,
>
> > You have "~." for the global config, but your Networkmanager or something
> > also sets "~." for each of your two links, so all those settings are back
> > to being the same priority again.
>
> Thanks for shedding some light on this. Is this the intended way network
> managers are supposed to interact with systemd or is it a bug in NM?
>
> If I really want to use a custom DNS server for everything, do I understand
> correctly that in addition to Domains=~. I need a network file along the lines
> of
>
> [Match]
> Name=*
>
> [DHCPv4]
> UseDNS=no
>
> ?
>
> --
> WBR
> Roman.
>
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
More information about the systemd-devel
mailing list