Koozali.org: home of the SME Server

DynDns.org Problems

sm@rt

DynDns.org Problems
« on: March 26, 2002, 02:56:51 AM »
I have just registered or signed up with dyndns.org so that i can make use of a domain name, instead of emailing those people i want to have access to my network each time i receive a new ip.

I have been through the setup process and entered my account details, but nothing appears to be happening.

I am having to go to the dyndns.org site and manually update my details.

Can anyone help, why is this not working....

?

Cheers
sm@rt

heho

Re: DynDns.org Problems
« Reply #1 on: March 26, 2002, 03:20:17 PM »
Hi

Just change this file : /etc/e-smith/events/actions/update-dns
(the default file will update only "your.dyndns.org" domain)
and use something like this :

#!/bin/sh
IPADDR=$(/sbin/e-smith/db configuration get ExternalIP)
USERID="login"
PASSWD="password"
DOMAIN="your.domain.net"
/sbin/e-smith/dynamic-dns/dyndns.org $IPADDR $USERID $PASSWD $DOMAIN

sm@rt

Re: DynDns.org Problems
« Reply #2 on: March 26, 2002, 03:40:16 PM »
Thanks a lot heho....

I am very new to linux, i have managed to locate and amend this file, but is there anything i need to do now....?

Cheers
sm@rt

heho

Re: DynDns.org Problems
« Reply #3 on: March 26, 2002, 03:57:55 PM »
No, the e-smith server will call this file automatically .
Just try it to be sure it works, and take a look in messages log,
( tail -f /var/log/messages ) the result will be in this log file .

Joe McDoaks

Re: DynDns.org Problems
« Reply #4 on: March 26, 2002, 05:20:05 PM »
heho wrote:
>
> Hi
>
> Just change this file : /etc/e-smith/events/actions/update-dns
> (the default file will update only "your.dyndns.org" domain)
> and use something like this :
>
> #!/bin/sh
> IPADDR=$(/sbin/e-smith/db configuration get ExternalIP)
> USERID="login"
> PASSWD="password"
> DOMAIN="your.domain.net"
> /sbin/e-smith/dynamic-dns/dyndns.org $IPADDR $USERID $PASSWD
> $DOMAIN

Do you think it be possible to update multiple domains or dynamic and a custom domain by editing this file? i.e. someone.dyndns.org with a virtual domain of myrealdomain.com. Someone asked in the General Discussion forum and I was just wondering. I know you could do it with a third party update script such as ipcheck.py but it would be cleaner if you could just modify the script the Mitel way.

sm@rt

Re: DynDns.org Problems
« Reply #5 on: March 26, 2002, 05:55:25 PM »
Thanks.... Worked a treat!

sm@rt!

heho

Re: DynDns.org Problems
« Reply #6 on: March 26, 2002, 05:57:46 PM »
yes, it is possible,
just call others scripts from update-dns file .

Joe McDoaks

Re: DynDns.org Problems
« Reply #7 on: March 26, 2002, 07:38:56 PM »
heho wrote:
>
> yes, it is possible,
> just call others scripts from update-dns file .

Ofcourse! I couldn't see the forest for the trees. I was trying to make a simple solution difficult.

Thanks!

Kelvin

Re: DynDns.org Problems
« Reply #8 on: March 27, 2002, 01:48:57 AM »
Hi all,

Looks like I had to reinvent the wheel as I did not see this concurrent thread on the same topic running here :-).

Kelvin.

Joe McDoaks

Re: DynDns.org Problems
« Reply #9 on: March 27, 2002, 05:36:29 AM »
Kelvin wrote:
>
> Hi all,
>
> Looks like I had to reinvent the wheel as I did not see this
> concurrent thread on the same topic running here :-).
>
> Kelvin.

Sorry, just got in, I was going to post to the other thread after I tested.
I'm glad you got a working solution though!