Article 59RBY CentOS 8.2 how to set Primary DNS/Secondary DNS without connection

CentOS 8.2 how to set Primary DNS/Secondary DNS without connection

by
tpirapokin
from LinuxQuestions.org on (#59RBY)
I want to set DNS1/DNS2 for the system and not per nic. Is it possible with NetworkManager? All the example I see is
nmcli con mod <connectionName> ipv4.dns "8.8.8.8 8.8.4.4"latest?d=yIl2AUoC8zA latest?i=WvNWNMtNX5k:h-4dpH5yvn8:F7zBnMy latest?i=WvNWNMtNX5k:h-4dpH5yvn8:V_sGLiP latest?d=qj6IDK7rITs latest?i=WvNWNMtNX5k:h-4dpH5yvn8:gIN9vFwWvNWNMtNX5k
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments