For everyone who is interested in automatically updating IP to 3domain.hk, a Dynamic DNS.
From this page, you can download an automatically updating script written in "Ruby" language.
This script has following features...
- You can update 3domain.hk secure.(This script uses MD5 algorithm, and no need to send raw your password.)
- This script has two modes. One is the daemon mode, which detects IP changing and updates automatically forever. The other is the one time updating mode, which is assumed using with "cron".
- If you don't know how to get own current IP, it's OK. This is because the sciprt can detect current IP by the IP reporting server @ myip.3domain.hk.
download script.
Before you start using this script, plaease modify it with your environment.
- ID = '(your id)'
- PASSWD = '(your password)'
- HOST = '(target host, example.com etc...)'
- IP_CURRENT = (how to get current IP, if you don't know => nil)
- IS_DAEMON = (the daemon mode => true, the one time updating mode => false)
- UPDATE_PEROID = (update period on the daemon mode, unit is second(s))
- LOG_FILE = (logging file name on the daemon mode, if you don't need to log => nil)
This script is coded by fenrir(M.Naruoka).
And this script is free and belonged to so-called "the public licence",
so please take full responsibility for your running this script.
But I'd like to recieve your feedback.
If you have any question or idea, please send mail casually.