I remember my previous Employer, Mr. Noby E.A. (MD, Craysol Technologies (Inida) Pvt. Ltd; who wrote a VB program to solve the dynamic ip address problem (there was no public IP available from ISP) he faced while hosting a mail server in his office. To resolve this, he wrote a application in VB to capture the current leased ip address (allocated by ISP DHCP) of his mail and update it in a small database located in a remote server published in internet. So before sending anything to his mail server, he will read the database from the public server for the latest ip address of mail server and put it as destination address.. But twas a small problem, at times after fetching the latest public ip of mail server, ISP DHCP renews the IP lease of mail server, hence the message lost.
Again after some time I started thinking about a vpn connectivity from an office which doesn't have public address, so the idea of DDNS came,
Before explaining DDNS, I hope you all have a good idea about DNS, For those who dont know, DNS is the one to one mapping between name to ip address. But in DNS its will not get updated dynamically and it may take even more than 24 hrs to get updated in the root DNS servers. Here come DDNS,
What is DNS?
DNS (Domain Name Service) is the Internet service/protocol which provides the translation between a FQDN, or domain name, and its associated IP address. A DNS server is a computer that is running the DNS service/protocol. Every internet domains must be assigned a DNS server or set of DNS servers to be able to resolve names for that domain.
For example, if you were to type in "mail.mycompany.com", your computer would lookup who the DNS servers were for the domain mycompany.com. It would then query that DNS server for the IP address of the name mail.mycompany.com. At that point, the DNS server would return the IP Address associated with mail.mycompany.com and then your computer would connect to that IP Address.
But what happens if your IP address changes periodically such as if your machine is connected to your internet service provider who is providing you a dynamic IP Address via DHCP?
What is Dynamic DNS?
DDNS (Dynamic Domain Name Service) was created to solve this problem of giving a name to devices whose IP addresses change continually. So who is most likely to use Dynamic DNS? Well, static IP Addresses or web hosting accounts are relatively expensive. And there were alot of people who had a perfectly good computers at home behind their dedicated internet connection (cable or DSL). They wanted to use that machine as a server, for example, a web server.
But if someone typed "www.mycompany.com", there needed to be a service that could keep track of what the latest IP Address assigned to your computer was so that it could return the correct IP Address of your computer to a requesting computer. In a nutshell, that is what Dynamic DNS does.
How Does Dynamic DNS Work?
There are two components that are needed for Dynamic DNS to work. One is a client side component that will send the latest IP Address of the computer or device whenever it changes. And the second component is a server side DNS service which will receive the IP Address update from the client side component and also service DNS requests.
The client component is typically a piece of software you install on your computer that will monitor your IP address and forward it to the server component whenever the IP Address changes. Some of the newer cable/dsl modems and firewalls have this capabilty built in which eliminates the need to install client side software on your computer. There are lots of available DDNS client software that vary from freeware to shareware.
The server component for Dynamic DNS is typically provided by a hosted service provider that specializes in Dynamic DNS. Some provide this service for free while others charge a minimal fee. In addition, sometimes your domain registrar will also provide Dynamic DNS services.
Following are some of the DDNS Service Providers
* Dynamic Network Services, Inc
* DHS International
* DNS Park, LLC.
* DNS Made Easy
* Dynu Systems Inc.
* Domain DNS
* ZA NiC
* Open Domain Server
* DNS Wizard Corporation
* GnuDIP Dynamic DNS
* Constant Time Software
* Art of DNS
* IWAS2 Tech's DNS Services
* Microtech Dynamic DNS
* WebReactor Networks
* Nikhilino Online
* DynDNS Info
* Continuum CMDNS
* theBBS.org DynDNS
* Virtual DNS
* Nicolas' Internet Services
* DSL Vdns Service
* Tzolkin Corporation
Following are some of DDNS Clients
* DynDNS Updater
* No-IP.com Update Client
* Macintosh Dynamic DNS Client
* DynSite for Windows
* NetCruiser Dynamic Domain
* StaticCling client
* EzDNS IP Address E-mailer/Poster
General How To For Setting Up Dynamic DNS
1. Select a Dyamic DNS Service. As part of the setup, You will need to setup a username/password and a FQDN (Fully Qualified Domain Name) to assign to your computer.
2. Find and install a DDNS client on your computer that is compatible with the Dynamic DNS service.
3. Configure your DDNS client with the name of your DDNS service and the username and password associated with your DDNS service.
4. Start up your DDNS client and test that the DDNS name service is resolving your DDNS name to IP Address correctly. You can either do this by testing the FQDN using a tool such as nslookup, ping.
NOTE: You may also have to configure your cable/dsl modem or firewall to open any ports for the services you want to access remotely.
I hope, this was explanatory .. do pls send your feedbacks and doubts to "firstname.lastname@example.org", so that I can also improve my KB :-)