Apply DNS configuration to all interfaces
You don't need use the netplan to do it. So remove any dns-related settings from the netplan configuration files to avoid occasionally changes of dns settings. Then edit the /etc/systemd/resolved.conf
file according your configuration. See man resolved.conf
for details. Anyway the systemd-resolved is main tool to manage dns by default.