Skip to content
README 1.26 KiB
Newer Older
Yuanle Song's avatar
Yuanle Song committed
Date: 2012-05-10
Time-stamp: <2012-05-10>

the ddclient package seems *weak*.
it does not keep the domain up-to-date.
    //since by default there is no error report or log, I can't know the reason.
    //the thing I know is the IP for my domain gets out-dated.
it does not keep a log.
    //ddclient can log to syslog. default is no log though.
it does not report errors.

* features
** works by running command in crontab
** send email to local admin when update IP fail.
   send email to local admin when network is down. i.e. can't do dig or curl
   at all.
** log to syslog, default target is /var/log/ddclient-http.log
   auto create syslog filter rule.
   auto create logrotate rule.
** easy installable.
   use make install or make install-deb.

   'make deb' will create a .deb package.
** 

* dependencies
  low level:
  shell

  high level:
  curl
  dig
  make

* TODO split config from source code.
  config variables should be set in /etc/ddclient-http.conf
  and it can be sourced by the source code.

  move username, password, domain name, update URL to $HOME/.ddclient-httprc

  then source that at run time.

* TODO BUG when I just updated my domain.
  I do a dig, I get the old IP. I try a new update. I get "nochg".
  will I be blocked?

  extend crontab gap to 3 minutes?