1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>inadyn - Dynamic DNS client</title>
</head>
<body>
<p><b>INADYN - Simple DYNAMIC DNS client.<br>
</b></p>
<p><b>Version 1.96, 09.September.2005<br>
</b></p>
<p><b>INADYN Help<br>
</b></p>
<p>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.<br>
</p>
<p><b>Download</b></p>
<table>
<tr>
<td>
<p><a href="inadyn.v1.96.zip">Source Code + binary for
Windows and Linux <b> and MAC </b> ver. 1.96</a><br>
<p><a href="inadyn.v1.96.zip">Source Code + binary for
Windows and Linux ver. 1.96</a><br>
<br>
Older versions:<br>
<p>
<a href="inadyn.v1.95.zip">Source Code + binary for
Windows and Linux ver. 1.95</a><br>
<a href="inadyn.v1.90.zip">Source Code + binary for
Windows and Linux ver. 1.90</a>
<br>
</p>
</td>
<td>
And in case you forgot, <b> Google</b> wants to help :-):<br><br>
<script type="text/javascript"><!--
google_ad_client = "pub-7601114765064511";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "E0FFE3";
google_color_bg = "E0FFE3";
google_color_link = "0000CC";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
<p><b>Features:</b></p>
<ul>
<li>supports the following dynamic DNS services:</li>
<li><a href=http://www.dyndns.org>dyndns.org</a> (in all three flavors: dynamic, static, custom)</li>
<li><a href=http://freedns.afraid.org>freedns.afraid.org</a></li>
<li><a href=http://www.zoneedit.com>zoneedit.com</a></li>
<li><a href=http://www.no-ip.com>no-ip.com</a></li>
<li>maintains up multiple aliases of the same IP address</li>
<li>runs as a service (Windows 2000/XP, Linux)</li>
<li>or runs as a console application</li>
<li>updates the correct IP address even behind a NAT router.</li>
<li>supports access via http proxy</li>
<li>does not perform unnecessary updates.</li>
<li>has 'install and forget it feature'. That is, after install one
can completely forget about
it. No maintenance required. (as long as no bugs are found;-)</li>
</ul>
<b>Installation</b><br>
<b> For Windows:</b><br>
<ol>
<li>IF you are planning to let inadyn <span
style="font-weight: bold;">run as a service</span>. For installation
you need <span style="font-weight: bold;">Administrator rights</span>
and
you need to launch the utility batch: <span style="font-style: italic;">install_inadyn_service.bat</span>
from the same directory where <span style="font-style: italic;">inadyn.exe</span>
is located.
This will allow a standard console application like <span
style="font-style: italic;">inadyn</span> to run as a service. The
programs <span style="font-style: italic;">intsrv.exe, srvany.exe</span>
are standard programs that can be also found on Windows 2000 res
Kit
CD. <br>
<span style="font-weight: bold;">Note</span>: Since
re-distributing the above mentioned programs seems to be illegal, they
are <span style="font-weight: bold;">not</span>
provided in the <span style="font-style: italic;">inadyn </span>package.
These programs have to be downloaded (if don't already have them) and
copied in the <span style="font-style: italic;">inadyn/bin/win32 </span>directory.<span
style="font-weight: bold;"> A</span>fter a bit of
googling I found some links where one can download them:<br>
<a
href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en">Download
the whole Windows Server 2003 Resource Kit Tools from Microsoft</a> or
the following alternate sites<br>
<a href="http://www.electrasoft.com/srvany/srvany.htm">http://www.electrasoft.com/srvany/srvany.htm</a><br>
<a
href="ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt40/i386/srvany_x86.exe">ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt40/i386/srvany_x86.exe</a>
<br>
</li>
<li>Edit the registry file with the <span style="font-weight: bold;">correct
name for your service </span>(e.g. 'configure_inadyn_service_<span
style="font-weight: bold;">dyndns</span>.reg') in order to pass your
username,
password, aliases, and other params to inadyn. After you have finished
double click on the reg
file.
<p>Notes:</p>
<ul>
<li>The correct path to inadyn binary has to be entered in the
config file.</li>
<li>The log file is located in %System%\system32 by default</li>
<li>Beware of the double backslashes '\\' and the correct paths!<br>
</li>
</ul>
<p>After you have finished double click on the reg file.</p>
</li>
<li>Go to ControlPanel/AdministrativeTools/Services/inadyn and START
the service. Also make
sure that the startup mode is 'automatic'.</li>
</ol>
For Linux:<br>
</b>
<ol>
<li><b><span style="font-weight: bold;"><span
style="font-weight: bold;"><span style="font-weight: bold;"></span></span></span></b><b><span
style="font-weight: bold;"><span style="font-weight: bold;"><span
style="font-weight: bold;"></span></span> </span></b>No
installation necessary. The inadyn executable found in <span
style="font-style: italic;">bin/linux/inadyn</span> is self contained
and can be launched at any time<br>
</li>
</ol>
<b> For MAC </b> (thanks to Rob.S) <br>
<ol><li>
Put the binary somewhere in path (e.g. ~/bin), <br>
Start it with the following AppleScript saved as an Application and dragged to <br>
System Preferences -> Accounts -> Login Items:<br>
<p> do shell script "~/bin/inadyn -a HOST.dyndns.org -u USER -p PASSWORD"</p><br>
Alternatively, one can put it in the system startup scripts. </p>
</li>
</ol>
<br>
<b> For other operating systems:<br>
</b>
<ol>
<li><b><span style="font-weight: bold;"><span
style="font-weight: bold;"><span style="font-weight: bold;"></span></span></span></b><b><span
style="font-weight: bold;"><span style="font-weight: bold;"><span
style="font-weight: bold;"></span></span> </span></b>Adjust the
makefile - change the architecture to yours. (e.g. solaris)</li>
<li> Recompile - make clean all<br>
</li>
</ol>
<p><b>Command line options</b></p>
<p>They are automatically printed if inadyn gets wrong parameters or if
--help option is
used.<br>
</p>
<p><i>Typical usage</i>:</p>
<p style="margin-left: 0pt;">-for dyndns.org system:<br>
inadyn -u username -p password -a
my.registered.name<br>
-for freedns.afraid.org:<br>
inadyn --dyndns_system
default@freedns.afraid.org -a my.registered.name,hash -a
anothername,hash2<br>
'hash' is extracted from the grab url batch
file that is downloaded
from freedns.afraid.org<br>
</p>
<p><i>Parameters</i>:<br>
</p>
<p style="margin-left: 20px;">'--help': help<br>
'-h': help<br>
</p>
<p style="margin-left: 20px;">'--username': your membername/ hash<br>
'-u': your membername / hash<br>
</p>
<p style="margin-left: 20px;">'--password': your password. Optional.<br>
'-p': your password<br>
</p>
<p style="margin-left: 20px;">'--alias': alias host name. this option
can appear multiple
times. (for each domain that has the same IP)<br>
'-a': alias host name. this option can appear multiple times.<br>
</p>
<p style="margin-left: 20px;">'--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.<br>
</p>
<p style="margin-left: 20px;">'--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 /. <br>
</p>
'--dyndns_server_name': [<name>[:port]]</name>
<p></p>
<p style="margin-left: 40px;">The server that receives the update DNS
request.<br>
If no proxy is wanted, then it is enough to set the dyndns system. The
default servers will be
taken.<br>
</p>
<p style="margin-left: 20px;">
'--dyndns_server_url' <name> <br>
full URL relative to DynDNS server root.
</p>
<p style="margin-left: 20px;">'--dyndns_system': [NAME] - optional
DYNDNS service type. SHOULD
be one of the following:</p>
<p style="margin-left: 40px;">-For dyndns.org DNS system:
dyndns@dyndns.org OR
statdns@dyndns.org OR custom@dyndns.org.<br>
-For freedns.afraid.org DNS system: default@freedns.afraid.org .<br>
-For the servcie ofered by zoneedit.com: default@zoneedit.com. .<br>
-For generic DNS system: custom@http_svr_basic_auth<br>
DEFAULT value is intended for default service at dyndns.org:
dyndns@dyndns.org<br>
</p>
<p style="margin-left: 20px;">'--proxy_server': [NAME[:port]] - the
http proxy server name and
port. Default is none.<br>
'--update_period': how often the IP is checked. The period is in [ms].
Default is about 1 min.
Max is 10 days<br>
'--update_period_sec': how often the IP is checked. The period is in
[sec]. Default is about 1
min. Max is 10 days<br>
'--forced_update_period': how often the IP is updated even if it is not
changed. [in sec]<br>
'--log_file': log file path abd name<br>
'--background': runs in background. Output to syslog or to log
file [if specified].<br>
'--verbose': set dbg level. 0 to 5<br>
'--iterations': set the number of DNS updates. Default is 0, which
means infinity.<br>
'--syslog': explicit set output to syslog. (e.g. /var/log/messages).
Works on **NIX systems only.<br>
'--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. <br>
</p>
<p style="margin-left: 0pt;">
<b><i>Example usage:</i></b><br>
1. Update every minute, in console mode, for a dyndns.org system. <br>
inadyn --username test --password test --update_period 60000 --alias
test.homeip.net --alias my.second.domain<br>
<br>
2. Update every minute, in demon mode (background task), with log file, of an dyndns.org address: <br>
inadyn --background -u test -p test --update_period 60000 --alias
inarcis.homeip.net --alias my.second.domain --log_file
inadyn_srv.log<br><br>
3. Update every minute, in daemon mode, with configuration read from file of an address from freedns.afraid.org <br>
Config file (can be placed anywhere, but in linux is convenient in default location: /etc/inadyn.conf<br>
Content of cfg file:<br>
--update_period 60000 <br>
--alias test.homeip.net,hash_for_host1 <br>
--log_file /var/log/inadyn.log <br>
--change_persona 10012 #to change to another user id after init. (less rights, more secure)
<br>
Launching of inadyn does not need any params. It looks for /etc/inadyn.config
<br>
<br>
4. Freedns update in console <br>
inadyn --update_period 60000 --alias test.homeip.net,hash_for_host1 -a
my.second.domain,hash2 --dyndns_system default@freedns.afraid.org</p>
<p style="margin-left: 0pt;"> <br><br><br>
<span style="font-weight: bold;">Configuration file</span><br>
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.<br>
<i>Default configuration file</i> is /etc/inadyn.conf under Unix systems. <br>
The location of the config file can be given ot inadyn via --input_file option <br><br>
<i>The format</i> :<br>
- '#' is a comment sign. <br>
- the long options (those with '--' in front) can also be placed at the
beginning of the line <span style="font-style: italic;">without</span>
'--' signs<br>
</p>
<p style="margin-left: 0pt;">Examples:<br>
1.<br>
#Some comment about inadyn cfg file<br>
--username test --password test --update_period 60000 --alias
test.homeip.net --alias my.second.domain<br>
</p>
<p style="margin-left: 0pt;">2.<br>
--username test #user<br>
--password test <br>
update_period 60000 #some other param without '--'<br>
alias test.homeip.net <br>
</p>
<p style="margin-left: 0pt;"><br>
</p>
<b>LOG Output</b><br>
Inadyn prints some message when the ip is updated. If no update is
needed by default it prints a '.' every time when it performs a name
check. So typically you will see a lot of dots in the log file. (only
if verbose level is greater than 0).<br>
When the connection goes down it is possible that inadyn displays some
errors. But they should
be followed by 'OK' messages after the connection is up again.<br>
<br>
<br>
<b>Special notes for freedns.afraid.org<br>
</b><br>
They prefer to get as parameter a single hashed (base64 encoded) value
instead username,
password.<br>
This saves some computing resources apparently. The hash cannot be
computed by inadyn because
it involve the database index of your username in freedns database
which is not known.<br>
The simplest solution seems to be the copy-paste action from the
graburl batch file offered on
their website.<br>
<br>
<i>Example</i>: The batch file looks like this:<br>
graburl
http://freedns.afraid.org/dynamic/update.php?YUGIUGSEIUFGOUIHEOIFEOIHJFEIO=<br>
The user has to copy and paste the hash value after the '?' until the
end of line.<br>
The hash will be used as additional param in --alias option. (see
typical usage above)<br>
<br>
<br>
<b>Support and Bug reports</b><br>
<br>
Since this is free software the support [for free] is quite thin.
However, the bugs are usually
fixed very fast if they are reported.<br>
No active testing is performed so without user feedback the bugs won't
get discovered and
fixed.<br>
<br>
<i>Contact info</i>:<br>
<img src="inarcis2002.jpg"><br>
Web: inadyn.ina-tech.net<br>
<br>
<b>HISTORY<br>
<br>
</b>
Ver. 1.96 - 09 September 2005<br>
New features:<br>
- zoneedit.com supported.<br>
- no-ip.com supported.<br>
- support for generic DNS services that support HTTP updates<br>
Fixes:<br>
- immediate exit in case of --iterations=1 (not after a sleep period)<br>
- added missing option for specifying the path in the DNS server<br><br>
Ver. 1.95 - 20 July 2005<br>
New features:<br>
- UNIX signals supported - inadyn will
stop gracefully in case of ALRM, HUP, INT, ...<br>
- new dynamic dns service supported -
www.zoneedit.com - Not tested!<br>
- makefile adjusted for Solaris -
compilable under Solaris.<br>
- support for generic DYNDNS service
that supports update via HTTP with basic authentication<br>
- not yet fully
complete. Not known where might be applicable.<br>
<br>
Ver. 1.90 - 24 February 2005<br>
New features/enhancements:<br>
- new option '--change_persona uid:gid'
- inadyn can switch the user after launch. Typical feature for daemons.<br>
- addition to '--ip_server_name'
feature, now it has another parameter: the URL to read from the
given server name.<br>
- reduced some error
messages <br>
- manual pages updated. (thanks to
Shaul Karl)<br>
Bugfixes:<br>
- typo fixed (--ip_server_name option)<br>
<br>
Ver. 1.86 - 30 January 2005<br>
Updated UNIX man pages for inadyn. Even a page for
inadyn.conf! (thanks to Shaul Karl)<br>
Enhancement: - Inadyn doesn't print anything (e.g.
ver. number) anymore when goes to background.<br>
Enhancement: - new config file parser. Accepts
ESCAPE character: '\'.<br>
Bugfix: - Corrected check of the return code from
socket() call.<br>
<br>
Ver. 1.85 - 10 January 2005<br>
Config file related enhancements:<br>
- a default location for the config
file in case of no arguments for inadyn<br>
- a more **NIX like format for the
config file. Thanks to Jerome Benoit. <br>
<br>
Small bugfix:<br>
- in case when 'iterations' option is
specified as being '1', inadyn exits immediately after first update,
not after the sleep period as before. <br>
<span style="font-weight: bold;"><br>
</span><b> </b>Ver. 1.81 - 23 November 2004 <br>
No new features. Just a better integration with
Linux OS:<br>
Reviewed usage of syslog and fork to background in 'daemon mode',
thanks to Shaul Karl. <br>
<br>
Ver. 1.80 - 16 October 2004<br>
New feature:<br>
--syslog: output to syslog for
Linux (should work for all **nix systems)<br>
New feature:<br>
run in background for Linux
(should work for all **nix systems)<br>
<br>
Minor compile warnings removed.<br>
<br>
Ver. 1.70 - 5 July 2004<br>
Bugfix: <br>
custom dns from dyndns option was
not accepted by the cmd line parser. "Copy-paste" error :-( !<br>
<br>
New option: (not tested. It was a debug option now
made accessible via cmd line. It should work)<br>
--iterations. Now one can run
inadyn with only one iteration. <br>
<br>
Ver. 1.60 - 5 June 2004<br>
On users' request the inadyn can read the options
from file. Ver. 1.5 - 1 May 2004<br>
- Support for dynamic DNS service offered by freedns.afraid.org<br>
- support for http proxy<br>
- GPL Copyright notice added.<br>
<p>Ver. 1.4 - 1 March 2004<br>
- Support for custom DNS and static DNS services offered by dyndns.org.<br>
- support for forced IP update (so the account will not expire even
though the IP never
changes)<br>
<br>
Ver. 1.35 - 04 february, 2004<br>
- Bugfixes: - It supports AGAIN the multiple aliases for the same IP
address<br>
- Under Windows the OS signal handler is installed only once no matter
if IP update errors
occur<br>
<br>
Ver. 1.34 - 6 Novemeber 2003<br>
- first port *NIX (Linux)<br>
- Linux version running as console app<br>
- bugfixes<br>
<br>
</p>
<p>Ver. 1.2 - June 2003<br>
- port to embedded system pSOS. Runs on the Remote management card.<br>
Note:<br>
No DNS support under pSOS -> input params are the IP addresses of
the servers used (DynDNS,
CGI)<br>
</p>
<p>Ver. 1.0 - 20 May 2003 - first stable version.<br>
main features ready:</p>
<p>- DYNDNS client</p>
<p>- free<br>
- works fine behind a NAT router<br>
- runs fine as a service<br>
- has a nice log file<br>
- it is MINE ;)<br>
<br>
</p>
<p><b>Future plans:<br>
</b></p>
<p>- port to some other DNS services.<br>
</p>
<br>
<br>
This page was visited so many times:
<img
src="/cgi-sys/Count.cgi?df=inatech.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=A">since
11.Jan.2005 <br>
<br>
</body>
</html>
|