Introduction:
DNS is a protocol within the set of standards for how computers exchange data on the Internet and on many private networks, known as the TCP/IP protocol suite. Its basic job is to turn a user-friendly domain name like "facebook.com" into an Internet Protocol (IP) address like 173.252.110.27 that computers use to identify each other on the network.
Computers and other network devices on the Internet use an IP address to route our request to the site we're trying to reach. This is similar to dialing a phone number to connect to the person we're trying to call. Though, we don't have to keep your own address book of IP addresses. Instead, we just connect through a domain name server, also called a DNS server or name server, which manages a massive database that maps domain names to IP addresses.
Whether we're accessing a Web site or sending e-mail, your computer uses a DNS server to look up the domain name we're trying to access. The proper term for this process is DNS name resolution, and we would say that the DNS server resolves the domain name to the IP address. For example, when we enter "http://www.facebook.com" in your browser, part of the network connection includes resolving the domain name "facebook.com" into an IP address, like 173.252.110.27, for ‘Facebook’ Web servers.
We can always bypass a DNS lookup by entering 173.252.110.27 directly in your browser. However, we're probably more likely to remember "facebook.com" when we want to return later. In addition, a Web site's IP address can change over time, and some sites associate multiple IP addresses with a single domain name.
When we connect to our home network, Internet service provider (ISP) or WiFi network, the modem or router that assigns our computer's network address also sends some important network configuration information to our computer or mobile device. That configuration includes one or more DNS servers that the device should use when translating