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


Avoid Getting Ripped Off By A Hosting Company

Chances are if you host multiple domains or websites you... Read More

Battle Of The Hostings

There are literally thousands of hosting solutions on the internet... Read More

Best Web Hosting Company - Find The Most Affordable Host

If you're creating a community web site or a business... Read More

Back To School Web Hosting

Every year as school starts web hosts see an up... Read More

A Simple Guide to Web Hosting

Personal Computers, Servers Or ISP?You need a server to host... Read More

Sell Web Hosting for Fun and Profit

The market is good for new Web hosting companies. According... Read More

Dedicated Server Price Check

The price of dedicated hosting services has really come down... Read More

Web Hosting Solutions In Birmingham

Once you have a website you then need to think... Read More

Uptime Guarantee ? Good Idea?

When looking for a Web Host there are lots of... Read More

Provide A Good Home For Your Website

Selecting a web hosting company is like sending one of... Read More

Choosing The Wrong Server Will Literally Make Or Break You

Choosing the right web server will be one of the... Read More

Where to Get Cheap Web Hosting

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

Reseller Hosting: The Good and The Bad!

Reseller webhosting can be a great way to earn some... Read More

Web Hosting Woes for Beginners

Every individual when it starts surfing the net for choosing... Read More

Web Hosting: Shared or Dedicated - Which Should You Choose?

Before you begin your search for a web host you... Read More

Benefits of Web Hosting and Choice of a Web Host

Well let me start this way, a lot of people... Read More

Finding a Home for Your Internet Enterprise - A Point by Point List

After much Net surfing and looking at all the offers... Read More

The Top 10 Essential Ingredients of Every Linux Hosting Plan (Package)

Any website comprises the following ? Domain name, Webspace, Webpages.Lets... Read More

How to Start Your Own Hosting Services

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

Dedicated Web Hosting Is Easy When You Know These 3 Timesaving Secrets

Dedicated web hosting has its difficulties and problems from time... Read More

Hosting Your Way All The Way To The Bank

Let's face it, the Internet is here for good. Today's... Read More

4 Critical Things To Look Out For In A Web Hosting Service

1. The reputation of the web hosting company.Most web hosting... Read More

Thinking About Changing to a New Web Hosting Company? 5 Steps to Plan Ahead for the Move

Perhaps your web hosting company has a technical support group... Read More

The ?Website? CHECKLIST : Domains, Hosting, Web Design

This article is meant to all who already have a... Read More

Domain Name and Web Hosting Hell

Does GoDaddy really suck?I am in the process of registering... Read More

Bound To Your Old Expensive Web Host by Fear?

You're not alone! Many people are bound to the old... Read More

CGI Web Hosting ? 3 Essential Scripts for Your Business

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

Cheap Web Hosting - When Cheaper is Better

Anyone who has ever shopped for web hosting knows that... Read More

Criteria of Choosing an Ideal Web Hosting Company

Before we talk about what it takes to... Read More

Small And Medium Businesses Embrace Servers Running Linux

Although we are aware of Linux adoption by large enterprises,... Read More

Web Hosting Help ? What?s Bandwidth

Bandwidth can make all the difference when choosing where to... Read More

Cheap Web Hosting, What To Look For And What To Stay Away From

"Bargains for sale, Unlimited Hosting for only a Dollar.""Get your... Read More

Switching Web Host

Moving a web site to a new host is not... Read More