Understanding DNS - DNS stands for Domain Name System is a system that stores information about host names and domain names in the form of databases scattered (distributed databases) in a computer network, such as the Internet.
Function translates IP addresses into domain name or vice versa, from domain names to IP addresses. Thus, the host computer sends queries in the form of a computer name and domain name server which is then mapped into an IP address by DNS.
DNS is an application services on the Internet that translates a domain name into an IP address. For example, www for use on the Internet, then typed the domain name, for example: yahoo.com then be mapped to a mis IP 126.96.36.199. So the analogy to the DNS can use the phone book, where people we know by name to reach him we had to dial a telephone number on the telephone. Exactly the same, the host computer sends queries in the form of a computer name and domain name server to DNS, then the DNS is mapped to an IP address.
DNS servers are servers that can serve requests from the client to determine the address used by a domain. So, for example, we want to access facebook.com, then the DNS server will look up the address of the computer facebook so we can connect with facebook.