auth.spec.pre.in 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. {
  2. "module_spec": {
  3. "module_name": "Auth",
  4. "module_description": "Authoritative service",
  5. "config_data": [
  6. { "item_name": "database_file",
  7. "item_type": "string",
  8. "item_optional": true,
  9. "item_default": "@@LOCALSTATEDIR@@/@PACKAGE@/zone.sqlite3"
  10. },
  11. { "item_name": "datasources",
  12. "item_type": "list",
  13. "item_optional": true,
  14. "item_default": [],
  15. "list_item_spec":
  16. { "item_name": "list_element",
  17. "item_type": "map",
  18. "item_optional": false,
  19. "item_default": {},
  20. "map_item_spec": [
  21. { "item_name": "type",
  22. "item_type": "string",
  23. "item_optional": false,
  24. "item_default": ""
  25. },
  26. { "item_name": "class",
  27. "item_type": "string",
  28. "item_optional": false,
  29. "item_default": "IN"
  30. },
  31. { "item_name": "zones",
  32. "item_type": "list",
  33. "item_optional": false,
  34. "item_default": [],
  35. "list_item_spec":
  36. { "item_name": "list_element",
  37. "item_type": "map",
  38. "item_optional": true,
  39. "item_default": { "origin": "", "file": "" },
  40. "map_item_spec": [
  41. { "item_name": "origin",
  42. "item_type": "string",
  43. "item_optional": false,
  44. "item_default": ""
  45. },
  46. { "item_name": "file",
  47. "item_type": "string",
  48. "item_optional": false,
  49. "item_default": ""
  50. }]
  51. }
  52. }]
  53. }
  54. },
  55. { "item_name": "statistics-interval",
  56. "item_type": "integer",
  57. "item_optional": true,
  58. "item_default": 60
  59. },
  60. {
  61. "item_name": "listen_on",
  62. "item_type": "list",
  63. "item_optional": false,
  64. "item_default": [
  65. {
  66. "address": "::",
  67. "port": 53
  68. },
  69. {
  70. "address": "0.0.0.0",
  71. "port": 53
  72. }
  73. ],
  74. "list_item_spec": {
  75. "item_name": "address",
  76. "item_type": "map",
  77. "item_optional": false,
  78. "item_default": {},
  79. "map_item_spec": [
  80. {
  81. "item_name": "address",
  82. "item_type": "string",
  83. "item_optional": false,
  84. "item_default": "::1"
  85. },
  86. {
  87. "item_name": "port",
  88. "item_type": "integer",
  89. "item_optional": false,
  90. "item_default": 53
  91. }
  92. ]
  93. }
  94. }
  95. ],
  96. "commands": [
  97. {
  98. "command_name": "shutdown",
  99. "command_description": "Shut down authoritative DNS server",
  100. "command_args": [
  101. {
  102. "item_name": "pid",
  103. "item_type": "integer",
  104. "item_optional": true
  105. }
  106. ]
  107. },
  108. {
  109. "command_name": "sendstats",
  110. "command_description": "Send data to a statistics module at once",
  111. "command_args": []
  112. },
  113. {
  114. "command_name": "loadzone",
  115. "command_description": "(Re)load a specified zone",
  116. "command_args": [
  117. {
  118. "item_name": "class", "item_type": "string",
  119. "item_optional": true, "item_default": "IN"
  120. },
  121. {
  122. "item_name": "origin", "item_type": "string",
  123. "item_optional": false, "item_default": ""
  124. },
  125. {
  126. "item_name": "datasrc", "item_type": "string",
  127. "item_optional": true, "item_default": "memory"
  128. }
  129. ]
  130. }
  131. ],
  132. "statistics": [
  133. {
  134. "item_name": "queries.tcp",
  135. "item_type": "integer",
  136. "item_optional": false,
  137. "item_default": 0,
  138. "item_title": "Queries TCP ",
  139. "item_description": "A number of total query counts which all auth servers receive over TCP since they started initially"
  140. },
  141. {
  142. "item_name": "queries.udp",
  143. "item_type": "integer",
  144. "item_optional": false,
  145. "item_default": 0,
  146. "item_title": "Queries UDP",
  147. "item_description": "A number of total query counts which all auth servers receive over UDP since they started initially"
  148. },
  149. {
  150. "item_name": "opcode.query",
  151. "item_type": "integer",
  152. "item_optional": true,
  153. "item_default": 0,
  154. "item_title": "Received query requests",
  155. "item_description": "The number of total request counts whose opcode is query"
  156. },
  157. {
  158. "item_name": "opcode.iquery",
  159. "item_type": "integer",
  160. "item_optional": true,
  161. "item_default": 0,
  162. "item_title": "Received inverse query requests",
  163. "item_description": "The number of total request counts whose opcode is inverse query"
  164. },
  165. {
  166. "item_name": "opcode.status",
  167. "item_type": "integer",
  168. "item_optional": true,
  169. "item_default": 0,
  170. "item_title": "Received status requests",
  171. "item_description": "The number of total request counts whose opcode is status"
  172. },
  173. {
  174. "item_name": "opcode.reserved3",
  175. "item_type": "integer",
  176. "item_optional": true,
  177. "item_default": 0,
  178. "item_title": "Received requests opcode 3",
  179. "item_description": "The number of total request counts whose opcode is 3 (reserved)"
  180. },
  181. {
  182. "item_name": "opcode.notify",
  183. "item_type": "integer",
  184. "item_optional": true,
  185. "item_default": 0,
  186. "item_title": "Received notify requests",
  187. "item_description": "The number of total request counts whose opcode is notify"
  188. },
  189. {
  190. "item_name": "opcode.update",
  191. "item_type": "integer",
  192. "item_optional": true,
  193. "item_default": 0,
  194. "item_title": "Received update requests",
  195. "item_description": "The number of total request counts whose opcode is update"
  196. },
  197. {
  198. "item_name": "opcode.reserved6",
  199. "item_type": "integer",
  200. "item_optional": true,
  201. "item_default": 0,
  202. "item_title": "Received requests opcode 6",
  203. "item_description": "The number of total request counts whose opcode is 6 (reserved)"
  204. },
  205. {
  206. "item_name": "opcode.reserved7",
  207. "item_type": "integer",
  208. "item_optional": true,
  209. "item_default": 0,
  210. "item_title": "Received requests opcode 7",
  211. "item_description": "The number of total request counts whose opcode is 7 (reserved)"
  212. },
  213. {
  214. "item_name": "opcode.reserved8",
  215. "item_type": "integer",
  216. "item_optional": true,
  217. "item_default": 0,
  218. "item_title": "Received requests opcode 8",
  219. "item_description": "The number of total request counts whose opcode is8 (reserved)"
  220. },
  221. {
  222. "item_name": "opcode.reserved9",
  223. "item_type": "integer",
  224. "item_optional": true,
  225. "item_default": 0,
  226. "item_title": "Received requests opcode 9",
  227. "item_description": "The number of total request counts whose opcode is9 (reserved)"
  228. },
  229. {
  230. "item_name": "opcode.reserved10",
  231. "item_type": "integer",
  232. "item_optional": true,
  233. "item_default": 0,
  234. "item_title": "Received requests opcode 10",
  235. "item_description": "The number of total request counts whose opcode is10 (reserved)"
  236. },
  237. {
  238. "item_name": "opcode.reserved11",
  239. "item_type": "integer",
  240. "item_optional": true,
  241. "item_default": 0,
  242. "item_title": "Received requests opcode 11",
  243. "item_description": "The number of total request counts whose opcode is11 (reserved)"
  244. },
  245. {
  246. "item_name": "opcode.reserved12",
  247. "item_type": "integer",
  248. "item_optional": true,
  249. "item_default": 0,
  250. "item_title": "Received requests opcode 12",
  251. "item_description": "The number of total request counts whose opcode is12 (reserved)"
  252. },
  253. {
  254. "item_name": "opcode.reserved13",
  255. "item_type": "integer",
  256. "item_optional": true,
  257. "item_default": 0,
  258. "item_title": "Received requests opcode 13",
  259. "item_description": "The number of total request counts whose opcode is13 (reserved)"
  260. },
  261. {
  262. "item_name": "opcode.reserved14",
  263. "item_type": "integer",
  264. "item_optional": true,
  265. "item_default": 0,
  266. "item_title": "Received requests opcode 14",
  267. "item_description": "The number of total request counts whose opcode is14 (reserved)"
  268. },
  269. {
  270. "item_name": "opcode.reserved15",
  271. "item_type": "integer",
  272. "item_optional": true,
  273. "item_default": 0,
  274. "item_title": "Received requests opcode 15",
  275. "item_description": "The number of total request counts whose opcode is15 (reserved)"
  276. }
  277. ]
  278. }
  279. }