How can Apple Mac quickly switch DNS addresses?

Source: Internet
Author: User

A lot of users who use Apple Mac computers may need to switch different Dns addresses in different network environments. It's a lot of trouble if you change it manually every time. Here is a small series to introduce a DNS server address can be set first, and then you can quickly in the system to switch the DNS address method. The detailed procedure is as follows:

First step, add the DNS configuration file

1, first open the Mac OS System Preferences, click on the list to open the "network" icon, as shown in the figure

2. Next, on the left side of the network window, select the network interface for which you want to set up DNS. Here I take the cable interface as an example, after selecting a good interface, click on the "Location" drop-down list, as shown in the figure

3. Then select the Edit Location option, as shown in the figure

4. In the pop-up edit window, click the "+" button at the bottom right, then create a new network configuration file for the location. I'll change it to "work" here, OK, then click the "Finish" button, as shown in the figure

5. Next, in the Network window, click on the "Advanced" button in the lower right, as shown in the figure

6. Next, click on the "DNS" column at the top, as shown in the figure

7. In the DNS Settings window, click the "+" button at the bottom left to add a DNS server address, as shown in the figure

8. After the DNS address is entered, click on the "OK" button in the bottom right corner, as shown in the image.

9. Then click the "Apply" button in the bottom right corner of the network window to save the network configuration file we are currently adding, as shown in the figure

Step two, switch DNS

1. Next click on the Apple logo in the System menu bar at the top of the screen to see a "location" option in the popup menu, as shown in the figure

2, then you can see that there are two DNS configuration files, one is the work we have just established, the other is the system default automatic. If you want to switch, just click on the appropriate location, as shown in the figure

3. If you normally need to switch multiple DNS addresses, you can also add multiple profiles to the network location.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.