Dynamic DNS inadyn: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
Line 15: Line 15:
<pre>
<pre>
cd /usr/src
cd /usr/src
wget http://www.inatech.eu/inadyn/inadyn.v1.96.2.zip
wget http://sourceforge.net/projects/inadyn-mt/files/latest/download -O inadyn-latest.tar.gz
unzip inadyn.v1.96.2.zip
tar xvf inadyn-latest.tar.gz


cd inadyn
cd inadyn-mt.v.02.24.44
./configure
make check
make
make
make install
cp bin/linux/inadyn /usr/sbin/
cp bin/linux/inadyn /usr/sbin/
</pre>
</pre>


= freedns.afraid.org =
= freedns.afraid.org =

Revision as of 23:35, 29 May 2015

INADYN is a dynamic DNS client. That is, it maintains the IP address of a host name. It periodically checks whether the IP address stored by the DNS server is the real current address of the machine that is running INADYN.

Installation

Debian

apt-get install inadyn

CentOS

yum install inadyn

From Source

cd /usr/src
 wget http://sourceforge.net/projects/inadyn-mt/files/latest/download -O inadyn-latest.tar.gz
tar xvf inadyn-latest.tar.gz

cd inadyn-mt.v.02.24.44
./configure
make check
make
make install
cp bin/linux/inadyn /usr/sbin/

freedns.afraid.org

vi /etc/inadyn.conf
--username myemail@address.com
--password thisismypassword
--update_period 43200
--forced_update_period 86400
--alias myname.domain.name,Serial_Key_for_Domain_Name
--background
--dyndns_system default@freedns.afraid.org

Start Application

/usr/sbin/inadyn

add line to /etc/rc.local to start at boot.

dyndns

Create the following entry in rc.local to activate at start up.

vi /etc/rc.local

add the line

inadyn --background -u username -p password -a domain.homeip.net


dns2go

Create the following entry in rc.local to activate at start up.

vi /etc/rc.local

add the line

/usr/sbin/inadyn --background --dyndns_system custom@http_svr_basic_auth --dyndns_server_name update.dns2go.com:80 --dyndns_server_url /update.aspx?inadyn=001122-AABBAAFF-RRDDG-225577* --alias mydomain.dns2go.com --ip_server_name update.dns2go.com:80 /ipcheck.aspx
  • Replace 001122-AABBAAFF-RRDDG-225577 with your key.
  • Reaplce mydomain.dns2go.com with your dynamic domain name