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/

In The News:


pen paper and inkwell


cat break through


How to Choose the Web Hosting Provider?

1. Does the company offer telephone support or 24/7 email... Read More

Web Hosting Data Transfer: How Much Is Too Much?

Bandwidth in its simplest terms refers to the amount of... Read More

CGI Web Hosting ? 3 Essential Scripts for Your Business

If there's one thing that people love it is a... Read More

Hosting Options for an Ecommerce Web Site

Deciding how to host your ecommerce Web site and what... Read More

How VOIP Has Helped Change Web Hosting

There is really no stopping VOIP (voice over internet protocol)... Read More

What to Look for in a Free Hosting Provider

The first thing that you must realize when looking for... Read More

Web Hosting - How To Choose The Right Provider For You

Thousands of companies, tens of thousands of different plans and... Read More

Handling Your Email Addresses

--Company Email Addresses--Web hosting companies should provide company email accounts... Read More

How to Get Better Technical Support

Whenever you have a technical question that needs answering, you... Read More

Virtual Private Servers (VPS) Web Hosting

A Virtual Private Server (VPS), also referred to as Virtual... Read More

What Some Web Hosts Dont Want You To Know

Many start-up web hosts in their desperate attempt to get... Read More

Why Dedicated Hosting?

If you're reading this article, you might be interested in... Read More

Choosing the Right Web Host

Whatever type of website you want to host, choosing the... Read More

Web Hosting Bandwidth -- How Much Bandwidth Is Enough?

Bandwidth in its simplest terms refers to the amount of... Read More

Transferring Your Existing Website to a New Hosting Provider

You've already got a website, but your current hosting provider... Read More

How to Achieve # 1 on Free Hosting

A domain name and paid hosting are considered essential for... Read More

Beware of the Hidden Perils of Low Cost Hosting

Some folks classify low cost web hosting on the same... Read More

How Can I Get The Web Host Services And Support I Need, Hassle-free?

Choosing a host or switching hosts can be an agonizing... Read More

Finding a reliable hosting provider

The website hosting business is very competitive these days with... Read More

Choosing Your Web Hosting Reseller Software

As a web host reseller, one of your most important... Read More

How to Choose a Right Web Hosting Service?

Indeed, choosing a right web hosting service for your website... Read More

Budget Web Hosting - Dirty Secrets That Can Squash Your Websites Chance of Success

When it comes to budget web hosting, there are a... Read More

Windows Hosting versus Linux Hosting ? Which is right for you?

There are literally hundreds of thousands of web hosting companies... Read More

How To Build A Successful Hosting Company

There are a couple of key things to look at... Read More

The Top 15 Essential Ingredients of Every WINDOWS HOSTING Plan (Package)

First things First. Why would you like to have Windows... Read More

How to Start Your Own Hosting Services

If your like many another webmasters you might be thinking... Read More

The 14 Point Web Hosting Checklist

How To Select A Web Hosting CompanyWhen starting out, it... Read More

Website Sitebuilders: Easy to use Website builders Come with a Price

Professional web designers don't come cheap. A good web designer... Read More

10 Helpful Tips to Follow When Switching Web Hosts

You've made your decision to move from your website from... Read More

How to Choose a Web Host - Frequently Asked Questions

In this article you'll be provided with helpful information about... Read More

Where to Get Cheap Web Hosting

First, to see if you can use cheap web hosting... Read More

Demand Unlimited Auto-Responders with Your Hosting Accounting

AutoResponders are nifty scripts that run in your web server... Read More

Tips on Finding a Hosting Service for Your Business Website

There are so many hosting companies offering to host your... Read More