Koozali.org: home of the SME Server

updating dynDNS

aiman

updating dynDNS
« 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

Olsen

updating dynDNS
« Reply #1 on: June 28, 2004, 05:53:51 PM »
Did you try to request a Static IP address from your ISP?

aiman

updating dynDNS
« Reply #2 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.

Offline funkusmunkus

  • *
  • 220
  • +0/-0
updating dynDNS
« Reply #3 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)
.........