/srv/irclogs.ubuntu.com/2022/07/04/#netplan.txt

LukasM[m]PeGaSuS: the config you've pasted LGTM09:23
filePeterHi, in my hosts netplan-yml file I configured a single ethernet with multiple DNS servers. When running »resolvectl status« this link’s configuration is shown as configured. Yet, in the “Global” section those same DNS-Servers are listed as global for all the other domains as well. Is there a way to separately configure this global DNS servers in my host’s netplan-yml? Yes this is a somewhat 13:34
filePetermanual split-horizon approach. :-)13:34
slyonfilePeter: no. you cannot configure the global DNS via netplan. only the per-interface configuration can be set via netplan. You could probably define the global DNS via sd-resolved directly, e.g. in /etc/systemd/resolved.conf.d/dns_servers.conf (see https://wiki.archlinux.org/title/systemd-resolved#Manually)13:39
slyonhttps://bugs.launchpad.net/netplan/+bug/169802413:40
filePeterslyon: Perfect, thank you! I’ll go with that.13:43

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!