How to change DNS server for disposable sys-net?

Hello, I am struggling with change DNS server (from to for example in my disposable sys-net. I changed it via GUI and in /etc/resolf.conf in sys-net, but it doesnt work.

What is recommended way how to persistently change DNS server for disposable sys-net, please?

Setup your connection via gui, then before reboot, copy xxx.nmconnection file from sys-net to sys-net’s dvm template’s


folder. That way, it’ll persist across reboots.