Dynamic DNS inadyn: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
Created page with "[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 s..." |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[http:// | [http://sourceforge.net/projects/inadyn-mt/ 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 == | |||
<pre> | <pre> | ||
wget http:// | apt-get install inadyn | ||
</pre> | |||
== CentOS == | |||
<pre> | |||
yum install inadyn | |||
</pre> | |||
== From Source == | |||
<pre> | |||
apt-get install libao-dev | |||
</pre> | |||
<pre> | |||
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 | cd inadyn-mt.v.02.24.47 | ||
./configure | |||
make check | |||
make | make | ||
make install | |||
cp bin/linux/inadyn /usr/sbin/ | cp bin/linux/inadyn /usr/sbin/ | ||
</pre> | |||
= freedns.afraid.org = | |||
<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> | |||
Start Application | |||
<pre> | |||
/usr/sbin/inadyn | |||
</pre> | |||
add line to /etc/rc.local to start at boot. | |||
= dyndns = | |||
Create the following entry in '''rc.local''' to activate at start up. | |||
<pre> | |||
vi /etc/rc.local | |||
</pre> | |||
add the line | |||
<pre> | |||
inadyn --background -u username -p password -a domain.homeip.net | |||
</pre> | |||
= dns2go = | |||
Create the following entry in '''rc.local''' to activate at start up. | |||
<pre> | |||
vi /etc/rc.local | |||
</pre> | |||
add the line | |||
<pre> | |||
/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 | |||
</pre> | </pre> | ||
* Replace 001122-AABBAAFF-RRDDG-225577 with your key. | |||
* Reaplce mydomain.dns2go.com with your dynamic domain name | |||
[[Category : Linux]] | [[Category : Linux]] |
Latest revision as of 10:21, 24 August 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
apt-get install libao-dev
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.47 ./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