[Tips] How to change DNS Settings on Mac OS X

0
20

What’s DNS?

The Domain Name System (DNS) is a hierarchical decentralized naming system for computers, services, or any resource connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most prominently, it translates more readily memorized domain names to the numerical IP addresses needed for the purpose of locating and identifying computer services and devices with the underlying network protocols. By providing a worldwide, distributed directory service, the Domain Name System is an essential component of the functionality of the Internet. 
The Domain Name System delegates the responsibility of assigning domain names and mapping those names to Internet resources by designating authoritative name servers for each domain. Network administrators may delegate authority over sub-domains of their allocated name space to other name servers. This mechanism provides distributed and fault tolerant service and was designed to avoid a single large central database.

The Domain Name System also specifies the technical functionality of the database service that is at its core. It defines the DNS protocol, a detailed specification of the data structures and data communication exchanges used in the DNS, as part of the Internet Protocol Suite. Historically, other directory services preceding DNS were not scalable to large or global directories as they were originally based on text files, prominently the HOSTS.TXT resolver. The Domain Name System has been in use since the 1980s.

The Internet maintains two principal namespaces, the domain name hierarchy and the Internet Protocol (IP) address spaces. The Domain Name System maintains the domain name hierarchy and provides translation services between it and the address spaces. Internet name servers and a communication protocol implement the Domain Name System. A DNS name server is a server that stores the DNS records for a domain; a DNS name server responds with answers to queries against its database.

How to change DNS Settings on Mac OS X?

First, click on System Preferences from apple menu

How to change DNS Settings on Mac OS X

Click on Network icon or type the Network keyword into search textbox

How to change DNS Settings on Mac OS X

Click advanced
Note: my config port is using Ethernet. (Your picture may be different from me)

How to change DNS Settings on Mac OS X

Choose DNS tab

How to change DNS Settings on Mac OS X

If your DNS servers textbox is contains IP Address, you can choose button – (remove) or +  (add) news ip address
Note: 192.168.253.2 is my DNS IP Address

Press + Button and input 2 IP Address:
Google DNS:
8.8.8.8
8.8.4.4

After input two above address, press OK

However, to make sure system applies with new DNS. You need to do remove old DNS cache.

Enter Applications and move to Utilities folder, open terminal application

How to change DNS Settings on Mac OS X

How to change DNS Settings on Mac OS X
How to change DNS Settings on Mac OS X

Type dscacheutil -flushcache to remove old DNS cache.

Restart your Mas OS system.

If you have any questions or feedback about change DNS settings on Mac OS X, leave your comment, we can discuss about it!

Regards!
Zidane
http://learn-tech-tips.blogspot.com/