What is Domain Name Server (DNS) ?

What is Domain Name Server (DNS) ?


The DNS server enters IP into the name of the address and vice versa from the name of the address to the IP number. Some ways to translate internet addresses include:
  • Read local file / etc / hosts
  • Utilizing DNS Server service
The local / etc / hosts file contains a list of translation names to machine IP machine addresses that can be used also to translate IP addresses to names. By having this file, the Linux machine can use a more memorable name to call or access another machine on the network, instead of having to use an IP number. However this naming is only known locally on the computer in question. This file is very simple, its contents as in the following example:
Explanation :
  • Column 1 is an IP number
  • Column 2 is FQDN (Fully Qualified Domain Name)
  • Column 3 is the hostname
The disadvantage of using the / etc / hosts file is :
  • All machines or hosts in the network must have an identical file / etc / hosts
  • Every time there is a change in host name or IP number, then all files in each host must be updated its contents
  • Very impractical for networks with many hosts.
Using DNS is not like using the / etc / hosts file. DNS is client-server so that administration is done on the server side only, while the client is configured only 1 time that gives way for the client machine can contact the DNS server. In the Internet network, DNS servers all over the world work together to translate Internet addresses. Larger networks have a DNS server that becomes the source of data for the DNS server on the network below.
To perform a DNS installation, there are two sides to be installed and configured:
  • Server side, DNS Server installation is required
  • Client Side, It needs to be configured to connect to the DNS Server by configuring the /etc/resolv.conf file, which contains the DNS Server like the following example:
The basic function of DNS (Domain Name System) is to translate or translate ip addresses into a domain name and vice versa. For example, the address facebook.com, google.com, and other sites is the ip address of the site which then translated into a domain name.

Configuration and installation will be explained in next post.

Comments

Popular posts from this blog

Computer Graphics Project "MINION" Source Code with Glut OpenGL

Computer Graphics Project "Planet Orbit" Source Code with Glut OpenGL

Image Processing : Image Enhancement & Grayscale Histogram - PART 1 -