summaryrefslogtreecommitdiffstats
path: root/src/bin/d2/tests/testdata/get_config.json
blob: d9613a3610c10ef4443aa23bd8698f13b44d12e4 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
    "DhcpDdns": {
        "control-socket": {
            "socket-name": "/tmp/kea-ddns-ctrl-socket",
            "socket-type": "unix"
        },
        "dns-server-timeout": 1000,
        "forward-ddns": {
            "ddns-domains": [
                {
                    "dns-servers": [
                        {
                            "hostname": "",
                            "ip-address": "172.16.1.1",
                            "port": 53
                        }
                    ],
                    "key-name": "d2.md5.key",
                    "name": "four.example.com.",
                    "user-context": {
                        "comment": "DdnsDomain example"
                    }
                },
                {
                    "dns-servers": [
                        {
                            "hostname": "",
                            "ip-address": "2001:db8:1::10",
                            "port": 7802
                        }
                    ],
                    "name": "six.example.com."
                }
            ]
        },
        "hooks-libraries": [
            {
                "library": "/opt/local/ddns-server-commands.so",
                "parameters": {
                    "param1": "foo"
                }
            }
        ],
        "ip-address": "127.0.0.1",
        "loggers": [
            {
                "debuglevel": 0,
                "name": "kea-dhcp-ddns",
                "output_options": [
                    {
                        "flush": true,
                        "output": "stdout",
                        "pattern": "%d [%c/%i] %m\n"
                    }
                ],
                "severity": "INFO"
            }
        ],
        "ncr-format": "JSON",
        "ncr-protocol": "UDP",
        "port": 53001,
        "reverse-ddns": {
            "ddns-domains": [
                {
                    "dns-servers": [
                        {
                            "hostname": "",
                            "ip-address": "172.16.1.1",
                            "port": 53001
                        },
                        {
                            "hostname": "",
                            "ip-address": "192.168.2.10",
                            "port": 53
                        }
                    ],
                    "key-name": "d2.sha1.key",
                    "name": "2.0.192.in-addr.arpa."
                }
            ]
        },
        "tsig-keys": [
            {
                "algorithm": "HMAC-MD5",
                "digest-bits": 0,
                "name": "d2.md5.key",
                "secret": "LSWXnfkKZjdPJI5QxlpnfQ=="
            },
            {
                "algorithm": "HMAC-SHA1",
                "digest-bits": 0,
                "name": "d2.sha1.key",
                "secret": "hRrp29wzUv3uzSNRLlY68w=="
            },
            {
                "algorithm": "HMAC-SHA512",
                "digest-bits": 256,
                "name": "d2.sha512.key",
                "secret": "/4wklkm04jeH4anx2MKGJLcya+ZLHldL5d6mK+4q6UXQP7KJ9mS2QG29hh0SJR4LA0ikxNJTUMvir42gLx6fGQ=="
            }
        ],
        "user-context": {
            "version": 1
        }
    }
}