DDNS3(1) | General Commands Manual | DDNS3(1) |
ddns3 - ddns.nu remote update client
ddns3 --user user --pass password [ options ] command ...
ddns3 updates IP-Handles on the ddns.nu remote update server. This allows remote automated updates rather than using the website via a browser.
Using the local option saves you from having to specify the IP on the command line. Local guessing usually gets the IP correct as it takes the local address of the socket making the update connection. With conventional routing arrangements this is likely to be the IP you want.
However the remote option sets the IP-Handle to the IP that the server sees the connection as originating from. This is most useful if you are running the client from behind a NAT gateway which itself is incapable of running the client. In this case the IP of the NAT gateway is used, rather than the probably martian IP of the host the client is actually executing on.
Useful error messages are produced on stderr, all other runtime output goes to stdout.
On runtime exception the return value of the process may be useful in scripting:
-1
The process returns a positive count of the number of commands executed on the server that generated an error, or zero on error free completion of all commands.
The authentication details should be read from a file to avoid their visibility in the process list. There should be support for other ddns3 protocol primitives like MOTD and HELP for completeness. The java implementation jddns3 does this, and is largely command line equivalent. Short network writes are unchecked in at least one place.
Alan Yates <alany@ay.com.au>
$Id: ddns3.1,v 1.2 2003/03/20 05:21:59 alany Exp $
http://www.ddns.nu/
http://www.ddns.nu/files/ddns-v3.txt
$Date: 2003/03/20 05:21:59 $ |