Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

Compatible DDNS Providers Inadyn

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bazinga
    Experienced Member
    • Aug 2011
    • 418

    Compatible DDNS Providers Inadyn

    Hi all satlovers,

    I need your help, I currently use No-IP for my DDNS Provider, but becuase my IP doesn't change for atleast every couple of months, no-ip emails me every month to keep my account active. does anyone know some DDNS Provider that works -with Dreambox builtin Inadyn <-- this updates the updates the ip to the DDNS Provider. No-IP.com works well but I have problem mention above.

    so does anyone know some good DDNS Providers that works with dreambox Indadyn.
    DM800HD Clone Satellite
    VU+ Duo Genuine
    SlingBox Pro HD / Sling Player - Fibrelink

    Oh Enigma2, You're my favourite linux based operating system.
  • gianni253
    Experienced Board Member
    • Nov 2012
    • 903

    #2
    Re: Compatible DDNS Providers Inadyn

    Hi Bazinga,
    if your problem is only related to ip that never changes, just add the parameter --forced_update_period 2505600 that means "force update every 29 days" (parameter is in seconds).
    So, your inadyn.conf should look like this:
    Code:
    --background -u userid -p password -a hostname --update_period_sec 180 --forced_update_period 2505600 --dyndns_system default@no-ip.com
    Of course you can decrease the number for testing purposes.
    Bye.

    Comment

    • Bazinga
      Experienced Member
      • Aug 2011
      • 418

      #3
      Re: Compatible DDNS Providers Inadyn

      Originally posted by gianni253
      Hi Bazinga,
      if your problem is only related to ip that never changes, just add the parameter --forced_update_period 2505600 that means "force update every 29 days" (parameter is in seconds).
      So, your inadyn.conf should look like this:
      Code:
      --background -u userid -p password -a hostname --update_period_sec 180 --forced_update_period 2505600 --dyndns_system default@no-ip.com
      Of course you can decrease the number for testing purposes.
      Bye.
      No, thats not the issue. if the Ip doesn't change for a months, no-ip requires manual update to keep alive. and my ip address only changes every 2 months or so. so thats Im looking for another provider that works with dreambox inadyn
      DM800HD Clone Satellite
      VU+ Duo Genuine
      SlingBox Pro HD / Sling Player - Fibrelink

      Oh Enigma2, You're my favourite linux based operating system.

      Comment

      • gianni253
        Experienced Board Member
        • Nov 2012
        • 903

        #4
        Re: Compatible DDNS Providers Inadyn

        Originally posted by Bazinga
        No, thats not the issue. if the Ip doesn't change for a months, no-ip requires manual update to keep alive. and my ip address only changes every 2 months or so. so thats Im looking for another provider that works with dreambox inadyn
        Yes, I got it and I still think you should try.
        The parameter I wrote is just for that purpose.
        From the inadyn wiki:
        "forced_update_period: update the IP address in this period, even if it not changes"
        No matter if the ip changes, inadyn client connects to ddns server and asks for an update even if it is not required. The update will take place and the 30 day period will be cleared. By the way, did you note that 2505600 seconds is 29 days ?
        In any case, there are other servers you can use, but you will always face the same problem (unless you get a paid service).

        Some working examples:

        dyndns.com
        Code:
        --background -u userid -p password -a hostname --update_period_sec 180 --forced_update_period 2505600 --dyndns_system dyndns@dyndns.org
        freedns.afraid.org
        Code:
        --background -u userid -p password -a hostname,hash --update_period_sec 180 --forced_update_period 2505600 --dyndns_system default@freedns.afraid.org

        Comment

        • Bazinga
          Experienced Member
          • Aug 2011
          • 418

          #5
          Re: Compatible DDNS Providers Inadyn

          so where can I find inadyn.conf
          I think I done an FTP search for this and it could not find it.
          DM800HD Clone Satellite
          VU+ Duo Genuine
          SlingBox Pro HD / Sling Player - Fibrelink

          Oh Enigma2, You're my favourite linux based operating system.

          Comment

          • gianni253
            Experienced Board Member
            • Nov 2012
            • 903

            #6
            Re: Compatible DDNS Providers Inadyn

            Originally posted by Bazinga
            so where can I find inadyn.conf
            I think I done an FTP search for this and it could not find it.
            inadyn.conf is in /var/etc

            Comment

            • Bazinga
              Experienced Member
              • Aug 2011
              • 418

              #7
              Re: Compatible DDNS Providers Inadyn

              Originally posted by gianni253
              inadyn.conf is in /var/etc
              the file was not there so i created one, I will find out if it works after a month.
              DM800HD Clone Satellite
              VU+ Duo Genuine
              SlingBox Pro HD / Sling Player - Fibrelink

              Oh Enigma2, You're my favourite linux based operating system.

              Comment

              • gianni253
                Experienced Board Member
                • Nov 2012
                • 903

                #8
                Re: Compatible DDNS Providers Inadyn

                Originally posted by Bazinga
                the file was not there so i created one, I will find out if it works after a month.
                I suggest you to start inadyn with this command
                Code:
                /var/bin/inadyn --input_file /var/etc/inadyn.conf --log_file /var/tmp/inadyn.log_ &
                Note the final ampersand !

                With this command you are sure you are using the right parameter file and then you have a log to check what's goin' on.

                If you shorten the --forced_update_period parameter you can make 2 tests:
                1 - on your log (just "cat /var/tmp/inadyn.log_")
                2 - on website of ddns provider, that should show that an update has taken place within the interval you decided

                You do not have to wait for 29 days ...

                Comment

                • vimmers
                  Experienced Board Member
                  • Jun 2010
                  • 1188

                  #9
                  Re: Compatible DDNS Providers Inadyn

                  all free ddns require that you update every month to remain active
                  you can pay to no-ip or dyndns so you don't have to update

                  Comment

                  • Bazinga
                    Experienced Member
                    • Aug 2011
                    • 418

                    #10
                    Re: Compatible DDNS Providers Inadyn

                    Originally posted by vimmers
                    all free ddns require that you update every month to remain active
                    you can pay to no-ip or dyndns so you don't have to update
                    Thats Not true, its becuase my ip doesn't change frequently, this started happening after I upgrade my Internet from ADSL2+ to VDSL2+ and the ip address doesn't change often even after reconnecing.

                    On my old adsl2+ Service, my Ip changed frequently so no-ip didn't require manual update every month.

                    I found the inadyn script, what changes will make it do force update, when Ip address does not change.

                    #!/bin/sh
                    DAEMON=/usr/bin/inadyn
                    NAME=inadyn
                    DESC="InaDyn dynamic DNS Client"
                    INADYN_ON=1
                    INADYN_USERNAME=*********@gmail.com
                    INADYN_PASSWORD=*********
                    INADYN_ALIAS=*****.no-ip.info
                    UPDATE_PERIOD=3600000
                    LOG_FILE_ON=1
                    LOG_NAME=/var/log/inadyn.log
                    DYN_SYSTEM_ON=1
                    DYN_SYSTEM=default@no-ip.com


                    test -f $DAEMON || exit 0

                    set -e

                    case "$1" in
                    start)
                    if [ $INADYN_ON -ne 0 ]; then
                    ARGS="-u $INADYN_USERNAME -p $INADYN_PASSWORD -a $INADYN_ALIAS --update_period $UPDATE_PERIOD"
                    if [ $LOG_FILE_ON = 1 ]; then
                    ARGS="$ARGS --log_file $LOG_NAME"
                    fi
                    if [ $LOG_FILE_ON = 2 ]; then
                    ARGS="$ARGS --syslog"
                    fi
                    if [ $DYN_SYSTEM_ON -ne 0 ]; then
                    ARGS="$ARGS --dyndns_system $DYN_SYSTEM"

                    fi
                    echo -n "starting $DESC: $NAME... "
                    start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS
                    echo "done."
                    fi
                    ;;
                    stop)
                    echo -n "stopping $DESC: $NAME... "
                    start-stop-daemon -K -n $NAME
                    rm $LOG_NAME
                    echo "done."
                    ;;
                    restart)
                    echo "restarting $DESC: $NAME... "
                    $0 stop
                    $0 start
                    echo "done."
                    ;;
                    reload)
                    echo -n "reloading $DESC: $NAME... "
                    killall -HUP $(basename ${DAEMON})
                    echo "done."
                    ;;
                    *)
                    echo "Usage: $0 {start|stop|restart|reload}"
                    exit 1
                    ;;
                    esac

                    exit 0
                    DM800HD Clone Satellite
                    VU+ Duo Genuine
                    SlingBox Pro HD / Sling Player - Fibrelink

                    Oh Enigma2, You're my favourite linux based operating system.

                    Comment

                    • gianni253
                      Experienced Board Member
                      • Nov 2012
                      • 903

                      #11
                      Re: Compatible DDNS Providers Inadyn

                      Originally posted by Bazinga
                      I found the inadyn script .....
                      This script is an alternative way for launching inadyn.
                      The difference is that in your script you put parameters in the header of the script, instead of using an external parameter file.
                      The result is absolutely the same, but I noticed the parameter that is crucial for you is not used in the the script: note that --update_period and --forced_update_period have totally different meaning:
                      '--update_period': how often the IP is checked. The period is in [ms]. Default is about 1 min. Max is 10 days
                      '--forced_update_period': how often the IP is updated even if it is not changed. [in sec].
                      You must use '--forced_update_period'.

                      Comment

                      • Bazinga
                        Experienced Member
                        • Aug 2011
                        • 418

                        #12
                        Re: Compatible DDNS Providers Inadyn

                        so should I change the line on the script I posted, like this

                        ARGS="-u $INADYN_USERNAME -p $INADYN_PASSWORD -a $INADYN_ALIAS --forced_update_period $FORCED_UPDATE_PERIOD"

                        UPDATE: it works with afraid free dns, I would post link and settings but someone keeps deleting the post with the usefull information.
                        DM800HD Clone Satellite
                        VU+ Duo Genuine
                        SlingBox Pro HD / Sling Player - Fibrelink

                        Oh Enigma2, You're my favourite linux based operating system.

                        Comment

                        • gianni253
                          Experienced Board Member
                          • Nov 2012
                          • 903

                          #13
                          Re: Compatible DDNS Providers Inadyn

                          Originally posted by Bazinga
                          so should I change the line on the script I posted, like this
                          Code:
                          ARGS="-u $INADYN_USERNAME -p $INADYN_PASSWORD -a $INADYN_ALIAS --forced_update_period $FORCED_UPDATE_PERIOD"
                          Yes, but it is not enough.
                          On line 9 you must also change the variable definition:
                          Code:
                          UPDATE_PERIOD=3600000
                          in
                          Code:
                          FORCED_UPDATE_PERIOD=3600000
                          Believe me, it's much easier if you start inadyn in this way:
                          startup script:
                          Code:
                          #!/bin/sh
                          # inadyn start
                          /usr/bin/inadyn --input_file /var/etc/inadyn.conf --log_file /var/log/inadyn.log_ &
                          exit 0
                          and /var/etc/inadyn.conf as I wrote before.

                          Comment

                          Working...