Before start to Install and Configure DNS you need to understand how DNS work.
What is DNS? The sort meaning is DNS resolves an IP address to a hostname. DNS stands for Domain Name Server or Domain Name System.
It means that It mapped names to specify network addresses. Basically, DNS a large database that resides on various computers that contains the names and IP addresses of various hosts/domains. Other than IP address DNS also associates various information with the domain names.
DNS stands for Domain Name Service. It is an internet service that maps IP addresses to FQDNS that we called fully qualified domain names.
In this tutorial, I’ll explore some background material necessary to your understanding of the installation and configuration of a DNS server and client. Generally, You probably type in your browser address bar to www.google.com, and then it appears to you with the website of Google Company, right? Actually, This server is provided the IP address and mapped with the Name (hostname). If we breakdown we will see like Figure 2.
The Root Domain
The Root (.) domain name is silently assumed to be present even though it is not explicitly written. You never type it during the web address. Because it was hidden and don't need you to type it. Normally, the web address of www.google.com, but in the DNS it is www.google.com. (likewise).
The Top Level Domains are divided into 2 categories:
- Generic TLD (gTLD)
- Country Code TLD (ccTLD)
The Second-Level Domain Names
The Third-Level Domain Names
- A client to visit a web site called "www.support.example.com."
- The query starts with the top-level domain "com." within "com." is "example.com."
- Let's look at the authoritative DNS server for the "example.com" is named "ns.example.com."
- Hostname ns is authoritative for the example.com domain, we have to query it for all hosts (subdomains) under it.
- The query is for information about the host we are interested in: "www.server1.example.com."
- ns.example.com's DNS configure is such that for any ending a "server1.example.com" the server must contact another authoritative server called "dns2.example.com."
- The request for "www.server1.example.com" is then passed on to dns2.example.com, which returns the IP address for www.server1.example.com say, 192.168.1.10.