• I am trying to get the DynDns to automatically update.

    I noticed that there is an entry in the crontab for rc.dyndns.update but i dont think the cron jobs are running.  I have even tried running the rc.dyndns.update manual but that does not actually update the DNS.

    I have downloaded the ddclient and that does work to update.  Now my issue is getting that to run as a daemon or cron job.

    The crontab command i am trying "crontab 10 * * * * root /etc/ddclient/ddclient" i get the error "crontab: 10: No such file or directory"

    I have also tried "crontab -u root /etc/ddclient/ddclient" and get the error "crontab: errors in crontab file, can't install"

    i have copied the daemon ddclient to the /etc/rc.d/ when i try to run the daemon i get "Command not found"

    According to the README i need to run the chkconfig –add command but that command does not exist.

    So i am stumped.

    My Dns has not been automatically updated in 3 days.  I have had to manually do it.

    Help please

  • Need to add i am on version 1.2 - RC3

  • So… i found me a work around.

    1. I install the ddclient to /etc/ddclient/

    2. then create a script /usr/local/etc/rc.d/ddclient.sh

    echo 'Running ddclient minicron'

    case "$1" in
            minicron 7200 /var/run/ddclient.pid /etc/ddclient/ddclient
            kill -9 cat /var/run/ddclient.pid
            echo "WTF!!"
            exit 64

    exit 0

    3. chmod 755 ddclient.sh

    4. reboot

  • It's not run from cron (and it's not ddclient), it runs automatically when your IP changes.

Log in to reply