| About domains and DNS |
|
|
|
|
Internet transfer protocols identify individual network nodes (computers providing certain services to other computers) using IP addresses, which are world-unique. And IP address in the older transfer protocol is a series of numbers divided by dots – 196.216.162.45, or a series of numbers and letters divided by colons – 2001:200:8002:203:47ff:fea5:3085 in the new IP protocol. Such addresses are very hard to remember for the human mind, just as it is hard to remember lots of telephone numbers. This is why we have phonebooks, in which people list telephone numbers together with the names of their owners. In modern phones, users just select a name from the internal phonebook, press the call button and the phone calls the telephone number associated with that name.
The DNS (Domain Name System) works as a phone book for IP addresses.The Domain Name System enables us to assign a symbolic name - called the domain name - to the IP address. Such name is easier to remember for users - they can type it in the browser's address bar (I know a Tanzanian company XYZ; I can type www.XYZ.co.tz in the address bar). Similarly to a phone, the browser looks into a "phone book", finds the correct record and automatically connects to the IP address corresponding to the domain name and displays the page. If there was only one domain name list, we would have problems. Everyone would want to call their mail server “mail“, or call their computers by the name of their users. The same name would have to correspond to several addresses, which is not possible. People would start using cryptic names and the system would cease to provide its basic function. The size of the phone book for the entire world would be the second problem. These problems were solved by using a hierarchy. Domain names were divided into levels, divided by the dot sign, whose complete string, for example mail.tznic.or.tz, constitutes a qualified domain name. Individual domain name levels are numbered in reverse order. The last part of the domain name is the first level domain, or top level domain (TLD), this is the .tz in our example above. The second level domain (SLD) is .or. There also are third, fourth, fifth level and so on sub-domains. Thanks to hierarchy, the space for creation of domain names is bigger. It is enough for individual names to be unique within a given level. Because the list does not have to be kept at one place, only a list of sub-domains for each domain is kept and the hierarchic system is much simpler. This creates a domain name tree with individual domain levels. The domain tree root contains information on all TLD's, such as .com, .tz, .uk .ke, etc. Each of those TLD's has its own registry of all SLD's within it. For example the .tz TLD registry contains all SLD's, which for the time being are or.tz, ne.tz, go.tz, ac.tz, mil.tz, sc.tz and co.tz. Each of those SLD's has a list of third level domains - for example tznic.or.tz, tcra.go.tz, etc. The domain tree grows to the subsequent level domains using the same principle. Each domain registry has its organization or person acting as its administrator and sets rules for registering domain names for the sub-domains. All administrators of national TLD's may be found in the lists at the IANA website. These rules usually prescribe: Let’s take the user who opens www.xyz.co.tz page in his web browser. The computer of such a user sends www.xyz.co.tz name query to the local DNS server which processes the request in the following way: 1. Local host asks the local DNS server for the website of xyz.co.tz 2. As the local DNS has no answer, it forwards the query to the Root server. 3. The Root server does not know the answer but knows where .tz domain is delegated, so it sends back a list of IP addresses of .tz name servers. 4. Local DNS server uses the information received from root server and asks one of those .tz name-servers for xyz.co.tz 5. The .tz name-server doesn't as well know the answer, but because it stores the information about all .tz sub-domains. Therefore, it sends the information about next server containing .co.tz domain to the local DNS. 6. Local server continues and asks one of .co.tz name-servers for xyz.co.tz 7. Queried server has the information about xyz.co.tz sub-domain, so it responds with the right answer for xyz.co.tz that is 196.216.162.99 (IP address). 8. Local DNS server provides this address back to users’ computer (local host). 9. The computer connects to a web server running at that IP address, downloads web page content and displays it on the screen. |
| Last Updated on Wednesday, 04 February 2009 05:21 |