Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: sm@rt 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
-
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
-
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
-
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 .
-
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.
-
Thanks.... Worked a treat!
sm@rt!
-
yes, it is possible,
just call others scripts from update-dns file .
-
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!
-
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.
-
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!