template.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. # This file may be used a template for constructing DHCP-DDNS JSON
  2. # configuration.
  3. #
  4. # Default values that may be omitted are '#' commented out.
  5. # If in a file by itself, it must start with a left-curly-bracket.
  6. {
  7. "DhcpDdns" :
  8. {
  9. #
  10. # -------------- Global Parameters ----------------
  11. #
  12. # All of the global parameters have default values as shown. If these
  13. # are satisfactory you may omit them.
  14. #
  15. # "ip-address" : "127.0.0.1",
  16. # "port" : 53001,
  17. # "dns-server-timeout" : 100,
  18. # "ncr-protocol" : "UDP"
  19. # "ncr-format" : "JSON"
  20. #
  21. # ----------------- Forward DDNS ------------------
  22. #
  23. "forward-ddns" :
  24. {
  25. "ddns-domains" :
  26. [
  27. {
  28. "name" : "<zone name 1>",
  29. # "key-name" : "<key name>",
  30. "dns-servers" :
  31. [
  32. {
  33. "ip-address" : "<ip address>"
  34. # ,"port" : 53
  35. }
  36. # ,
  37. # {
  38. # next DNS server for this DdnsDomain
  39. # }
  40. # :
  41. ]
  42. }
  43. # ,
  44. # {
  45. # next Forward DdnsDomain
  46. # }
  47. # :
  48. ]
  49. },
  50. #
  51. # ----------------- Reverse DDNS ------------------
  52. #
  53. "reverse-ddns" :
  54. {
  55. "ddns-domains" :
  56. [
  57. {
  58. "name" : "<reverse zone name 1>",
  59. # "key-name" : "<key name>",
  60. "dns-servers" :
  61. [
  62. {
  63. "ip-address" : "<ip address>"
  64. # ,"port" : 53
  65. }
  66. # ,
  67. # {
  68. # next DNS server for this DdnsDomain
  69. # }
  70. # :
  71. ]
  72. }
  73. # ,
  74. # {
  75. # next Reverse DdnsDomain
  76. # }
  77. # :
  78. ]
  79. },
  80. #
  81. # ------------------ TSIG keys ---------------------
  82. #
  83. "tsig-keys" :
  84. [
  85. {
  86. "name" : "<key name>",
  87. "algorithm" : "<algorithm name>",
  88. # Valid values for algorithm are: HMAC-MD5, HMAC-SHA1,
  89. # HMAC-SHA224, HMAC-SHA256,
  90. # HMAC-SHA384, HMAC-SHA512
  91. # "digest-bits" : 256,
  92. # Minimum truncated length in bits.
  93. # Default 0 (means truncation is forbidden).
  94. "secret" : "<shared secret value>"
  95. }
  96. # ,
  97. # {
  98. # next TSIG Key
  99. # }
  100. ]
  101. }
  102. # If in a file by itself, it must end with an right-curly-bracket.
  103. }