Dynamic DNS inadyn: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
Line 24: Line 24:




= freeDNS =
= freedns.afraid.org =
<pre>
<pre>
vi /etc/inadyn.conf
vi /etc/inadyn.conf

Revision as of 04:50, 19 April 2014

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://www.inatech.eu/inadyn/inadyn.v1.96.2.zip
unzip inadyn.v1.96.2.zip

cd inadyn
make
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