Web Hosting How-Tos
  Home arrow Web Hosting How-Tos arrow Page 2 - How to Link a Domain Name to a Dynamic...
Web Hosting Articles  
Web Hosting FAQs  
Web Hosting How-Tos  
Web Hosting News  
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
ASP Web Hosting  
ASP.NET Web Hosting 
Budget Hosting 
Coldfusion 
Colocation 
Mobile Linux 
APP Generation ROI 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Reseller Web Hosting 
Shared Hosting 
Small Business Hosting 
Virtual Private Servers 
Windows Web Hosting
 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB HOSTING HOW-TOS

How to Link a Domain Name to a Dynamic IP
By: Barzan 'Tony' Antal
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 5
    2008-06-11

    Table of Contents:
  • How to Link a Domain Name to a Dynamic IP
  • The Theory
  • Let’s Do It!
  • Closure

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    How to Link a Domain Name to a Dynamic IP - The Theory


    (Page 2 of 4 )

    We’re going to keep the theory to a minimum; that's a promise! First, domain names are held in a so-called name server. Thanks to domain names we can enter names in our browsers for URLs without being required to memorize those IP digits. In our everyday lives, software such as web browsers and mail clients handle the DNS resolutions. We call “resolution” the necessary process of discovering the IP to which a domain name points.

    To simplify this, imagine the following: the DNS server is a huge server with hundreds of entries containing the appropriate IP addresses for each domain name. This is straightforward in the case of static IP addresses. However, this gets trickier when it deals with dynamic IPs because the server must be notified in real-time to update its entries. It must also be told that the maximum caching time should be set to a minimum.

    The DNS cache was designed to reduce the load on DNS servers. There is a specific TTL (time to live) time interval during which a DNS is “valid.” The TTL is the maximum amount of transmissions (iterations). Until this limit is reached (TTL expires), a “resolution” can be cached -- meaning that clients won’t request an update.

    As mentioned earlier, with dynamic IPs, the main name space server must be notified as soon as possible, whenever the IP address changes, to update its records immediately. DNS services that provide Dynamic DNS services too also usually supply a client-side application that manages these queries (if another IP change occurs then notify the name server). This is the whole system in a nutshell.

    Networking components such as routers, for example, that have DDNS as an built-in feature are usually assigned to a predefined name space server. That’s the way their firmware was designed, and dynamic IP assignments are told to the DNS hosting service. This eliminates the need to run the stand-alone “ddclient” application.

    The aforementioned DDNS client is often called a ddclient (Linux client). Another network maintenance utility which is widely used is the nsupdate. Using the latter to notify and execute update queries on name space servers requires appropriate security measures (authentication and permissions by DNSSEC), i.e.: HMAC-MD5 hash keys.

    In the next section we’ll talk about practical real-world applications. Until then, please glance over to the diagram below. By now you should understand how DDNS works but a diagram like this may help to plant the whole concept in your long-term memory. As you can see, the ddclient notifies the DNS server (name space server); in the diagram, this is show as the new IP variable written right on the arrow.


    (Amateur sketch done in less than a minute)


    More Web Hosting How-Tos Articles
    More By Barzan 'Tony' Antal


       · Thanks for reading this article. I hope you've found it educational.If you have...
       · I think that something is misunderstood... I have to two questions.1.Does this...
       · Hello,Thanks for your comments and feedback regarding my article.1.) DynDNS...
     

    WEB HOSTING HOW-TOS ARTICLES

    - How to Link a Domain Name to a Dynamic IP
    - How to Set up a Simple Website
    - Choosing the Right Kind of Web Hosting
    - Introduction to Choosing the Right Web Host
    - Strategies for Creating Domain Names
    - How to Pick Domain Names
    - Aligning Yourself With Block Lists
    - Dedicated Web Hosting: The Executive Summary
    - Choosing a Domain Name: Some Dos and Don’ts
    - One-time Passwords - Tight Security for Sens...
    - Learning a New Programming Language Part 3: ...
    - Learning a New Programming Language Part 2: ...
    - Learning a New Programming Language Part 1: ...
    - A Primer on J2EE Clusters for Webhosting
    - Building a CMS, part 2: Taking it to the ser...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
    Stay green...Green IT