File: comments.json

package info (click to toggle)
isc-kea 3.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 63,448 kB
  • sloc: cpp: 595,796; sh: 26,896; lex: 8,540; yacc: 8,424; python: 1,065; xml: 149; makefile: 39
file content (83 lines) | stat: -rw-r--r-- 2,149 bytes parent folder | download
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
72
73
74
75
76
77
78
79
80
81
82
83
// This is an example configuration file for D2, Kea's DHCP-DDNS processor.
// It uses embedded comments which will be included in configuration objects
// within user-contexts rather than stripped away by at lexical analysis.

{
"DhcpDdns":
{

    // Global scope
    "comment": "A DHCP-DDNS server",
    "ip-address": "127.0.0.1",
    "port": 53001,
    "dns-server-timeout" : 1000,

    // In control sockets.
    "control-sockets": [
        {
            "socket-type": "unix",
            "socket-name": "kea-ddns-ctrl-socket",
            "user-context": { "comment": "Indirect comment" }
        },
        {
            "comment": "HTTP control socket",
            "socket-type": "http",
            "socket-address": "::1",
            "socket-port": 8053,
            // In authentication
            "authentication": {
                "comment": "basic HTTP authentication",
                "type": "basic",
                // In basic HTTP authentication clients
                "clients": [ {
                    "comment": "admin is authorized",
                    "user": "admin",
                    "password": "1234"
                } ]
            }
        }
    ],

    "forward-ddns":
    {
        "ddns-domains":
        [
            // In DDNS domain
            {
                "comment": "DdnsDomain for zone 'four.example.com.'",
                "name": "four.example.com.",
                "key-name": "d2.md5.key",
                // In DNS server
                "dns-servers":
                [
                    {
                        "comment": "four.example.com. server",
                        "ip-address": "172.16.1.1"
                    }
                ]
            }
        ]
    },

    // In TSIG key
    "tsig-keys":
    [
        {
            "comment": "four.example.com. key",
            "name": "d2.md5.key",
            "algorithm": "HMAC-MD5",
            "secret": "LSWXnfkKZjdPJI5QxlpnfQ=="
        }
    ],

    // In loggers
    "loggers": [
        {
            "comment": "A logger",
            "name": "kea-dhcp-ddns",
            "severity": "info"
        }
    ]
}

}