DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-01-28 22:58:22

m.levin
New member
Registered: 2010-01-28
Posts: 1

DNS IP

Hi

My IP address for my ADSL connection changes when I turn the router off or after a few months.
I have set up an FTP so family can assess my pictures, but currently I am giving my IP (ftp://bah.bah.ba.ba)
But as my IP changes, due to router power down or after an unscheduled IP change from my provider, I have to keep giving them my new IP address, bit of a pain.
I want to provide them with a reliable stable address, to access my 323 files.
I have used NO-IP, but this has to run on a PC that is switch on, to work.
Is it possible to set something up so that family can access the 323 files, from an address a bit like NO-IP, with no computers on the network on?

Offline

 

#2 2010-01-28 23:57:54

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: DNS IP

Many routers support dyndns. If yours doesn't, you can run a dyndns client on your nas. A very simple one:

Code:

#!/bin/ffp/sh

# Username and password of Dyndns account
USERNAME=user
PASSWORD=pass

# dynamic domain
DYNDOMAIN=mydomain.dyndns.com

while[ true ] ; do
    
    # ask current address at dyndns.org
    LOOKUP=` nslookup $DYNDOMAIN 204.13.248.116 | tail -n 1 | awk '{print $3}' `

    # ask current address at whatismyip.com
    cd /tmp
    wget -q http://www.whatismyip.com/automation/n09230945.asp
    
    if[ -f n09230945.asp ] ; then
        # we have answer of whatismyip.com
        MYIP=` cat n09230945.asp `
        rm n09230945.asp

        if [ "$LOOKUP" = "$MYIP" ]; then
            echo "Address is unchanged"
        else
            echo "Address is changed from $LOOKUP to $MYIP, going to update"
            echo ` wget --user=${USERNAME} --password=${PASSWORD} "http://members.dyndns.org:8245/nic/update?system=dyndns&hostname=${DYNDOMAIN}&myip=${MYIP}&wildcard=off" `
        fi
    else
        echo "Whatismyip.com is offline"
    fi

    sleep 300
done

Offline

 

#3 2010-01-29 21:31:02

karlrado
Member
Registered: 2009-12-07
Posts: 229

Re: DNS IP

The stock DNS-323 software does this as well.  I'm aware of running scripts in ffp for this, but I'm using the stock version and it is working fine for me.

You can find the configuration panel under TOOLS->DDNS

Of course you have to establish a (free) DynDNS account.  It seems that there is a DlinkDDNS option as well.

If I power-cycle or reboot my DSL modem, it always gets a new IP addr.  The DNS-323 updates my DynDNS domain name within 10 minutes.  Very nice.


DNS-323 FW 1.07 : 2 1TB WD Caviar Green SATA : fun_plug: utelnet + optware (no ffp)

Offline

 

#4 2010-02-09 18:30:31

Wiggs
Member
From: Canada
Registered: 2010-02-08
Posts: 9

Re: DNS IP

Almost all routers have this capability as well as the DNS-323 (dyndns.org).  I use the one built right in with my Linksys router with no problem at all.  It should be simple to setup.  What is your router?


Wiggs
DNS-323 - 2-500GB Seagate Drives (RAID1)
Linksys WRT54GSv7 Router
Asus O!Play Air Media Center

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB