Fehlermeldung

  • User warning: The following module has moved within the file system: comment_notify. In order to fix this, clear caches or put the module back in its original location. For more information, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /local/www/drupal/core/7.79/includes/bootstrap.inc).
  • User warning: The following module has moved within the file system: piwik. In order to fix this, clear caches or put the module back in its original location. For more information, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /local/www/drupal/core/7.79/includes/bootstrap.inc).

ddclient und DynDNS

Einige ältere D-Link-Router aktualisieren die IP bei DynDNS.org nicht mehr. Abhilfe schafft ddclient.

Mit ddclient kann man allgemein dynamische DNS Anbieter automatisch konfigurieren. Bei mir lief vor langer Zeit ein ddclient auf einem Rechner mit FreeBSD 4.11-STABLE hinter einem D-Link-Router (DI-614+ Rev. B).

Installation

portinstall ddclient

Konfiguration:

cp /usr/local/etc/ddclient.conf.sample /usr/local/etc/ddclient.conf

Änderungen in /usr/local/etc/ddclient.conf:

  1. daemon=3660 # Jede Stunde checken<br />
  2. syslog=yes # log update msgs to syslog<br />
  3. mail=root # mail all msgs to root<br />
  4. mail-failure=root # mail failed update msgs to root<br />
  5. pid=/var/run/ddclient.pid # record PID in file.<br />
  6. use=web,web=checkip.dyndns.org # via web<br />
  7. login=$USERNAME # default login<br />
  8. password=$PASSWORD # default password<br />
  9. #mx=mx.for.your.host # default MX<br />
  10. #backupmx=yes|no # host is primary MX?<br />
  11. #wildcard=yes|no # add wildcard CNAME?<br />
  12. wildcard=yes<br />
  13. server=members.dyndns.org, protocol=dyndns2 $MYNAME.dyndns.org<br />

Danach noch die /etc/rc.conf angepasst:
echo 'ddclient_enable="YES"' >> /etc/rc.conf

und ddclient beim erstenmal manuell gestartet:
/usr/local/etc/rc.d/ddclient.sh start