Top Web Hosting Reviews
Top Web Hosting Provider of The Month:
Top Web Hosting
Visit Bluehost.com | Read Bluehost Review

>> Web Hosting Geeks // Web Hosting Articles // Domain Names  


Know 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 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'

    About The Author

    Pawan Bangar,
    Technical Director,
    Birbals, Ebirbals, SeoBirbals, Hbirbals
    India.

    Visit us at: www.birbals.com, www.ebirbals.com, www.hbirbals.com, www.seobirbals.com

    pawan@ebirbals.com


    MORE RESOURCES:

    Brafton

    Domain names without Latin characters will broaden SEO impact
    Brafton
    Late last month, the Internet Corporation for Assigned Names and Numbers announced that it would begin issuing internationalized domain names. ...

    and more »


    PR.com (press release)

    Gossimer Announced a Transfer-in Domain Promotion to Allow Customers to ...
    PR.com (press release)
    From the second day of November '09, Gossimer started offering customers a promotional price on domain names being transferred to Gossimer at a heavy ...

    and more »


    RTT News

    VeriSign Swings to Profit in Q3, Domain Name Base up 6%
    Domain Name Wire (blog)
    VeriSign, which manages the registry for .com and .net domain names, reported a profitable third quarter. The company earned $53.6 million in the quarter, ...
    VeriSign Reports 6% Year-Over-Year Core Revenue Growth in Third Quarter 2009CNNMoney.com (press release)
    UPDATE 1-VeriSign Q3 profit narrowly beats estimatesReuters
    About this author:Seeking Alpha (blog)

    all 25 news articles »


    The Japan Times

    ICANN approves non-Latin characters for domain names
    GCN.com
    16, and by next year, domain names — which have been restricted to Latin characters in the form of .com, .org and the like — could be turning up in some of ...
    Japanese URLs no big dealThe Japan Times

    all 4 news articles »


    Funny Expiring Domain Names
    Elliot's Blog (blog)
    We all register head shaking domain names. Sometimes it comes after a few drinks, and sometimes we just have no clue about where the idea to register a ...
    Web domain transfer market defies the recessionV3.co.uk
    Rick Latona Auction Ends Today, Sedo 2 Character Auction StartsDomain Name Wire (blog)
    Sedo Sees Continued Growth in Secondary Domain MarketReuters
    Domain Name News
    all 16 news articles »


    Domain Name Journal

    Domain name auction house admits internal bidding corruption
    iTWire
    Domain name broker SnapNames.com has always had its measure of detractors complaining the company permitted dubious practices. ...
    SnapNames Discovers User Name “Halvarez” Was Employee Bidding on Domain NamesDomain Name News
    Domain Industry Rocked By Shill Auction Bidding AdmissionTechCrunch (blog)
    Fraud in SnapNames Auctions?PR-Inside.com (Pressemitteilung)
    FT Alphaville (blog)
    all 25 news articles »


    SnapNames: Apologies Shouldn't Be Conditional, Especially When You Steal From ...
    TechCrunch (blog)
    SnapNames acquires expiring domain names from registries and then auctions them off to interested buyers. When everything goes well people are happy. ...
    SnapNames Says Former Exec Bid Up 50000 AuctionsXBIZ Newswire
    Users Accepting Snapnames Rebate Sign Away Right to Further ClaimsDomain Name News

    all 9 news articles »


    Not So Imminent: Domain Names in Chinese
    Wall Street Journal
    Associated Press The Roman letter system has in some ways led the way to domain names that might seem puzzling to non-Chinese users, like 51job.com, ...

    and more »


    Radio 1

    Say hello to .كوم as domain names go truly global
    Ars Technica
    The organization approved the "Internationalized Domain Name Fast Track Process," allowing a plethora of non-Latin characters to be used in domain name ...
    Internet Body Allows Use of Non-English Domain NamesBloomberg
    ICANN Weighs Non-Latin Domain NamesPC Magazine
    Internet domain names set to appear in non-Latin scriptsCNN International
    CNET News -PC World -ChannelWeb
    all 1,357 news articles »


    The Next Web

    Рhishing for multilingual domain names
    The Next Web
    The р in the latter domain name (also in the title, by the way) is a Cyrillic glyph that looks identical to the Latin p. There are tons of glyphs from ...


    Google News





  •  
     
     

    © 2004 - 2008 "Web Hosting Geeks" | Web Hosting Reviews | Customer Reviews | RealMetrics Reviews | Hosting Articles | Directory | Partners | Contacts
    Over 7000 articles: web hosting, web development, domain names, ecommerce, web design, site promotion, ppc advertising, seo, site promotion and many others.
    Web hosting reviews, ratings and awards are not based on any incentives or commissions. Names and trademarks are the properties of their respective owners.
    A direct link to Web Hosting Geeks (http://webhostinggeeks.com) must be provided in order to use any of the above information. Contact us for more info.

    Partners: Hosts by speed, Cheap Website Hosting, Free Website Hosting, Cheap Web Hosting, Top 10 Web Hosts, Top 10 Web Hosting Deals, Best Website Hosting, Free Web Hosting, Free Web Hosting, Dedicated Server Hosting, Adult Web Hosting, Web Hosting Discussions, Dedicated Server Reviews, Best Web Hosting, Web Hosting Discounts, HostProfessor.com, rsuog, halyava, PHP Website Hosting Services, Web Hosting Reviews, Hosting Uptime, Best Web Hosting Reviews, Cheap Webhosting, Web Hosting, Flash Templates, CMS Templates, Web Hosting Reviews, Website Hosting Reviews, Web Hosting Providers, Best Web Hosting, Top Web Hosting, RSUOG Web Hosting