Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

dyndns client daemon

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .travis.yml explicitly run make. February 28, 2013
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Makefile add Makefile. February 28, 2013
Octocat-spinner-32 README
Octocat-spinner-32 TODO
Octocat-spinner-32 error.go
Octocat-spinner-32 fetch.go
Octocat-spinner-32 init-script
Octocat-spinner-32 log.go simply logging code. February 28, 2013
Octocat-spinner-32 main.go
Octocat-spinner-32 poll.go
Octocat-spinner-32 update.go ported to Go 1. March 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.