BTREE.ORG: Home | Contact | Notices


dnsupdate - An automatic IP address updater for dynamic DNS

About
Requirements
Installation
Usage
Download
Changes
Contact

Sources
  dnsupdate
  simple update
About Dnsupdate

Dnsupdate is an IP address update program written in Perl for dynamic DNS updates as defined in RFC2136. This program submits dynamic IP address update requests to a name server automatically.

Dnsupdate gets a current IP address with a simple cgi program (included in this package) which is put on an external HTTP server, and it will send update requests to a name server only if the IP address at the time of the last update is no longer valid.

Dnsupdate can be executed as a daemon which repeatedly updates IP addresses for a domain at a specified interval in the background.

Dnsupdate can add or delete an address record for a domain manually. And it can also add or delete an alias for a domain manually.

Dnsupdate is released under the GNU General Public License.


Requirements

Dnsupdate is written in Perl and uses Net::DNS module.
More specifically, the requirements for this program are:
  • Un?x operating system. (e.g. *BSD, Linux, etc.)

  • Perl >= 5.004 and Net::DNS module.

  • A name server (BIND 8 or later) which allows to update with signed key on the server side.

  • A HTTP server for the cgi program used to get a current IP Address by dnsupdate outside the host on which dnsupdate runs.


Installation and Usage

Please see the file README which is included in the dnsupdate package.


Download

The latest version is 0.44 (2004/06/24)

Tar archives
dnsupdate-0.44.tar.gz
dnsupdate-0.44.tar.bz2
Requires Perl >= 5.004 and Net::DNS module.

RPM packages for RedHat Linux 7.x or later and Fedora Core 1 or later
dnsupdate-0.44-1.noarch.rpm
dnsupdate-0.44-1.src.rpm
Requires perl >= 5.004 and perl-Net-DNS packages.


Changes

0.44 (2004/06/24 00:45:22)
- Fix a signal handler for terminating a daemon

0.43 (2004/06/08 23:45:59)
- More fix

0.42 (2004/06/07 23:34:19)
- More fix a number of messages

0.41 (2004/06/02 22:56:52)
- More fix typoes

0.40 (2004/06/01 23:02:20)
- Fix typoes and clean up
- Update README
- Update the manual page

0.39 (2003/04/21 12:23:44)
- Fix useless checks in parsing @ARGV routine

0.38 (2003/04/19 00:05:16)
- Fix incorrect checks when some values are `0'
- Fix bugs print some debug messages

0.37 (2003/04/18 00:30:37)
- Add options `-k' and `--key' for setting a key
- Update RaedKey() to be able to parse a key file generated by dnssec-keygen
- Update README
- Update the manual page

0.36 (2003/04/17 05:50:36)
- Fix an incorrect check when $sleep is `0'

0.35 (2003/04/12 21:33:35)
- Update PrintHelp()
- Fix a number of messages

0.34 (2003/04/08 22:21:07)
- Fix a number of error messages for wrong arguments
- Add the subroutine OptionError()

0.33 (2003/04/05 12:03:35)
- Add Abort() which is called when an error occurred

0.32 (2003/04/04 12:04:25)
- Fix a number of `WARNING' and `ERROR' messages

0.31 (2003/04/03 23:01:56)
- Add a new feature reload configurations for a daemon
- Add an option `--reload' for reloading configurations
- Update a number of subroutines for reloading configurations
- Update README
- Update the manual page

0.30 (2003/04/01 21:42:53)
- Add a new feature restart daemon
- Add an option `--restart' for restarting a daemon
- Add a configuration option `INTERVAL' for a daemon
- Update a number of command line options
- Update dnsupdate.conf.sample

0.29 (2003/03/30 23:33:59)
- Fix a number of `WARNING' and `ERROR' messages
- Update README
- Update the manual page

0.28 (2003/03/29 12:01:55)
- Fix a serious bug set update interval

0.27 (2003/03/27 23:25:17)
- Fix a number of messages

0.26 (2003/03/25 13:06:14)
- Fix a log message in the routine fork a daemon

0.25 (2003/03/24 11:43:11)
- Add SetTTL() separated from UpdateRecord()
- Update SetPidFile()
- Update GetCurrentAddress()
- Update UpdateRecord()

0.24 (2003/03/21 12:49:02)
- Update the routine fork a daemon

0.23 (2003/03/20 00:40:45)
- Update PrintHelp()
- Update README
- Update the manual page

0.22 (2003/03/17 22:09:25)
- Enable to run multiple daemons
- Add SetPidFile() for multiple daemons
- Add a configuration option `PID_FILE' for multiple daemons
- Add ReadKey() separated from UpdateRecord()

0.21 (2003/03/13 08:25:30)
- Add a new feature daemon mode
- Add an option `--daemon' for starting a daemon
- Add an option `--kill' for terminating a daemon

0.20 (2003/03/10 12:25:28)
- Change the configuration parameter `HOST' to `DOMAIN'
- Fix a number of wrong expressions of messages

0.19 (2003/03/09 12:30:02)
- Fix incorrect update requests in UpdateRecord()
- Update Makefile

0.18 (2003/03/08 21:38:46)
- Add ReadSavedAddress() separated from CheckAddress()

0.17 (2003/03/07 12:08:01)
- Add a new feature alias update
- Add `--addalias' and `--delalias' options for updating aliases
- Replace the option `--delete' with `--del'
- Replace UpdateAddress() with UpdateRecord()

0.16 (2003/03/06 06:42:33)
- Correct variable scope

0.15 (2003/03/04 14:07:11)
- Fix a serious bug in GetAddress()

0.14 (2003/03/03 00:11:22)
- Fix a deadlock in GetCurrentAddress()
- Fix a bug with `--delete' option

0.13 (2003/03/01 10:57:14)
- Fix parsing @ARGV routine
- Fix UpdateAddress() for various update options

0.12 (2003/02/28 14:56:03)
- Fix an incorrect check in CheckAddress()

0.11 (2003/02/27 04:38:45)
- Add a new features force update and manual update
- Add `--force' option for force update
- Add `--add' and `--delete' options for manual update
- Fix a number of messages
- Add Makefile

0.10 (2003/02/24 12:18:03)
- Initial release


Contact

Please send any questions, suggestions or bug reports to me.



Copyright (c) 2003, 2004 Btree Net. All rights reserved.
$Id: dnsupdate.html,v 1.19 2004/10/09 22:02:55 masaki Exp $
[Valid CSS!] [Valid XHTML 1.0!]