At the very top of this hierarchy is the root (which does not appear in the domain name). The next level down of this hierarchy is the top level domain (TLD), the one after that being the second-level domain, and so on.

The TLD is what appears at the far right end of a domain name. In the example above, the TLD is .my. TLDs come either as country codes domain names like .uk, and .jp, or generic top-level domain names like .com, .net, or .gov.

An IP address or network address is a numeric form of address that identifies every machine on the Internet. Therefore, every machine has a unique IP address. For example, the IP address of the abc company website could be 192.228.180.200.

A domain name is a textual form of address that is easier for humans to remember than the string of numbers that makes up an IP address. For example, the domain name of that same abc company could be http://www.abc.com.my. However, this domain name could have more than one IP address.

When you browse a particular web site, it is actually the IP address that determines the successful communication between your computer and the website. IP addresses could be said to be computer-friendly, while domain names are human user-friendly.

The technology that allows this to happen is called Domain Name System (DNS) technology. This provides the mapping between user-friendly domain names and computer-friendly numeric IP addresses. DNS is an Internet protocol and distributed database.

Here’s how DNS technology works. DNS comprises three components: the name server, the resolver, and the domain.

The name server is also known as the DNS server. It stores domain name information or gets domain name information from other name servers and stores them temporarily in caches to eliminate unnecessary network traffic.

The resolver is a DNS client that queries the name server to resolve an Internet hostname.

The domain is the DNS content which is held in a hierarchical tree structure for translation of names to network addresses and mail routing.

The hierarchical tree structure has these functions:

Gives rough indication of the type of organisation and its location e.g. names that end with .my, are related to Malaysia

Allows automatic navigation in the system through the DNS tree

Allows delegation of responsibility for a branch in the tree to multiple parties

Take for example, the domain name www.abc.com.my. The Internet naming hierarchy for this domain is:

.(root) | my | com | abc | www

At the top of the DNS database tree are what are called root name servers. Each root name server knows the IP addresses of the name servers handling the top level domain names. In our example, the top level domain name is .my. If a querying name server would like to find out the IP address of www.abc.com.my:

First, it would ask a root name server for the IP addresses of the .my domain name servers. The root name server returns the IP addresses of the .my domain name servers to the querying name server.

Then, the querying name server asks a .my domain name server for the IP addresses of com.my domain name servers. The .my domain name server returns the IP addresses of the com.my domain name servers to the querying name server.

Then, the querying name server asks a com.my domain name server to find out the IP addresses of abc.com.my domain name servers and obtains the information needed.

Finally, it queries the abc.com.my domain name server. Each abc.com.my domain name server has detailed address information for the hosts in that domain. This most specific name server supplies the querying name server with the IP address of the host machine called www.abc.com.my.

The process is graphically presented below:

Example Query: What is the numeric address (IP address) of a machine with the hostname www.abc.com.my?
Example Response: 192.228.180.200

Every domain name has name servers that handle queries for its information or records. What’s in a name server? It contains one or more DNS databases to store Internet hostnames and their associated IP addresses. DNS records need to be maintained by people.

Name servers are queried by various programs and other name servers to convert domain names into IP addresses all day long. Each name server, called a primary name server, usually has a back-up server, called a secondary name server, so that this can be done uninterrupted. Both primary and secondary name servers hold the authoritative data of a domain name.

If you wish to receive e-mail from the Internet you need to have a Mail Exchange (MX) record for your domain name in your DNS database. There are two ways to get name servers for your domain name:

create and administer them yourself

pay an Internet Service Provider or a hosting company to handle them for you