template.json 2.48 KB
Newer Older
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
# This file may be used a template for constructing DHCP-DDNS JSON
# configuration.
#
# Default values that may be omitted are '#' commented out.

# If in a file by itself, it must start with a left-curly-bracket.
{

"DhcpDdns" :
{
#
# --------------  Global Parameters ----------------
#
#    All of the global parameters have default values as shown.  If these
#    are satisfactory you may omit them.
#
#    "ip_address" : "127.0.0.1",
#    "port" : 53001,
#    "dns_server_timeout" : 100,
#    "ncr_protocol" : "UDP"
#    "ncr_format" : "JSON"

#
# ----------------- Forward DDNS  ------------------
#
    "forward_ddns" :
    {
        "ddns_domains" :
        [
            {
                "name" : "<zone name 1>",
#                "key_name" : "<key name>",
                "dns_servers" :
                [
                    {
                        "ip_address" : "<ip address>"
#                       ,"port" : 53
                    }
#                   ,
#                   {
#                       next DNS server for this DdnsDomain
#                   }
#                   :
                ]
            }
#           ,
#           {
#                next Forward DdnsDomain
#           }
#           :
        ]
    },

#
# ----------------- Reverse DDNS  ------------------
#
    "reverse_ddns" :
    {
        "ddns_domains" :
        [
            {
                "name" : "<reverse zone name 1>",
#                "key_name" : "<key name>",
                "dns_servers" :
                [
                    {
                        "ip_address" : "<ip address>"
#                        ,"port" : 53
                    }
#                   ,
#                   {
#                       next DNS server for this DdnsDomain
#                   }
#                   :
                ]
            }
#           ,
#           {
#                next Reverse DdnsDomain
#           }
#           :
        ]
    },
#
# ------------------ TSIG keys ---------------------
#
    "tsig_keys" :
    [
        {
            "name" : "<key name>",
            "algorithm" : "<algorithm name>",
#            Valid values for algorithm are:    HMAC-MD5, HMAC-SHA1,
#                                               HMAC-SHA224, HMAC-SHA256,
#                                               HMAC-SHA384, HMAC-SHA512
            "secret" : "<shared secret value>"
        }
#       ,
#        {
#                next TSIG Key
#        }
    ]
}

# If in a file by itself, it must end with an right-curly-bracket.
}