DynDNS Linux client

http://www.dyndns.com
janfai / moc]tod[liamgnull]ta[xiaf.naj

Linux Update Client
http://dyn.com/support/clients/linux/

Update Client Configurator
http://www.dyndns.com/support/tools/clientconfig.html

  • hosts:
  • faix.homelinux.net
    94.230.149.155
    zviretnik.dyndns.info
    94.143.171.101

    wget -N --no-cache http://cdn.dyndns.com/ddclient.tar.gz
    tar -zxvf ddclient.tar.gz
    cd ddclient-3.7.3
    
    cp ddclient /usr/local/bin/
    chown root:root /usr/local/bin/ddclient
    chmod 750 /usr/local/bin/ddclient
    
    mkdir /etc/ddclient

    /etc/ddclient/ddclient.conf

    daemon=600
    syslog=yes
    cache=/tmp/ddclient.cache
    mail-failure=jan.faix@gmail.com
    pid=/var/run/ddclient.pid
    use=web, web=checkip.dyndns.com/, web-skip='IP Address'
    login=janfai
    password=xxxxxxx
    protocol=dyndns2
    server=members.dyndns.org
    faix.homelinux.net

    chown root:root /etc/ddclient/ddclient.conf
    chmod 600 /etc/ddclient/ddclient.conf
    cp sample-etc_rc.d_init.d_ddclient.ubuntu /etc/init.d/ddclient

    /etc/init.d/ddclient

    DDCLIENT=/usr/local/bin/ddclient
    CONF=/etc/ddclient/ddclient.conf

    chown root:root /etc/init.d/ddclient
    chmod 755 /etc/init.d/ddclient
    update-rc.d ddclient defaults

  • test:
  • ddclient -daemon=0 -debug -verbose -noquiet
    /etc/init.d/ddclient start