OpenDD
OpenDD is a DynDNS client, written in C, and especially designed
for small gateway machines, like a Soekris box. Its main feature
is that it does not require any Perl or Python interpreter.
It supports HTTPS, can send a mail report, and can run as daemon.
It is also very easy to deploy.WWW: http://www.bsdmon.com/wakka/OpenDD
Установка:
1 2 3 4 5 6 7 | [root@case.net.ru]$ cd /usr/ports/dns/opendd [root@case.net.ru]$ make showconfig ===> The following configuration options are available for opendd-0.7.9: OPENDD_SSL=off "Build with SSL support" RC_NG=on "Install RC_NG script" ===> Use 'make config' to modify these settings [root@case.net.ru]$ portinstall opendd |
Настройка производится в файле /usr/local/etc/opendd/opendd.conf:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | servername = members.dyndns.org hostname = case.selfip.net username = [username] password = [password] use_ssl = 0 cert_path = /usr/local/etc/opendd/opendd.pem iface = ng0 runasdaemon = 1 use_syslog = 1 syslog_facility = daemon system_user = nobody system_group = nogroup pidfile_path = /var/run/opendd.pid pollfrequency = 300 domain_lifetime = 28 wildcard = 1 mx = mx.case.net.ru backupmx = 1 offline = 0 mailfrom = opendd@case.net.ru mailto = root@case.net.ru smtpservername = localhost |
В rc.conf я его не записывал. Запускается он из скриптов mpd:
1 2 3 4 5 | [root@case.net.ru]$ cat /usr/local/etc/mpd4/up_stream.sh | grep opendd /usr/local/etc/rc.d/opendd forcestart [root@case.net.ru]$ cat /usr/local/etc/mpd4/down_stream.sh | grep opendd /usr/local/etc/rc.d/opendd forcestop [root@case.net.ru]$ |
