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:

Powered by Feedzilla

More Profits in Your Website Hosting Business

If you run a website hosting business, you already know... Read More

Steps to Becoming a Web Host Reseller

You've decided to get a reseller web hosting account to... Read More

How To Host Several Websites Under One Account

If you operate several websites, each with its own domain... Read More

Web Hosting and Development

If you've ever browsed the World Wide Web and wondered... Read More

How To Choose A Reliable Web Host For Your Website

A client of mine paid for a solo advert to... Read More

Free Web Hosting Tips

1. The reliability of the service and their offers.A brand... Read More

Elements of Web Hosting

When you first start out trying to get a site... Read More

Choosing a Right Hosting Solution

You must have done all the hard works for developing... Read More

Web Design and Hosting - Free Web Hosting Perks That Will Perk Up Your Web Site

If you've got or are considering a web hosting account... Read More

How to Choose a Web Hosting Company?

Nowadays, anybody can afford to order a feature-packed web hosting... Read More

Battle Of The Hostings

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

Web Hosting Solutions In Birmingham

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

Free Web Hosting - Why Might It Be A Bad Idea

When talking about free anything the legitimate question that first... Read More

Getting The Best Web Hosting For Your Business

After the dot.com bubble burst a few years back I... Read More

Questions To Ask a Hosting Company Before You Start

There are several types of hosting. Among them are:Free hosting... Read More

Free or Paid Web Hosting?

Just finished your first website? So it's the time to... Read More

Sender Policy Framework (SPF) ? How to use it to Fight Email Forgery

Spam is a real problem today. Forged email is a... Read More

Cheap Web Hosting Package? eCommerce Web Hosting? - Choosing A Web Hosting Provider

One of the important decisions you'll make when you decide... Read More

What Is Web Hosting?

Many businesses, from one-man-bands to multi-national corporations, have a web-presence... Read More

Server Host: Where Does My Web Page Go?

For those of you who don't really understand where or... Read More

Web Hosting Providers - Find A Newbie Friendly Web Site Host

If you're about to set up your first web site... Read More

Reseller Hosting: The Good and The Bad!

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

The Web Hosting Industry 2005

For the "big things" to be build it was certainly... Read More

How to Transfer Your Web Site to a New Web Hosting Service?

There are various reasons why an online business owner like... Read More

40,000 New Blogs Are Started Daily - How Your Web Hosting Business Can Cash in

The fact that an estimated 40,000 new blogs are being... Read More