![]() 208.67.222.222 – the new DNS server that will be used on your machine.-setdnsservers – the flag that sets the DNS servers on your machine.networksetup – the command that helps you modify your connection. ![]() STEP 2: Once Terminal is open, enter the following command: “networksetup -setdnsservers Wi-Fi 208.67.222.222” STEP 1: Click on Launchpad in your dock, search for and then click on Terminal, and it will launch for you. This article will show you how to use the “networksetup” command to change the DNS servers.īelow are the steps on how to change the DNS servers using your Mac’s Terminal application: You may also find it useful to be able to change the DNS servers from the Terminal while troubleshooting your Mac. Using Terminal to change the DNS servers has its advantages such as enabling remote access of DNS servers with SSH, and it even works when the GUI is dead on your computer. Even though there is a way to change the DNS servers on your Mac via the system network preferences, some still prefer doing the task via the Terminal. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |