Re: spurious failures of resolved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux