Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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.