Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: aiman on June 28, 2004, 05:40:59 PM

Title: updating dynDNS
Post by: aiman on June 28, 2004, 05:40:59 PM
Hello!
Problem is next: I set up my own server behind dyn IP. yi.org I also registered my curret IP to yi.org that offers dyn dns service. But is it possible to make IP update automatically? My server is based on SME 6.0 (installed server-only mode)

Thanks
Title: updating dynDNS
Post by: Olsen on June 28, 2004, 05:53:51 PM
Did you try to request a Static IP address from your ISP?
Title: updating dynDNS
Post by: aiman on June 28, 2004, 06:16:54 PM
Quote from: "Olsen"
Did you try to request a Static IP address from your ISP?

No, but I don't want Static IP because it costs too much. There must be another way.
Title: updating dynDNS
Post by: funkusmunkus on June 29, 2004, 06:36:43 AM
look in one of these under /etc/
cron.d
cron.daily
cron.hourly
cron.monthly
cron.weekly

in mine it was in cron.weekly
you should find refresh-ddns , move it to hourly
mv /etc/cron.weekly/refresh-ddns /etc/cron.hourly/
and that should update it every hour.
I haven't tried it yet, i just found out about it, i'll try it  today though when i get home, and let you know how it goes
hope that helps
Cheers

(edit)
Not sure but i think a service would need to be restarted for this to take effect, you could restart e-smith , maybe someone else might have a better idea.
and then if it works i can put together my first how to :) woo hoo moving up in life
(end edit)