Configuring DynDNS.org in Linux via DDClient


Most Internet service providers do not give you static IP addresses (without paying more for them), which makes hosting your own Server (Games, FTP, Web) a pain in the butt. There is however a means to create a relatively static looking connection by using a the wonderful service provided by DynDNS. They allow you to get a subdomain off one of their many domains that will automatically forward to your dynamic IP address.

You have several options on how you can keep your IP up to date with their service. You can manually update the IP on their website or you can use one of the many clients on their website. This article is geared towards setting up a Linux client, however there are many easy to setup windows clients you can download from them also, we just won't be talking about them within the scope of this article.

The first thing you must do is setup a Free account at DynDNS.org. You are allowed to create up to five free hosts without paying a single cent! If you decide you need more, it's only $9.95/yr for up to twenty!

After you have signed up with their service, you must create a DynamicDNS on their website. Next, go to the clients section and download "ddclient" (by: Paul Burry).

Install the DDClient as per the install instructions included in your download.

Once you have installed the program you should have a configuration file located in your /etc directory. Below is a copy of my ddclient.conf and we will go over it step by step.

Start of /etc/ddclient.conf:

daemon=900 Update your ip address with the server at this time interval.

syslog=no Do you want this update logged to your syslog?

pid=/var/run/ddclient.pid The pid of your ddclient, you don't need to change this.

use=web, web=checkip.dyndns.org/, web-skip='IP Address' This line checks your external IP address against the DynDNS website. If you have a router on your internet connection, to share it to multiple computers, there is probably a good chance that your individual pc's are using 192.168.x.x ip addresses. We need your IP address that the world can see, which is the one your router is actually assigned.

protocol=dyndns2 This is just the protocol setup by DynDns to transfer this data to their server.

server=members.dyndns.org This is the server that you are going to connect to, to update your information.

login=YourUsername Your username you signed up with, on the DynDNS.org website.

password=YourPassword This is your clear text password. I highly suggest that you set this password to something you never use anywhere else.

mx=YourSite.homeip.net This is the name of the Primary site on DynDNS you setup.

server=members.dyndns.org, protocol=dyndns2 YourSite-1.homeip.net YourSite-2.homeip.net YourSite-3.homeip.net

You can send multiple updates all at one time. You can type as many as you like, one per line, and it will update the ip address all at once for your sites.

End of /etc/ddclient.conf

After the configuration file has been updated with your information and saved, you must restart the ddclient. If you setup the software properly according to the install information you should be able to use the following commands:

/etc/init.d/ddclient stop /etc/init.d/ddclient start /etc/init.d/ddclient restart

Happy Hosting!

Ken Dennis http://KenDennis-RSS.homeip.net/


MORE RESOURCES:
RELATED ARTICLES
The 'Website' CHECKLIST : Domains, Hosting, Web Design
This article is meant to all who already have a website or who propose to buy it. Website - the term comprises three things : Domain, Hosting (Web space) & Web DesignThere are numerous company offering these services.
Small And Medium Businesses Embrace Servers Running Linux
Although we are aware of Linux adoption by large enterprises, most people do not know that there are sizeable numbers of installations in small and medium businesses (SMBs) as well. This base is set to grow as server vendors lob tailor made Linux servers and applications at SMBs.
Virtual Web Hosting - What Is Virtual Web Hosting?
If your web site has outgrown its shared hosting solution, it may be time to move it to virtual hosting, which is often seen as a low cost alternative to getting your own dedicated server. A virtual server gives you most of the advantages of a dedicated server at a fraction of the price.
How to Know When It is Time for Your Website to Move On to Dedicated Servers
Knowing when it is time to move onto a dedicated server includes many variables and requires you to answer a variety of questions. While dedicated servers are great because only you and your business will be using them, they are expensive and require someone to manage them, which costs more money.
How to Move Your Domain Without Any Downtime
With a little advanced planning, moving your domain to a new hosting company is a painless process. The approach outlined here will allow you to move any domain without downtime.
Multiple Website Hosting - Subdomains are the Answer!
Many business owners find themselves in a quandary over the ways to make the most of their company's web site. This is especially true of those who have the need to maintain more than one web site but do not wish to pay for multiple hosting accounts.
Hosting Options for an Ecommerce Web Site
Deciding how to host your ecommerce Web site and what approach to take can be daunting. There are several approaches available, each with different advantages and disadvantages.
Web Hosting Help - What's Bandwidth
Bandwidth can make all the difference when choosing where to host your websiteA common mistake made by so many people when looking to choose a web host company is not asking about bandwidth. After spending so long designing or with a developer designing your web site you do not want to see a good web site ruined and only viewed by a handful of people at a time.
Why Dedicated Hosting?
If you're reading this article, you might be interested in getting a dedicated server, or simply learning more about dedicated hosting services.First of all, please note, that a dedicated server is rather expensive service, and you shouldn't waste your money if you don't plan to use it in full measure.
Dont Get Fooled by the Web Hosting Wolves in Sheeps Clothing!
Are you looking for web hosting? If you want to set up a personal website, or a modest commercial one, you are probably in the market for an inexpensive shared hosting plan. Those entry-level plans may cost $5-10 per month, and often boast very generous features for that modest prize.
Linux vs. Windows Web Hosting, Does It Make A Difference?
One of the most confusing decisions someone new to web hosting will have to make is which platform their server should be on. There are a number of different choices out there but the main two are Linux and Windows web servers.
How to Choose a Quality Webhost
If you are anything like me, you'd probably like to have a website on the Internet but you just have no idea how to go about it. All this talk of web hosting, bandwidth, disc space, and other jargon can cause one to say, "This is too complicated and technical, I just wanted to have a place to put all of my favorite skateboarding photos, cool information on ramp designs, and the best places to skate!" To get a website on the Web you have to go through a web host.
Use Your Hobby To Launch A Successful Website
When you study the really successful websites, you will quickly notice that many are based on seemingly strange subjects, many of which may not easily pass for a serious business.This clearly underlines the fact that when it comes to online enterprises and ecommerce, the possibilities are endless and you can actually succeed at virtually anything.
UNIX vs. Windows- What Server Operating System Should You Use for Your Web Hosting?
So you've decided to create a website? The most obvious thing that you need is of course web hosting. Among other things, like cost and features, you'll need to decide which server you'll need: Windows (NT, 2000 or XP) or Unix (Linux, FreeBSD, OpenBSD, etc.
Managed Vs. Unmanaged Dedicated Hosting
"Unmanaged dedicated servers" - this is a pretty uninviting term to many, especially the non-gurus, but in most cases is not as "non-servicing" as it seems. In fact, I think someone one day soon, ( who knows maybe me ) will coin a new phrase to replace the term "unmanaged" - similar to how "used cars" is now "pre-owned" or how "apartment complexes" are now "rental communities".
CHMOD - Undertanding File Permissions on a Unix-Based Server
The basic command for changing file permissions in unix based operating systems is the 'chmod' command. This command is executed with a set of parameters after it.
Are Free Webhosting Accounts Really Free? - 5 Critical Things to Consider Before Choosing a Free Web
Many free web hosting accounts are free to use, however they will cost you a lot of money, time, and customers as well if you have a site that is meant for business purposes and is more than the simplest site imaginable. Consider the following items as to why free web hosting might cost you more than you had bargained for when you signed up.
CGI Web Hosting - 3 Essential Scripts for Your Business
If there's one thing that people love it is a web site that has plenty of automated features. Sites that are highly interactive tend to get the most traffic and generate the most business for the companies that run them.
Web Hosting Woes for Beginners
Every individual when it starts surfing the net for choosing its hosting partner get confused by variety of offers. Most of the beginners usually fall into trap of free hosting, cheaper hosting and other stuff that lead them to land in no man's land later on.
How to Choose a Right Web Hosting Service?
Indeed, choosing a right web hosting service for your website is not an easy task especially when there are thousands of web hosting providers all offering almost identical web hosting packages. Therefore, it is important to know few major considerations even before you start your web hosting search.