This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FYI: DynDNS / dyn.com policy change

I received an email from dyn.com (aka dyndns.org et al); apparently they're going to free require users to manually login every month or they will expire accounts.

Starting now, if you would like to maintain your free Dyn account, you must log into your account once a month. Failure to do so will result in expiration and loss of your hostname. This activity helps us eliminate hostnames that are no longer needed and/or dormant. Note that using an update client will no longer suffice for this monthly login.


(emphasis mine)

Barry


This thread was automatically locked due to age.
  • Guys,

    I found a auto-login script via Google you can install on your UTM to auto-login your DynDNS account once a week to make sure your accounts stays active.

    -----
    #!/bin/sh
    ########################################################################
    #
    # dyndnslogin
    # Automate login to prevent account expiration
    #
    ########################################################################

    ########################################################################
    # DynDNS Settings
    USERNAME="username"
    PASSWORD="passwort"

    ########################################################################
    # Variabeln
    PROGNAME=dyndnslogin
    COOKIE=`mktemp --tmpdir="/tmp" -t ${PROGNAME}_cookie_***XX`
    OUTPUT=`mktemp --tmpdir="/tmp" -t ${PROGNAME}_output_***XX`
    USERAGENT="Mozilla/5.0"

    ########################################################################
    # Main

    MULTIFORM=`curl -s -k -A $USERAGENT -c $COOKIE https://account.dyn.com \
      | awk -F\' '/multiform/{ print $6 }'`

    curl -s -k --location -A "$USERAGENT" -b $COOKIE -c $COOKIE -o $OUTPUT \
      --data "username=$USERNAME&password=$PASSWORD&iov_id=&submit=Log+in&multiform=$MULTIFORM" \
      https://account.dyn.com/

    if grep -E "(Welcome|Hi).*$USERNAME" $OUTPUT > /dev/null 2>&1
    then
      echo Login successful
    else
      echo Login failed
      FAILED="true"
    fi

    rm $COOKIE
    rm $OUTPUT

    if [ "$FAILED" = "true" ]
    then
      exit 1
    fi

    # EOF

    -----
    Source: Zwingender monatlicher Login bei DynDNS.org automatisieren (Auto Login Script) | Blog von Emanuel Duss | emanuelduss.ch

    I've made some small adjustments to the script from the source to be able to use it on the UTM. Just fill in your username/password within the script.

    Finally I've created a cronjob to start the script once a week on sunday. That's it!
  • Guys,

    I found a auto-login script via Google you can install on your UTM to auto-login your DynDNS account once a week to make sure your accounts stays active.

    -----
    #!/bin/sh
    ########################################################################
    #
    # dyndnslogin
    # Automate login to prevent account expiration
    #
    ########################################################################

    ########################################################################
    # DynDNS Settings
    USERNAME="username"
    PASSWORD="passwort"

    ########################################################################
    # Variabeln
    PROGNAME=dyndnslogin
    COOKIE=`mktemp --tmpdir="/tmp" -t ${PROGNAME}_cookie_***XX`
    OUTPUT=`mktemp --tmpdir="/tmp" -t ${PROGNAME}_output_***XX`
    USERAGENT="Mozilla/5.0"

    ########################################################################
    # Main

    MULTIFORM=`curl -s -k -A $USERAGENT -c $COOKIE https://account.dyn.com \
      | awk -F\' '/multiform/{ print $6 }'`

    curl -s -k --location -A "$USERAGENT" -b $COOKIE -c $COOKIE -o $OUTPUT \
      --data "username=$USERNAME&password=$PASSWORD&iov_id=&submit=Log+in&multiform=$MULTIFORM" \
      https://account.dyn.com/

    if grep -E "(Welcome|Hi).*$USERNAME" $OUTPUT > /dev/null 2>&1
    then
      echo Login successful
    else
      echo Login failed
      FAILED="true"
    fi

    rm $COOKIE
    rm $OUTPUT

    if [ "$FAILED" = "true" ]
    then
      exit 1
    fi

    # EOF

    -----
    Source: Zwingender monatlicher Login bei DynDNS.org automatisieren (Auto Login Script) | Blog von Emanuel Duss | emanuelduss.ch

    I've made some small adjustments to the script from the source to be able to use it on the UTM. Just fill in your username/password within the script.

    Finally I've created a cronjob to start the script once a week on sunday. That's it!


    I get a login failed even thought the credentials are right.
  • I got my dear john email from dyn.com today. Time to start looking for another service provider. Has anyone found a decent free service or a paid service?
  • I'm using NameCheap now; about $10/year for a domain, and the dynamic DNS service is included, for any subdomains or @ (or *, iirc).
    And it works with the UTM's dynamic DNS.

    Barry
  • Hi,

    Now im using No-Ip, and it works fine.
    But No-Ip is not supported from the UTM..
    Now my Modem updates my ip to No-Ip...

    Greets

    Sorry for any short responses! Sent from my iPhone using Astaro.org
  • I get a login failed even thought the credentials are right.


    Do you use special characters within your password? If so, please change to something easier and give another try.


  • Do you use special characters within your password? If so, please change to something easier and give another try.


    The password is 16 characters long with number,upper and lower case letters. No special passwords
  • The password is 16 characters long with number,upper and lower case letters. No special passwords


    Please run the curl command not in silent mode (without -s) and send me the output.

    BTW: On which device you try to run the script? Did you used my modified scripts from the UBB or the scripts from the source-URL I've posted?
  • I am running this from my UTM (/tmp )

    command output is :

    ******:/tmp # curl -k --location -A "$USERAGENT" -b $COOKIE -c $COOKIE -o $OUTPUT --data "username=&password=&iov_id=&sub mit=Log+in&multiform=$MULTIFORM" \ https://account.dyn.com/

    curl: (6) Couldn't resolve host 'username=&password=&iov_id=&sub mit=Log+in&multiform=' \ https://account.dyn.com/
    curl: (1) Protocol  https not supported or disabled in libcurl

    ******:/tmp #


    i am using the following script 

    #!/bin/bash
    ################################################## ######################
    #
    # dyndnslogin
    # Automate login to prevent account expiration
    #
    ################################################## ######################

    ################################################## ######################
    # DynDNS Settings
    USERNAME="username"
    PASSWORD="passwort"

    ################################################## ######################
    # Variabeln
    PROGNAME=dyndnslogin
    COOKIE=`mktemp --tmpdir="/tmp" -t ${PROGNAME}_cookie_***XX`
    OUTPUT=`mktemp --tmpdir="/tmp" -t ${PROGNAME}_output_***XX`
    USERAGENT="Mozilla/5.0"

    ################################################## ######################
    # Main

    MULTIFORM=`curl -s -k -A $USERAGENT -c $COOKIE https://account.dyn.com \
    | awk -F\' '/multiform/{ print $6 }'`

    curl -s -k --location -A "$USERAGENT" -b $COOKIE -c $COOKIE -o $OUTPUT \
    --data "username=$USERNAME&password=$PASSWORD&iov_id=&sub mit=Log+in&multiform=$MULTIFORM" \
    https://account.dyn.com/

    if grep -E "(Welcome|Hi).*$USERNAME" $OUTPUT > /dev/null 2>&1
    then
    echo Login successful
    else
    echo Login failed
    FAILED="true"
    fi

    rm $COOKIE
    rm $OUTPUT

    if [ "$FAILED" = "true" ]
    then
    exit 1
    fi

    # EOF
  • Running this on my 9.006 and works fine. Please make sure this command is one large line:

    curl -s --location -A "$USERAGENT" -b $COOKIE -c $COOKIE -o $OUTPUT \ --data "username=&password=&iov_id=&submit=Log+in&multiform=$MULTIFORM" \ https://account.dyn.com/