Loading...
Loading

Latest Hosting Posts


Rating:(0 votes cast)
Know How DNS Works
2004-09-19 by 
shareShare |submitSubmit |rssRSS|printPrint|CommentsComments

Loading...
loading

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 user 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

DNS converts the machine names (such as 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 www.xyz.com. The machine uses a directory service to look up IP addresses and this service is called DNS. When you type www.xyz.com your machines firsts contacts a DNS server, asking it to find the IP address for 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 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 sub domain nodes and these are 'com', 'org', 'gov', 'mil', 'net', 'edu', 'Int', etc.

DNS consists of two components

Nameserver
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 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

DNS uses principle of 'caching' for its operation. When a nameservers 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 of time 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 variety of ways:

Table look up. On UNIX hosts, the table is /etc/hosts.

The process communicates with a local nameservers. This is named on a UNIX system.

By sending a massage 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 is does not serve, it may send back a referral to the client by specifying better nameservers. Typically operate in the recursive manner wherein any DNS server passes requests it cannot handle to higher level server and so on, until either the request can be handled or until the root of the DNS name space is reached.

The nameservers contain pointers to other 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 is able to use DNS protocols to locate the nameserver responsible for any part or 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. In order 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 host names 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 to DNSSEC is to provide authentication and integrity to the DNS. These are provided through the use of cryptographic'

DiggDigg 
RedditReddit 
shareShare
news Buffer
Interesting input but I also found some really nice twitter tricks at 10bomb.com so you might want to check it out.Marylee
Carin Tribble (Linux Guru) - April 24th, 2010
Such articles do help to liberalize and I want to thank you for that! But to understand the details, one should read a lot of literature, which is not enough in the internet. To make the search easier, you may find more linux manuals at pdfph.com and make use of their pdf ebook search engine.
Ruchita - April 27th, 2010
ya i like cpanel. becoz it's very easy to manage and user friendly. Thanks for the article
Pavan Kumar - April 27th, 2010
every one can easily handle this cpanel. Nice article my friend. you can find cpanel web hosting from here also ibeehosting.com
Ted Thompson - April 27th, 2010
Helpful article, thanks for putting together.
IM expert - May 15th, 2010
Host Gator is the best hosting. I made a big research beforeI joined the hosing company. They charge as low as $4.95 per month.In addition you can host many domains in the same hosting account.Use a coupon code "myhostdiscount" (without "quotes") to get $9.94 off your host package.
Swapna - June 8th, 2010
Great article and thanks for sharing the information regarding Cpanel Web Hosting
Hajith - June 8th, 2010
CtrlS Datacentersoffers Cpanel Web Hosting at low price. Please check out them once CtrlS.in
WesternSoftwares - June 15th, 2010
thanks for great informations It’s a wonderful
Hello,I am regular visitor of this website.Lots of good information here blog.metawing.com
logo design - June 16th, 2010
very useful and interesting.
i truthfully enjoy your own writing kind, very remarkable,don’t give up as well as keep writing due to the fact that it simply just worth to follow it.looking forward to see a whole lot more of your current well written articles, enjoy your day
oyunlar - July 17th, 2010
thanks for great informations It’s a wonderful
SharePoint Hosting - July 27th, 2010

Good article. By the way, I stumbled upon an article on Market Press Release which says, One Time Signup Offer on Windows Sharepoint at $1.99 per user. The company that is offering this is i-Technosoft Corporation and if any of you guys have tested or still using their services, I would appreciate your feedback.Cheers!

Web Hosting - August 24th, 2010
Hi friend, I read your article throughout and find all the information i was looking for, I am looking for a affordable Cpanel Web Hosting company, and now I know how to find one.
Manoj - September 13th, 2010
Hi, After read this article i got my answer from your post that why we have need to Choose Cpanel Web HostingThanks for suggestions..Manoj Kumar
Innomax - September 21st, 2010
Nice posting for hosting , I really like it.Also it would be good if you can post an article about the importance of web hosting in terms of SEO
soney - September 30th, 2010
nice article about Microsoft exchange. Thanks for sharing. SEO Company India
Furniture Plans - December 26th, 2010
Hi friend, I read your article throughout and find all the information i was looking for, I am looking for a affordable Cpanel Web Hosting company, and now I know how to find one.
All In One - December 27th, 2010
Well first i tell you this is a nice post and Virtual hosting simple refers to the fact that your site is on one server, and that this server hosts multiple sites. You are virtually shared - your site will not be the only one on this specific serverinterview tips
internet knowledge - January 3rd, 2011
This is a great article i like it very much thanks
N Kumar - January 18th, 2011
Very nice post on VPS hosting. This post includes best information on VPS hosting for companies.VPS hosting India
Mike - March 24th, 2011
VPS hosting services are great when your website reaches that stage where shared hosting is no longer reliable enough to handle with occasional traffic spikes, yet you can't quite warrant a dedicated server. Mike @ Heathrow Airport Parking
seo projects - April 1st, 2011
Hello friends this is Sophie and here to offering you a new and very good link which has full of information aboutSeo prjects. Seo prjects isso fastestto increase your business and help to create high profile of your business.
Seo Company india - April 12th, 2011
Very Helpful article. Thanks for sharing With us.
Mark simon - April 19th, 2011
This site is highly informatics, crisp and clear. Here everything has been described in systematic manner so that reader could get maximum information and learn many things. This is one of the best blogs I have read. SEO Agency India
SEO Services Agency - April 20th, 2011
Hi everybody, As we all know that having a website is very important for any business, but if the website is not visible on Google and other search engines and not viewed by your prospective clients and customers, then it will be of no use.I offer very high quality SEO and search engine ranking services at cheap rates. Any one can visit my website and contact me on this. Thx
Web Design Company - May 12th, 2011
Good to use C panel Web Hosting
iphone - May 26th, 2011
Really Very nice post on VPS hosting. This post includes best information on VPS hosting for companies.
Buy Indian domain - August 30th, 2011
Already I know some information about virtual hosting. Now I have got some information. Thanks for sharing.
UK dedicated hosting - September 12th, 2011
This is a great post, I will have to say. The information is so well organized that readers like me cant sway for even seconds. Keep it up.London data center
makemytrip promotion code - September 13th, 2011
Well first i tell you this is a nice post and Virtual hosting simple refers to the fact that your site is on one server, and that this server hosts multiple sites.Read more: http://www.hostreview.com/blog/basics/articles/090521cpanelwebhosting.html#ixzz1XoJFWCVr
yatra promotion code - September 13th, 2011
This is a great post, I will have to say. The information is so well organized that readers like me cant sway for even seconds.
web design company - September 13th, 2011
Best idea to filter spams, but this one also work with free email provider?
alfredo - September 13th, 2011
It is really annoying to receive spams, unsolicited emails and promotions, I think this idea is perfect in filtering those annoyance. web design company
Santa Monica Electrician - September 14th, 2011
Really Very nice post on VPS hosting. This post includes best information on VPS hosting
domain register - September 21st, 2011
Well, let me try it.. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.
john albert - September 22nd, 2011
Webmatrix Technology is Internet Marketing Company provides you SEO Services, Web 2.0, Social Media Marketing, Pay per click, Websites Designing and Development Solution most affordable budget.
Elliptical Reviews - October 12th, 2011
This post is different from what I read on most blog and it have so many valuable things..
Midlands Consulting - October 19th, 2011
Interesting and full informative article. Thanks for sharing.
Android Spy - October 20th, 2011
Virtual web hosting is very useful and it is often used on large scale in companies whosebusiness model is to provide low cost website hosting for customers.Thanks for sharing anice post.Android Spy.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.