I wanted to configure automatic updating of the dynamic IP address assigned by my ISP to both OpenDNS and DynDNS. I did this using ddclient.
Directions for configuring ddclient for OpenDNS can be found here and directions for DynDNS can be found here.
Here's what I did:
# apt-get install ddclient
I went ahead and entered configuration for DynDNS during the install when prompted.
# vi /etc/ddclient.conf
# cat ddclient.conf# Configuration file for ddclient
#
# /etc/ddclient.conf
pid=/var/run/ddclient.pid
ssl=yes
protocol=dyndns2
use=web
server=members.dyndns.org
login=dyndns-login
password=dyndns-password
my-addr.dyndns.org
##
## OpenDNS.com account-configuration
##
use=web, web=whatismyip.org
server=updates.opendns.com
protocol=dyndns2
login=opendns-login
password=opendns-password
OpenDNS-Network-Label
# chmod 600 /etc/ddclient.conf
# vi /etc/cron.daily/ddclient
# cat /etc/cron.daily/ddclient#!/bin/sh
/usr/sbin/ddclient -syslog
# chmod +x /etc/cron.daily/ddclient
3 comments:
instead of tinkering with the configuration file...would you tell me what to enter in different fields which appear during installation of ddclient in Ubuntu. I want to configure ddclient for opendns.
Manish: I didn't do that myself, but a quick google turns up this page, which looks like what you want:
Thank you very much.It was a great help!
Post a Comment