DMT Web Hosting is too concerned about the health and safety of both clients and employees. Our office is closed due to COVID-19 countrywide lock down. You can reach us on +92 300 044 4656, +92 321 112 6660 during the lock down period. We appreciate your understanding and patience.

WHAT IS A DNS SERVER?

DNS servers are essential to the proper functioning of the internet; it is a hierarchical name resolution technique to translate a domain name fully qualified into a digital IP address. A DNS server, therefore, makes it possible to use WEB addresses of the type www.dmtwebhosting.com while the servers can only understand numeric IP addresses, to access this same google page with a numeric IP the address is 192.168.1.1. Clicking on the two links will bring you to the same place. The DNS server, therefore, makes it possible to match the numerical IP address to a domain name for the Internet or a machine name for a local network quite simply.

The DNS system was originally designed for the Internet and you use it whenever you connect to a web address like www.dmtwebhosting.com, This easy-to-remember name translates to one DNS server or multiple DNS servers to get the IP address of the website you are looking for.

The DNS servers dialogue with each other. This is how they manage to resolve qualified domain names for which one of them cannot find a match in its local database. In other words, all DNS servers form a kind of technical network within the network. Everyone shares their information with the most nearby servers. A website works fine if all features including DNS are properly configured, DMT is the only reliable web host which is offering fully managed and pre-configured web hosting in Pakistan. In this way, queries and responses pass from DNS server to DNS server. This process of collecting new data allows each server to enrich its own database.

HOW DNS WORKS

There are two types of DNS servers: masters and slaves. Private DNS registration at very cheap rates is being offered by the Best web hosting company in Pakistan.

Master DNS

The master server is by definition the first DNS server to be set up on a network. It is the one that stores the local names database, containing a record for each host machine that provides the names’ addresses and the corresponding IP addresses. In other words, the creation of records and the optimization of the database are carried out on the master DNS server. Best web hosting in Pakistan and private DNS registration is being offered by DMT web hosting at cheap rates.

Slave DNS

A slave DNS server contains a copy of the master DNS server database. A request for resolution can thus be satisfied by one or the other. It also adds redundancy to the network. In fact, the DNS service is always available even if the master DNS server is down. Therefore, a DNS server (master or slave) tries to resolve a request for a domain name or machine name from one of the clients of the authority zone of the primary DNS server.

Resolver

Client machines can send requests to it thanks to the existence of an entity called the resolver. This mechanism is built into web applications such as browsers that require this conversion of domain names to IP addresses. When a client needs to know the IP address corresponding to a name, the resolver scans a local cache memory area (when configured to manage a local cache; most network clients, regardless of the system, manage a DNS cache). It searches for an entry that matches the domain name to find the IP address. If found, the process ends and the IP address can be resolved directly by the client workstation.

If the information is not in the local cache, the resolver uses the IP address of the local DNS server (which is specified in the client’s TCP / IP settings) to which it sends a query.

If the name sought concerns a host machine located on the local network, the server finds it in the database and returns the corresponding IP address. If the name corresponds to a machine that is not in the domain, two possibilities arise. Either the name can be resolved through the cache managed at the local DNS server level. The server will then memorize it after having solved it. Either the name is not in the cache of the DNS server, which then makes a request to the root server of the host’s top-level domain. The root server uses the hostname to find out the IP address of the DNS server with authority over the domain to which the recipient belongs. Your DNS server, once it has the IP address of the DNS server of the other domain, launches a request to this server to obtain the conversion of the domain name into an IP address. The local DNS server then sends the information back to the machine that requested it.

About the author

DMTwebhosting.com’s Editorial Team prides itself on bringing you the latest web hosting news and the best web hosting articles!

You could also link to the news and articles sections:

http://www.DMTwebhosting.com/blog

Share on facebook
Share
Share on twitter
Share
Share on linkedin
Share
Share on whatsapp
Share

Fill out the form to send Email

DMT Web Hosting is too concerned about the health and safety of both clients and employees. Our office is closed due to countrywide lock down. You can reach us on +92 300 044 4656, +92 321 112 6660 during the lock down period. We appreciate your understanding and patience.