123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- # 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.
- }
|