Carlos Aguni

Highly motivated self-taught IT analyst. Always learning and ready to explore new skills. An eternal apprentice.


nmcli dns

02 Mar 2022 »
nmcli con show

NAME                UUID                                  TYPE      DEVICE          
Wired connection 1  88849b1f-6b0e-3e39-a4a5-c56c09d05f21  ethernet  enp2s0f0        
br-b5218ef4a3df     0f8ba838-a82a-491b-914a-589a21784a9e  bridge    br-b5218ef4a3df 
br-e88fe53b6c90     6500a5d8-a15e-4e22-acb5-aad4494e46dc  bridge    br-e88fe53b6c90 
docker0             4f33e9ac-24c5-44fc-9f0d-d055184d57b2  bridge    docker0

nmcli con mod ens192 ipv4.dns "192.168.100.52 192.168.100.1"
nmcli con mod "System ens192" ipv4.dns "192.168.100.52 192.168.100.1"


nmcli con mod "System ens192" ipv4.dns "172.27.140.161 172.16.0.1"
nmcli con mod "System ens192" ipv4.dns-search "local.com"
nmcli connection up "System ens192"



nmcli con mod ens192 ipv4.dns "172.27.140.161 172.16.0.1"
nmcli con mod ens192 ipv4.dns-search "local.com"
nmcli connection up ens192
systemctl restart NetworkManager