$type=ticker$meta=0$readmore=0$snippet=0$columns=4

Twitter Instagram
Welcome To NEtechy India's Tech Zone

$show=home$type=grid$meta=0$readmore=0$snippet=0$count=4

$show=/search/label/How%20to$type=grid$meta=0$readmore=0$snippet=0$count=4$page=true

$show=/search/label/Hindi$type=grid$meta=0$readmore=0$snippet=0$count=4$page=true

$show=/search/label/What%20is$type=grid$meta=0$readmore=0$snippet=0$count=4$page=true

A Simple Guide to Understand How DNS Works? Domain Name Servers

SHARE:

A Simple Guide to Understand How DNS Works? Domain Name Servers In this article, we will share with you A Simple Guide to Understand How DNS Works? Domain Name Servers.

How DNS Works?

How DNS Works


In this article, we will share with you A Simple Guide to Understand How DNS Works? Domain Name Servers.

How DNS Works

Domain name Servers (DNS) are an important but invisible part of the internet and form one of the largest databases on it. Each machine on an internet is assigned a unique address, called an IP address, which is 32-bit number and is expressed as 4 octets.

The method used to represent these IP addresses is known as dotted decimal Notation". A typical address looks like this: 199.249.150.4

It is very difficult to keep in mind the IP addresses of all the websites we visit daily because it's not easy to remember strings of numbers. However, we do remember words.

This is where domain names come into the picture. If you want to connect to a particular site, you need to know its IP address but do need to know its URL. The DNS gets the mappings of the IP addresses and the corresponding names.

Names and numbers

How DNS Works


  • DNS converts the machine names (such as http://www.xyz.com) to IP addresses (such as 199.249.150.9). Basically, it translates from a name to an address and from an address to a name.
  • The mapping from the IP address to the machine name is called reverse mapping. When you type http://www.xyz.com into your browser, the browser first needs to get the IP address of http://www.xyz.com. 
  • The machine uses a directory service to lookup IP addresses and this service is called DNS. When you type http://www.xyz.com your machines firsts contacts a DNS server, asking it to find the IP address for http://www.xyz.com. 
  • This DNS server might then contact other DNS servers on the internet. DNS is, therefore, is considered as the global network of servers.
  • The great advantage of DNS is that no organization is responsible for updating it. It is what is known as a distributed database.

The three-letter codes

A DNS server is just a computer that's running the DNS software. The most popular DNS software is BIND (Berkeley Internet Name Domain) DNS is hierarchical, tree-structured system.

The top is donated by'.'. And is known as the root of the system. Below the root there are seven immediate subdomain nodes and these are 'com', 'org', 'gov', 'mil', 'net', 'edu', 'Int', etc.

DNS consists of two components

How DNS Works

  1. Nameserver
  2. Resolver

Nameserver:

This performs the task of looking up the names. Usually, there is one nameserver for a cluster of machines. If the nameserver does not contain the requested information, it will contact another nameserver. But it is not required for every server to know how to contact every other server.

Every nameserver will know how to contact the root nameserver, and this, in turn, will know the location of every authoritative nameserver for all the second-level domains.

Resolver:

This runs on a client machine to initiate DNS lookups. It contains a list of nameservers to use. As we have read, the function of each of these nameservers is to resolve name queries.

There are three types of a nameservers-primary nameserver, secondary nameserver, and caching nameserver. The secondary nameservers are configured for backup purposes.

Caching nameservers only resolve name queries but do not maintain any DNS database files. It is important to note here that any change to primary nameservers needs to be propagated to secondary nameservers.

This is because primary nameservers own the database records. The changes are propagated via a 'zone transfer'.

How Caching Works in DNS

DNS uses the principle of 'caching' for its operation. When a nameserver receives Information about a mapping, it caches this information. further queries for the same mapping will use this cached result, thereby reducing the search cost.

The nameservers don't cache forever. The caching has a component called time to live (TTL) and the TTL determines how long a server will cache a piece of information.

So, when the nameservers caches receive an IP address, it receives the TTL with it. The nameserver caches the IP address for the period then discards it.

When a process needs to determine an IP address given a DNS address, it calls upon the local host to resolve the address. This can be done in a variety of ways:


  • Table lookup. On UNIX hosts, the table is /etc/hosts.
  • The process communicates with local nameservers. This is named on a UNIX system.
  • By sending a message to the remote system that is identified from the information in the file/etc/resolve.conf.


When a nameserver receives a query for a domain that does not serve, it may send back a referral to the client by specifying better nameservers.

Typically operate recursively wherein any DNS server passes requests it cannot handle to the higher-level server and so on, until either the request can be handled or until the root of the DNS namespace is reached.

The nameservers contain pointers to another nameserver with the help of which it is possible to traverse the entire domain naming hierarchy.

A host with the initial nameserver addresses has to be configured. After this, it can use DNS protocols to locate the nameserver responsible for any part of the DNS naming hierarchy.

Thus when a nameserver receives a request, it can do one of the following:

It can answer the request with an IP address. This method is called iterative. In this, the client simply asks the server to resolve a domain name. The server accesses its database, finds its IP address and sends that back.

If the server does not find the address, it sends back an error; DNS not found'). Contact another nameserver and try to find the IP address for the requested name. Send back a referral to the client specifying the IP address of better nameservers.

A popular user interface, called 'nslookup'is available on the UNIX system. With this, you can perform any DNS function.

This program also displays the result to the user. Using is nslookup, you can obtain a listing of all the hosts in a zone. To do this, you first need to identify the nameserver for the zone.

The threats that are associated with the DNS are due to the lack of integrity and authenticity checking of the data held within the DNS. Also, other protocols can use hostnames as an access control mechanism.


The internet engineering task force (IETF) has come up with DNS security (DNSSEC) extensions to DNS protocol. The main objective of DNSSEC is to provide authentication and integrity to the DNS. These are provided through the use of cryptographic'

Read Also

What is DNS? And How it Works - Domain Name System
How To Buy Best Domain Name For Website - Important Rule
Ultimate Tips for Choosing A Domain Name

We Hope You Love The Articles- "A Simple Guide to Understand How DNS Works? Domain Name Servers" Do Share On Facebook And Whatsapp. Subscribe Us For More Awesome Content.

No comments:

You May Like

Name

2019,2,3D,1,4K,1,Accessories,2,Advantages and Disadvantages,40,Advertisement,5,Affiliate Marketing,14,AI,1,AI assistant,1,Amazon,3,AMD,1,Android,20,Antivirus,5,App,11,Apple,4,Application,3,Asus,2,Backlinks,1,Battery,5,Benefits,13,BIOS,1,Bitcoin,1,Blog,19,Blogger,18,Blogging,22,Blogs,53,Bluetooth,4,Business,55,Cable,1,Camera,4,Card,1,Categories,1,CD,3,CDMA,1,Cell Phone,3,Charger,2,Cloud Computing,1,CMS,11,Company,2,Comparison,1,Computer,63,Computer Architecture,1,Computer Repairing,1,Computing,1,Content,4,cPanel,1,CPU,6,Data,1,Difference between,8,Digital Marketing,3,DNS,2,Domain,12,Download,12,E commerce,1,E-Commerce,11,eBay,1,EBooks,3,Email,3,Encryption,1,Energy,1,Error,3,Facebook,15,Facts,5,Features,14,File,1,File Format,6,Firewall,2,Fix,4,Flipkart,1,Floppy Disk,2,Free,13,Freelancer,4,Full Form,1,Full Guide,4,Games,18,Gmail,2,Google,28,Google Adsense,5,GPS,1,Graphics,2,GTA,1,Guest Blogging,1,Guide,10,Hacking,1,Hard disk,1,Hardware,13,HD,1,HDMI,1,Headphone,1,Hindi,64,History,34,How,29,How to,184,HTML,3,Icon,3,Ideas,4,Images,2,India,6,Information,3,Instagram,2,Intel,1,Internet,25,Internet Entrepreneur,1,Internet Marketing,5,Introduction,3,iOS,2,iPhone,3,IVR System,1,Jio,1,Jobs,1,Keyboard,7,Keyboard Shortcuts,1,Keyword,1,Laptop,16,Link,2,Mac Os,5,Machine,2,Magento,1,Marketing,14,Microsoft,8,Mobile,5,Money Transfer,1,Monitor,2,Motherboard,5,Mouse,3,Music,1,Network,12,News,38,Niche,2,Online,10,Online Advertising,2,Online Chat,1,Online Marketing,1,Online Money,36,Online Store,2,Online Surveys,1,Operating System,13,Page,2,Password,5,Payment Service,1,PayPal,2,PC,7,PC Games,8,PDF,2,Pendrive,2,Personal Assistant,1,Photography,2,PHP,3,Picture,1,Plotter,1,Plugins,3,Pocket PC,1,Power Bank,1,PPC,1,Processor,6,Product,3,Programming Language,5,Pros And Cons,2,Purchasing,1,Q&A,1,Ranking,1,Refurbished,3,Refurnished,1,Resolution,1,Review,4,Satellite,2,Screen,3,SD Card,1,Search Engine,7,SEO,44,Server,3,Shopify,1,Smartphone,1,SMO,1,SMS,1,Social Media,19,Software,27,Solutions,1,SSD,1,Steps,4,Storage,1,Strategy,2,Success,18,System Requirement,1,System Specifications,1,Tablet PC,2,Techniques,3,Technology,9,Telephone,1,Television,6,Templates,1,TikTok,2,Timeline,1,Tips,37,Tools,3,Top List,18,Touch Screen,2,Tricks,7,Tutorial,6,TV,2,Twitter,4,Types,9,USB,8,Video,1,Video Card,2,Virus,7,VPN,2,VPS,1,WEB,3,Web Browser,10,Web Hosting,10,Web Server,1,Webmaster,2,Website,70,Website Traffic,8,What Exactly,1,What is,255,Why,25,Widget,1,WiFi,5,Wikipedia,1,Windows,27,Windows Installation,1,WordPress,19,XML Programming Language,1,YouTube,5,
ltr
item
NEtechy: A Simple Guide to Understand How DNS Works? Domain Name Servers
A Simple Guide to Understand How DNS Works? Domain Name Servers
A Simple Guide to Understand How DNS Works? Domain Name Servers In this article, we will share with you A Simple Guide to Understand How DNS Works? Domain Name Servers.
https://1.bp.blogspot.com/-fEx3Vr0bVkY/XXcqNf73TXI/AAAAAAAAIxg/i6QBdBwKMxgJduDMr9YCpCOcHQqOpQ2KACLcBGAs/s1600/How-DNS-Works.jpg
https://1.bp.blogspot.com/-fEx3Vr0bVkY/XXcqNf73TXI/AAAAAAAAIxg/i6QBdBwKMxgJduDMr9YCpCOcHQqOpQ2KACLcBGAs/s72-c/How-DNS-Works.jpg
NEtechy
https://www.netechy.com/2019/09/How-DNS-Works.html
https://www.netechy.com/
https://www.netechy.com/
https://www.netechy.com/2019/09/How-DNS-Works.html
true
751342609679224409
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy