Let me begin by saying that there are at least two ways to get to this website (len.com.ng). Apparently, one of the ways is to enter len.com.ng on your web browser and you will be directed to this website (Len Academy). A second way to is by typing some four sets of numbers separated by dots (called IP address), for instance 10.102.18.11. The second way is actually the ideal way that the internet is supposed to work because IP address is the protocol of the internet. This is what the founders of the internet used in designing the internet’s connectivity.
Note: IP address means Internet Protocol Address.
Now, if we had gone with the second way from the above paragraph, the internet in itself will become quite difficult for almost everyone to use because it wouldn’t be fun memorizing the billions of available IP addresses. Some of the internet professionals knew this potential problem and thus decided to come up with the Domain Name System in 1983. Please read the notable dates on internet evolution here.
Consider the followings:
This website on which you are on (Len.com.ng) is actually an IP address. You don’t need to know the IP address of LEN ACADEMY in order to get to it; all thanks to the Domain Name System.
The DNS is a protocol that translates domain names to IP address. You may simply consider it as the phonebook of the internet.
Think of the domain name as the name of a website, for instance, len.com.ng is a domain name, google.com is a domain name, yahoo.com is a domain name and so on.
Note: The DNS works at layer 7 or Application layer of the OSI Model and layer 4 of the TCP/IP stack. Please read on the OSI model here.
When you type in your destination website on your computer or phone's browser URL, let’s say example.com for instance, your browser will first attempt to resolve the entered address (example.com) to its specific IP address. Always remember that routing on the internet is a function of the IP addresses and technically NOT the domain name which you actually entered. After your computer or phone does a successful domain lookup (that is; searches for the IP address that had been mapped to the domain name example.com), the IP address that matches example.com is henceforth used to get you the web page of example.com.
Note: Once the domain name (example.com in this instance) had been resolved to IP address, DNS is done with its job because that’s specifically what it was created to do “resolve domain names to IP address.” Example.com could now be resolved to something like 192.168.0.100 (IP address) or the newer complex address that looks something like 1201:bca0:11aa:1992::1:100b (called IPv6 address). This is how every other website would work including len.com.ng.
The point is; with DNS, you are more likely to remember len.com.ng or google.com or yahoo.com rather than some sets of numbers separated by dots (IP address).
Think of it this way: You make use of names to save phone numbers so that you can easily recognize the owners of such numbers right? The same goes for DNS in mapping domain names to IP address, since you can easily remember domain names compared to IP addresses.
Another question is; what if the domain name that was entered is incorrect; let’s say "len.cm.ng" was entered by a user instead of "len.com.ng". That will mean that "len.cm.ng" cannot be resolved to any IP address. Well, the browser will respond with an error message while also giving you some suggestions on how to go about the issue. See the error message below from an internet explorer browser:
Image Credit: Social Technet
We have got millions of DNS servers around the world such that if one of the servers does not know how to translate a specific domain name, it will question the next server until the appropriate IP address for such domain name is returned.
1. DNS Recursor: The function of the recursive DNS server is to receive DNS queries directly from your computer or phone or any other client machine that has a browser. The DNS recursor then makes additional request so that the correct IP address can be given back to the client machine. If it had already cached the correct IP address for the domain name (probably from an initial request), there will be no need for it to send an additional request to another DNS server; rather it directly sends the correct IP address to the client machine.
2. Root Nameserver: This is the first DNS server that translates domain names to IP address. It does not contain a list of all the IP addresses for every domain name. It only serves the domain name for specific locations.
3. Top Level Domain (TLD) Nameserver: This name server hosts the last segment of a domain name. For instance, in the example.com domain, the TLD server hosts the “.com” portion of such name.
4. Authoritative Nameserver: Think of it as an encyclopedia that contains all domain names with each name mapped specifically to its correct IP address. The authoritative name server returns the IP address to a specific domain name if it has the records, else the intended website (domain name) will be unreachable.
Topics in ICTIntroduction to Computer Hardware Notable dates on Internet evolution Best programming languages to learn How to consume less data on your android phone Introduction to the Internet of Things Understanding Domain Name System, DNS