Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: moj on December 18, 2002, 02:39:19 AM

Title: Dynamic IP - DynDns.org - Updates
Post by: moj on December 18, 2002, 02:39:19 AM
H'lo,

I'm running SME 5.5. I'm using DynDns.org w/ a dynamic IP. I wonder if it's necessary to install anything to update DynDns when/if my IP address changes, or if something is built into the server config to do this regularly. If so...where do I find it?.

Anyone have any ideas?

Thanks in advance.
Title: Re: Dynamic IP - DynDns.org - Updates
Post by: ian on December 18, 2002, 08:43:39 AM
As you go through the "Configure this server" menu item in the server console it is an option in there.
I hope that helps
Ian
Title: Re: Dynamic IP - DynDns.org - Updates
Post by: Wietse on December 18, 2002, 02:44:03 PM
Hey,

I made a file using VI, called ez-ip:



#!/bin/bash
# Script to update the IP-adress for dyndns.org

ez-ipupdate -S dyndns -u ***ACCOUNT***:***PASSWORD*** -h ***ACCOUNT***.dyndns.org -i eth1



Replace ***ACCOUNT*** with your account name, and ***PASSWORD*** with your password, save that file in your etc/cron.weekly folder, and it works fine for me :)

Good luck!
Title: Re: Dynamic IP - DynDns.org - Updates
Post by: moj on December 31, 2002, 12:00:03 PM
Thanks for the reply! I do have one extra question, however...is there anything that needs to be done re: permissions?

Thanks again
Title: Re: Dynamic IP - DynDns.org - Updates
Post by: Wietse on December 31, 2002, 05:53:43 PM
Mine worked right away...

I tested it by changing the IP address (to e.g. 1.1.1.1) on the dyndns-account by login in, then run the script manually:
./ez-ip
And then check if the numbers of your IP have changed. If so, the script works and you could either run the script manually once in a while or place the script in the /weekly/ folder so it will run once every week automatically...

Good luck!
Wietse