Skip to content
dyndns client daemon
Go Perl
Find file
Latest commit 45d7e4a Feb 28, 2013 @akrennmair explicitly run make.
Failed to load latest commit information.
.travis.yml explicitly run make. Feb 28, 2013
LICENSE added LICENSE file. Jun 28, 2011
Makefile add Makefile. Feb 28, 2013
README ported to Go 1. Mar 29, 2012
TODO added TODO list. Jun 29, 2011
error.go ported to Go 1. Mar 29, 2012
fetch.go ported to Go 1. Mar 29, 2012
init-script added simple init script (Debian-specific). Jun 29, 2011
log.go simply logging code. Feb 28, 2013
main.go go fmt. Nov 22, 2012
poll.go go fmt. Nov 22, 2012
update.go ported to Go 1. Mar 29, 2012

README

README for dyndnscd
===================

dyndnscd is the dyndns client daemon. It is a daemon that continually polls for
IP address changes an in the event of a change, triggers an IP address update.
It is somewhat configurable.

Downloading
-----------
You can find the latest version and the git repository of dyndnscd under the 
following URL: http://github.com/akrennmair/dyndnscd/

Dependencies
------------

dyndnscd is written in the fine programming language Go: http://golang.org/
In addition to the Go environment, you need goconf, which you can install in 
your Go environment by typing "go get github.com/akrennmair/goconf".

Installation
------------
Currently, there is no installation routine. Build it by running "go build" and run
it with "./dyndnscd -f yourconfigfile". The following section describes how to 
configure dyndnscd.

Configuration
-------------

The configuration file is a .ini-style file. Every section defines the IP 
polling mechanism with a configuration key named "type" (allowed values: 
"device", "ipbouncer"). The "device" type regularly polls the IPv4 address of a 
network device (specified by the configuration key "device"), while the 
"ipbouncer" regularly polls the IPv4 address by calling a bouncer URL. A bouncer 
URL returns the client's IP address as the only content of the response body, 
and is configured with the configuration key "bouncer_url".

The URL update is configured with the configuraton key "update_url". Simply 
write "<ip>" (no quotes) where the client IP shall be inserted. dyndnscd will 
replace it by IP and will do a GET request on the resulting URL.

To configure the polling interval, use the configuration key "interval" (defines 
the minimum amount of seconds between two polling attempts).

Example 1:

	[dyndns-bouncer]
	type = ipbouncer
	bouncer_url = http://example.com/ip-bouncer
	update_url = http://username:password@members.dyndns.org/nic/update?hostname=example.dyndns.org&myip=<ip>&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG

Example 2:

	[dyndns-eth0]
	type = device
	device = eth0
	update_url = http://example.com/?myip=<ip>

In addition, you can globally configure the log method. By default, dyndnscd 
logs everything to stderr. If you configure

	log_method = syslog

then dyndnscd will log to syslog instead.

Contact
-------
Andreas Krennmair <ak@synflood.at>

License
-------
dyndnscd is licensed under the MIT/X Consortium License. See the file LICENSE 
for further details.
Something went wrong with that request. Please try again.