Project

General

Profile

Wiki » History » Version 1

Marc Dequènes, 2014-04-02 01:19

1 1 Marc Dequènes
h1. Presentation
2
3
DDNS is a Dynamic DNS client and server.
4
5
DDNS is split into two parts:
6
* a "MyIP" client and server, which is a very simple way to get your external IPv4 and IPv6 addresses
7
* a "RegIP" client and server, which register IPs associated with hostnames
8
9
The MyIP service is a public service which basically returns your IP as seen by the webserver in a programmatic way (YAML).
10
11
The RegIP service is an authenticated service which check the hostnames you are allowed to modify and issue a secure update onto your DNS server (using nsupdate and TSIG). Currently RegIP does not care about authentification himself but relies on your webserver to secure its access. It also relies on it being able to return a specific multi-valued field containing the list of allowed hostnames associated with this account. It has been tested successfully with Apache Httpd and the LDAP provider (see configuration examples).
12
13
RegIP is currently working as a command you can add to your crontab but might work as a daemon in the future.
14
15
You can Specify which IP address you wish manually (even none, which would remove the DNS entry), or use automatic discovery (using MyIP).
16
17
h1. Installation
18
19
Build-Dependencies:
20
* ruby-setup
21
22
Runtime Dependencies:
23
24
* common:
25
** ruby (>= 1.9)
26
** ruby-log4r
27
** kwalify
28
* clients:
29
** ruby-curb
30
** ruby-safe-yaml
31
* servers:
32
** ruby-activesupport
33
** dnsutils (nsupdate)
34
35
h2. for a real install in /usr/local
36
37
ruby setup.rb config
38
ruby setup.rb setup
39
ruby setup.rb install
40
ruby setup.rb clean
41
42
h2. for packagers
43
44
ruby setup.rb config --installdirs=std
45
ruby setup.rb setup
46
ruby setup.rb install --prefix=debian/ddns
47
ruby setup.rb clean
48
49
h2. for in-place tests
50
51
ruby setup.rb config --bindir=bin --rbdir=lib --datadir=data --sysconfdir=conf --localstatedir=var --shebang=never
52
ruby setup.rb setup
53
54
Do tests, and when finished:
55
ruby setup.rb clean
56
57
h1. Configuration
58
59
See [[Configuration]] and examples in source:examples.