blob: fc6dc836ac54a9b958797e2ccbaa38c0f6c93fd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
DDNS.py
=======
DDNS.py is a web frontend for dynamic dns, with the goal of mirroring
existing APIs so any dyndns client can be used. Currently it only has
support for a very limited subset of the dyn.com API.
This is currently very experimental...
Dependencies
------------
This software depends on the following python modules:
PyYAML, Flask, DNSpython, and IPy.
### Debian/Ubuntu
All the needed dependencies are provided by the following Debian
packages:
* python-dnspython
* python-flask
* python-yaml
* python-ipy
Configuration
-------------
The configuration is done in the yaml format, and has three main
sections. These are users, dnskeys, and zones.
### users
This section contains a list of usernames and their passwords. It's
possible to store the passwords hashed, but not salted, by specifying
the hashing method used.
### dnskeys
The dnskeys section kontain a list of TSIG keys, their names and which
algorithm they use.
### zones
This section is where all domains are specified as subsections for the
zone they belong too.
### Example config
users:
- username: user1
password: pass1
hash: None
- username: user2
password: pass2
hash: None
dnskeys:
- name: test-key
key: the_key_itself
algorithm: HMAC-MD5
zones:
- name: example.com.
ns: ns.example.com
key: test-key
domains:
- domain: test1 # test1.example.com
users:
- user1
- domain: test2 # test2.example.com
users:
- user1
- user2
<!--
vim: tw=70
-->
|