Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ubuntu networkManager change dns

# connectionName can be obtain using nmcli
nmcli con mod "connectionName" ipv4.dns "8.8.8.8 8.8.4.4"
Source by serverfault.com #
 
PREVIOUS NEXT
Tagged: #ubuntu #networkManager #change #dns
ADD COMMENT
Topic
Name
7+6 =