Difference between revisions of "Networksetup"

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
 
== See also ==
 
== See also ==
 
* {{macOS}}
 
* {{macOS}}
 +
* {{DNS}}
  
  
 
[[Category:macOS]]
 
[[Category:macOS]]

Revision as of 14:23, 21 January 2020

networksetup[1] is a macOS configuration command for network settings.


  • networksetup -listallnetworkservices


Change DNS services: networksetup -setdnsservers Network_Service_Name YOU.RDNS.IP

  • networksetup -setdnsservers Wi-FI 8.8.8.8
  • networksetup -setdnsservers "USB 10/100/1000" LAN 8.8.8.8


Activities

See also

  • https://www.unix.com/man-page/osx/8/NETWORKSETUP/
  • Advertising: