summaryrefslogtreecommitdiff
path: root/src/bin/d2/tests/testdata/get_config.json
blob: b040c058edf54ce31f631f0da07102eb4cbb3414 (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
{
    "DhcpDdns": {
        "dns-server-timeout": 1000,
        "forward-ddns": {
            "ddns-domains": [
                {
                    "comment": "DdnsDomain example",
                    "dns-servers": [
                        {
                            "hostname": "",
                            "ip-address": "172.16.1.1",
                            "port": 53
                        }
                    ],
                    "key-name": "d2.md5.key",
                    "name": "four.example.com."
                },
                {
                    "dns-servers": [
                        {
                            "hostname": "",
                            "ip-address": "2001:db8:1::10",
                            "port": 7802
                        }
                    ],
                    "name": "six.example.com."
                }
            ]
        },
        "ip-address": "172.16.1.10",
        "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
        }
    }
}