INADYN - Simple DYNAMIC DNS client.
Version 1.96, 09.September.2005
INADYN Help
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.
Download
Source Code + binary for
Windows and Linux and MAC ver. 1.96 Source Code + binary for
Windows and Linux ver. 1.96
Source Code + binary for
Windows and Linux ver. 1.95 |
And in case you forgot, Google wants to help :-): |
Features:
Notes:
After you have finished double click on the reg file.
do shell script "~/bin/inadyn -a HOST.dyndns.org -u USER -p PASSWORD"
Command line options
They are automatically printed if inadyn gets wrong parameters or if
--help option is
used.
Typical usage:
-for dyndns.org system:
inadyn -u username -p password -a
my.registered.name
-for freedns.afraid.org:
inadyn --dyndns_system
default@freedns.afraid.org -a my.registered.name,hash -a
anothername,hash2
'hash' is extracted from the grab url batch
file that is downloaded
from freedns.afraid.org
Parameters:
'--help': help
'-h': help
'--username': your membername/ hash
'-u': your membername / hash
'--password': your password. Optional.
'-p': your password
'--alias': alias host name. this option
can appear multiple
times. (for each domain that has the same IP)
'-a': alias host name. this option can appear multiple times.
'--input_file': input file name that
contains
inadyn command options (adds to those already present in the cmd line).
The default configuration file name is '/etc/inadyn.conf'. It is only
used if inadyn is called without any command line options. This allows
inadyn to be called without any arguments. The format is as expected
for a **NIX config file. See below for details.
'--ip_server_name[:port] url': The client
IP is detected by calling 'url' from this 'ip_server_name:port'.
Defaults to checkip.dyndns.org:80 /.
The server that receives the update DNS
request.
If no proxy is wanted, then it is enough to set the dyndns system. The
default servers will be
taken.
'--dyndns_server_url'
full URL relative to DynDNS server root.
'--dyndns_system': [NAME] - optional DYNDNS service type. SHOULD be one of the following:
-For dyndns.org DNS system:
dyndns@dyndns.org OR
statdns@dyndns.org OR custom@dyndns.org.
-For freedns.afraid.org DNS system: default@freedns.afraid.org .
-For the servcie ofered by zoneedit.com: default@zoneedit.com. .
-For generic DNS system: custom@http_svr_basic_auth
DEFAULT value is intended for default service at dyndns.org:
dyndns@dyndns.org
'--proxy_server': [NAME[:port]] - the
http proxy server name and
port. Default is none.
'--update_period': how often the IP is checked. The period is in [ms].
Default is about 1 min.
Max is 10 days
'--update_period_sec': how often the IP is checked. The period is in
[sec]. Default is about 1
min. Max is 10 days
'--forced_update_period': how often the IP is updated even if it is not
changed. [in sec]
'--log_file': log file path abd name
'--background': runs in background. Output to syslog or to log
file [if specified].
'--verbose': set dbg level. 0 to 5
'--iterations': set the number of DNS updates. Default is 0, which
means infinity.
'--syslog': explicit set output to syslog. (e.g. /var/log/messages).
Works on **NIX systems only.
'--change_persona uid[:gid]': After init changes user ID and group ID
to the provided ones. This allows dropping unneeded [root] privileges
after startup. Works for **NIX only.
Example usage:
1. Update every minute, in console mode, for a dyndns.org system.
inadyn --username test --password test --update_period 60000 --alias
test.homeip.net --alias my.second.domain
2. Update every minute, in demon mode (background task), with log file, of an dyndns.org address:
inadyn --background -u test -p test --update_period 60000 --alias
inarcis.homeip.net --alias my.second.domain --log_file
inadyn_srv.log
3. Update every minute, in daemon mode, with configuration read from file of an address from freedns.afraid.org
Config file (can be placed anywhere, but in linux is convenient in default location: /etc/inadyn.conf
Content of cfg file:
--update_period 60000
--alias test.homeip.net,hash_for_host1
--log_file /var/log/inadyn.log
--change_persona 10012 #to change to another user id after init. (less rights, more secure)
Launching of inadyn does not need any params. It looks for /etc/inadyn.config
4. Freedns update in console
inadyn --update_period 60000 --alias test.homeip.net,hash_for_host1 -a
my.second.domain,hash2 --dyndns_system default@freedns.afraid.org
Configuration file
Inadyn can read the very same options which can be present in the
command line from a configuration file. This feature allows the user to
write the options only once, and avoids frequent retyping.
Default configuration file is /etc/inadyn.conf under Unix systems.
The location of the config file can be given ot inadyn via --input_file option
The format :
- '#' is a comment sign.
- the long options (those with '--' in front) can also be placed at the
beginning of the line without
'--' signs
Examples:
1.
#Some comment about inadyn cfg file
--username test --password test --update_period 60000 --alias
test.homeip.net --alias my.second.domain
2.
--username test #user
--password test
update_period 60000 #some other param without '--'
alias test.homeip.net
Ver. 1.4 - 1 March 2004
- Support for custom DNS and static DNS services offered by dyndns.org.
- support for forced IP update (so the account will not expire even
though the IP never
changes)
Ver. 1.35 - 04 february, 2004
- Bugfixes: - It supports AGAIN the multiple aliases for the same IP
address
- Under Windows the OS signal handler is installed only once no matter
if IP update errors
occur
Ver. 1.34 - 6 Novemeber 2003
- first port *NIX (Linux)
- Linux version running as console app
- bugfixes
Ver. 1.2 - June 2003
- port to embedded system pSOS. Runs on the Remote management card.
Note:
No DNS support under pSOS -> input params are the IP addresses of
the servers used (DynDNS,
CGI)
Ver. 1.0 - 20 May 2003 - first stable version.
main features ready:
- DYNDNS client
- free
- works fine behind a NAT router
- runs fine as a service
- has a nice log file
- it is MINE ;)
Future plans:
- port to some other DNS services.