Koozali.org: home of the SME Server

Dynamic DNS - custom setting with ez-ipupdate for YI.ORG

Offline bscally

  • 4
  • +0/-0
Dynamic DNS - custom setting with ez-ipupdate for YI.ORG
« on: September 23, 2007, 03:04:54 PM »
I have struggled for some time with getting a nice installation for updating my dynamic DNS with YI.ORG as they really only like to support GNUDIP protocol,  and the YI setting in SME server isn't set up for GNUDIP.

When I upgraded the server HW recently I had to go through and replace my YI installation.   AT this time I found ez-ipupdate which supports a vast number of dynamic DNS update methods ( null ezip pgpow dhs dyndns dyndns-static dyndns-custom ods tzo easydns easydns-partner gnudip justlinux dyns hn zoneedit heipv6tb ).  So I installed the package.

ez-ipupdate will run in daemon mode,  so whenever the IP address changes it will do it's update thing.  However I chose to invoke it in a 'custom' script that is called from the e-smith event script.
ez-ipupdate will also run as from a config file, but I am not sure I am into generating additional config files for the sake of it :-)

Here is my 'custom' script

-oOo-
#!/bin/sh
#
# File:  /sbin/e-smith/dynamic-dns/custom
# Version 0.1
# Date : Sun Sep 23 09:00:49 EDT 2007
#
# Revision History
# 0.1 - Created
#
# Description: www.yi.org (paid service update)
# ------------------------------------------------------------
# Send DNS IP address update to yi.org through gnudip.
# force server, cache-file, protocol and interface
# ------------------------------------------------------------

IPADDR=$1
USERID=$2
PASSWD=$3
DOMAIN=$4

DATETIME=`date`

/bin/ez-ipupdate/ez-ipupdate --cache-file /var/tmp/HOSTNAME.yi.org.cache --host ".$DOMAIN" --interface eth1 --server gnudip2.yi.org --service-type gnudip --user "$USERID:$PASSWD"
-oOo-

Hope this helps

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Dynamic DNS - custom setting with ez-ipupdate for YI.ORG
« Reply #1 on: September 23, 2007, 03:50:03 PM »
I have struggled for some time with getting a nice installation for updating my dynamic DNS with YI.ORG as they really only like to support GNUDIP protocol,  and the YI setting in SME server isn't set up for GNUDIP.
...
Hope this helps

Please post this information to the bug tracker. Thanks.