Dynamic DNS inadyn: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
[http://www.inatech.eu/inadyn/readme.html 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.
[http://www.inatech.eu/inadyn/readme.html 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.


These instructions are specificaly for ArchLinux
= Installation =
== Debian ==
<pre>
apt-get install inadyn
</pre>
 
== CentOS ==
<pre>
yum install inadyn
</pre>
 
== From Source ==
<pre>
<pre>
cd /usr/src
cd /usr/src
Line 12: Line 23:
</pre>
</pre>


== dyndns config ==
 
= freeDNS =
<pre>
vi /etc/inadyn.conf
</pre>
 
<pre>
--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
</pre>
 
= dyndns =
Create the following entry in '''rc.local''' to activate at start up.
Create the following entry in '''rc.local''' to activate at start up.
<pre>
<pre>
Line 24: Line 51:




== dns2go config ==
= dns2go =
Create the following entry in '''rc.local''' to activate at start up.
Create the following entry in '''rc.local''' to activate at start up.
<pre>
<pre>

Revision as of 04:39, 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

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

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