1.  From the Apple menu, select System Preferences. The window shown below appears.

 

2. Select Network. The window shown below appears.

 

 

 

 

 

3.Select a network interface from the sidebar. By default, your primary network interface is selected. If you use more than one interface to connect to the Internet, use these instructions to update the DNS servers for all of the interfaces.

 

 

  1. Click Advanced.
 
 
  1. Click the DNS tab. The window shown below appears.
 
  1. Click the + button to add a new DNS server.

Samples of DNS: 

112.198.126.124

112.198.115.84

112.198.126.116

112.198.111.84

112.198.111.92

112.198.126.36

112.198.126.44

112.198.115.4

 

Take note:

Alternative DNS To use OpenDNS, enter 202.126.40.5 and 222.127.143.5

To use Google DNS, enter 8.8.8.8 and 8.8.4.4

 

  1. Click OK.
 
  1. Click Apply.
 
  1. Test your new DNS servers to make sure they’re working.
 
 
  1. If the DNS servers aren’t working, try rebooting your computer. Test the servers again when your computer turns back on.

That’s it! You’ve updated your Mac’s DNS servers!