#StackBounty: #dns #systemd How to change systemd-resolve daemon global dns temporarily?

Bounty: 100

I can change interface specific dns settings via resolvectl dns <interface> <ip> temporarily. How can I achieve this for the global dns? It is explicitly required not to change a config file (e.g. /etc/systemd/resolved.conf) permanently but rather set the dns temporarily (during runtime of the OS until the next shutdown).

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.