Manual Konfiguration INADYN/en
Aus EUserv Wiki
| | Languages: |
Deutsch |
Installation and configuration of INADYN
Inhaltsverzeichnis |
Installation and configuration of INADYN
General
INADYN is a C-based client, which can be used, to update DNS entries.
This client is also used as an IP update client for DynDNS.com, no-ip.com and other Dynamic DNS providers.
Why we need a Dynamic DNS? If you have a static IP address you don't need this, but if you have a dynamic IP address, you have to update it with the domain, which you have by a provider, everytime when you restart your server.
Otherwise visitors can not call your server.
Installation
Enter the following command in the command line (unter Debian):
apt-get install && apt-get install inadyn
or download it:
cd usr/src wget http://cdn.dyndns.com/inadyn.zip unzip inadyn.zip
Set the user permissions of the folder:
chmod 755 /usr/bin/inadyn
Configuration
To configure INADYN you have to create a configuration file:
nano /etc/inadyn.conf
In this inadyn.conf the following lines have to be included:
## inadyn configuration file
# Check for a new IP every 600 seconds
#update_period_sec 600
# How often the IP should be updated even if it is not changed
forced_update_period 600
# DynDNS username and password here
username dummy
password dummy
#An optional DNS service. For http://www.dyndns.org the acceptable services are one of dyndns@dyndns.org, statdns@dyndns$
dyndns_system custom@http_svr_basic_auth
## Dynamic DNS hosts
#A host name alias.
alias your-ddns-domain.ddns.euserv.org
#run in background
background
#The name, including the full path, of a log file.
log_file /var/log/inadyn.log
dyndns_server_name ddns.euserv.org
dyndns_server_url /index.php?ah=<authhash>&host=
| configuration parameter | meaning |
| update_period_sec | check for a new IP address in this period |
| forced_update_period | update the IP address in this period, even if it not changes |
| dyndns_system | DNS service |
| alias | Dynamic DNS Host: your-dns-domain.ddns.euserv.org |
| background | INADYN runs as service in the background |
| log_file | here you can find the log file |
| dyndns_server_name | Dynamic DNS server name: ddns.euserv.org |
| dyndns_server_url | Dynamic DNS server url with authhash: /index.php?ah=<authhash>&host= |
The right settings for the configuration parameter you can find the customer center. Read Creating of a Dynamic DNS Now configure INADYN, that the client starts with a system reboot. So you have to detect the absolute path of INADYN:
which inadyn
crontab -e
In the cron tab add the following line:
@reboot inadyn
Now start the client with the following command:
inadyn
Now INADYN updates the IP address and you can call the Dynamic DNS with your browser.

