Sunday, January 3, 2010

Information on Setting up a hostname at DynDNS.com on Fedora

DynDNS.com allows you to obtain your own free domain name like name.dyndns.org, host your own weblog/blog at home, or access your computer remotely. A very useful tool if you need more control of your resources

A good information to start, use Dynamic DNS How-To and Using ddclient With DynDNS.com Services

To summarise,
Step 1: Copy the configuration file
cp ddclient /usr/sbin/
mkdir /etc/ddclient
cp sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
vi /etc/ddclient/ddclient.conf
(Change the required information)

Step 2: Change the configuration file
# Basic configuration file for ddclient
#
# /etc/ddclient.conf

daemon=600
cache=/tmp/ddclient.cache
pid=/var/run/ddclient.pid
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
login=your-username
password=your-password
protocol=dyndns2
server=members.dyndns.org
wildcard=YES
example.dyndns.org
custom=yes, example.com

Step 3: Configure the Start-up
## For those using Redhat style rc files and using daemon-mode:
cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
## enable automatic startup when booting
/sbin/chkconfig --add ddclient
## start the first time by hand
/etc/rc.d/init.d/ddclient start

No comments: