auth.spec.pre.in 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  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. { "item_name": "filetype",
  52. "item_type": "string",
  53. "item_optional": true
  54. }]
  55. }
  56. }]
  57. }
  58. },
  59. { "item_name": "statistics-interval",
  60. "item_type": "integer",
  61. "item_optional": true,
  62. "item_default": 60
  63. },
  64. {
  65. "item_name": "listen_on",
  66. "item_type": "list",
  67. "item_optional": false,
  68. "item_default": [
  69. {
  70. "address": "::",
  71. "port": 53
  72. },
  73. {
  74. "address": "0.0.0.0",
  75. "port": 53
  76. }
  77. ],
  78. "list_item_spec": {
  79. "item_name": "address",
  80. "item_type": "map",
  81. "item_optional": false,
  82. "item_default": {},
  83. "map_item_spec": [
  84. {
  85. "item_name": "address",
  86. "item_type": "string",
  87. "item_optional": false,
  88. "item_default": "::1"
  89. },
  90. {
  91. "item_name": "port",
  92. "item_type": "integer",
  93. "item_optional": false,
  94. "item_default": 53
  95. }
  96. ]
  97. }
  98. }
  99. ],
  100. "commands": [
  101. {
  102. "command_name": "shutdown",
  103. "command_description": "Shut down authoritative DNS server",
  104. "command_args": [
  105. {
  106. "item_name": "pid",
  107. "item_type": "integer",
  108. "item_optional": true
  109. }
  110. ]
  111. },
  112. {
  113. "command_name": "sendstats",
  114. "command_description": "Send data to a statistics module at once",
  115. "command_args": []
  116. },
  117. {
  118. "command_name": "loadzone",
  119. "command_description": "(Re)load a specified zone",
  120. "command_args": [
  121. {
  122. "item_name": "class", "item_type": "string",
  123. "item_optional": true, "item_default": "IN"
  124. },
  125. {
  126. "item_name": "origin", "item_type": "string",
  127. "item_optional": false, "item_default": ""
  128. },
  129. {
  130. "item_name": "datasrc", "item_type": "string",
  131. "item_optional": true, "item_default": "memory"
  132. }
  133. ]
  134. }
  135. ],
  136. "statistics": [
  137. {
  138. "item_name": "queries.tcp",
  139. "item_type": "integer",
  140. "item_optional": false,
  141. "item_default": 0,
  142. "item_title": "Queries TCP ",
  143. "item_description": "A number of total query counts which all auth servers receive over TCP since they started initially"
  144. },
  145. {
  146. "item_name": "queries.udp",
  147. "item_type": "integer",
  148. "item_optional": false,
  149. "item_default": 0,
  150. "item_title": "Queries UDP",
  151. "item_description": "A number of total query counts which all auth servers receive over UDP since they started initially"
  152. },
  153. {
  154. "item_name": "opcode.query",
  155. "item_type": "integer",
  156. "item_optional": true,
  157. "item_default": 0,
  158. "item_title": "Received query requests",
  159. "item_description": "The number of total request counts whose opcode is query"
  160. },
  161. {
  162. "item_name": "opcode.iquery",
  163. "item_type": "integer",
  164. "item_optional": true,
  165. "item_default": 0,
  166. "item_title": "Received inverse query requests",
  167. "item_description": "The number of total request counts whose opcode is inverse query"
  168. },
  169. {
  170. "item_name": "opcode.status",
  171. "item_type": "integer",
  172. "item_optional": true,
  173. "item_default": 0,
  174. "item_title": "Received status requests",
  175. "item_description": "The number of total request counts whose opcode is status"
  176. },
  177. {
  178. "item_name": "opcode.reserved3",
  179. "item_type": "integer",
  180. "item_optional": true,
  181. "item_default": 0,
  182. "item_title": "Received requests opcode 3",
  183. "item_description": "The number of total request counts whose opcode is 3 (reserved)"
  184. },
  185. {
  186. "item_name": "opcode.notify",
  187. "item_type": "integer",
  188. "item_optional": true,
  189. "item_default": 0,
  190. "item_title": "Received notify requests",
  191. "item_description": "The number of total request counts whose opcode is notify"
  192. },
  193. {
  194. "item_name": "opcode.update",
  195. "item_type": "integer",
  196. "item_optional": true,
  197. "item_default": 0,
  198. "item_title": "Received update requests",
  199. "item_description": "The number of total request counts whose opcode is update"
  200. },
  201. {
  202. "item_name": "opcode.reserved6",
  203. "item_type": "integer",
  204. "item_optional": true,
  205. "item_default": 0,
  206. "item_title": "Received requests opcode 6",
  207. "item_description": "The number of total request counts whose opcode is 6 (reserved)"
  208. },
  209. {
  210. "item_name": "opcode.reserved7",
  211. "item_type": "integer",
  212. "item_optional": true,
  213. "item_default": 0,
  214. "item_title": "Received requests opcode 7",
  215. "item_description": "The number of total request counts whose opcode is 7 (reserved)"
  216. },
  217. {
  218. "item_name": "opcode.reserved8",
  219. "item_type": "integer",
  220. "item_optional": true,
  221. "item_default": 0,
  222. "item_title": "Received requests opcode 8",
  223. "item_description": "The number of total request counts whose opcode is 8 (reserved)"
  224. },
  225. {
  226. "item_name": "opcode.reserved9",
  227. "item_type": "integer",
  228. "item_optional": true,
  229. "item_default": 0,
  230. "item_title": "Received requests opcode 9",
  231. "item_description": "The number of total request counts whose opcode is 9 (reserved)"
  232. },
  233. {
  234. "item_name": "opcode.reserved10",
  235. "item_type": "integer",
  236. "item_optional": true,
  237. "item_default": 0,
  238. "item_title": "Received requests opcode 10",
  239. "item_description": "The number of total request counts whose opcode is 10 (reserved)"
  240. },
  241. {
  242. "item_name": "opcode.reserved11",
  243. "item_type": "integer",
  244. "item_optional": true,
  245. "item_default": 0,
  246. "item_title": "Received requests opcode 11",
  247. "item_description": "The number of total request counts whose opcode is 11 (reserved)"
  248. },
  249. {
  250. "item_name": "opcode.reserved12",
  251. "item_type": "integer",
  252. "item_optional": true,
  253. "item_default": 0,
  254. "item_title": "Received requests opcode 12",
  255. "item_description": "The number of total request counts whose opcode is 12 (reserved)"
  256. },
  257. {
  258. "item_name": "opcode.reserved13",
  259. "item_type": "integer",
  260. "item_optional": true,
  261. "item_default": 0,
  262. "item_title": "Received requests opcode 13",
  263. "item_description": "The number of total request counts whose opcode is 13 (reserved)"
  264. },
  265. {
  266. "item_name": "opcode.reserved14",
  267. "item_type": "integer",
  268. "item_optional": true,
  269. "item_default": 0,
  270. "item_title": "Received requests opcode 14",
  271. "item_description": "The number of total request counts whose opcode is 14 (reserved)"
  272. },
  273. {
  274. "item_name": "opcode.reserved15",
  275. "item_type": "integer",
  276. "item_optional": true,
  277. "item_default": 0,
  278. "item_title": "Received requests opcode 15",
  279. "item_description": "The number of total request counts whose opcode is 15 (reserved)"
  280. },
  281. {
  282. "item_name": "rcode.noerror",
  283. "item_type": "integer",
  284. "item_optional": true,
  285. "item_default": 0,
  286. "item_title": "Sent success response",
  287. "item_description": "The number of total responses with rcode 0 (NOERROR)"
  288. },
  289. {
  290. "item_name": "rcode.formerr",
  291. "item_type": "integer",
  292. "item_optional": true,
  293. "item_default": 0,
  294. "item_title": "Sent 'format error' response",
  295. "item_description": "The number of total responses with rcode 1 (FORMERR)"
  296. },
  297. {
  298. "item_name": "rcode.servfail",
  299. "item_type": "integer",
  300. "item_optional": true,
  301. "item_default": 0,
  302. "item_title": "Sent 'server failure' response",
  303. "item_description": "The number of total responses with rcode 2 (SERVFAIL)"
  304. },
  305. {
  306. "item_name": "rcode.nxdomain",
  307. "item_type": "integer",
  308. "item_optional": true,
  309. "item_default": 0,
  310. "item_title": "Sent 'name error' response",
  311. "item_description": "The number of total responses with rcode 3 (NXDOMAIN)"
  312. },
  313. {
  314. "item_name": "rcode.notimp",
  315. "item_type": "integer",
  316. "item_optional": true,
  317. "item_default": 0,
  318. "item_title": "Sent 'not implemented' response",
  319. "item_description": "The number of total responses with rcode 4 (NOTIMP)"
  320. },
  321. {
  322. "item_name": "rcode.refused",
  323. "item_type": "integer",
  324. "item_optional": true,
  325. "item_default": 0,
  326. "item_title": "Sent 'refused' response",
  327. "item_description": "The number of total responses with rcode 5 (REFUSED)"
  328. },
  329. {
  330. "item_name": "rcode.yxdomain",
  331. "item_type": "integer",
  332. "item_optional": true,
  333. "item_default": 0,
  334. "item_title": "Sent 'name unexpectedly exists' response",
  335. "item_description": "The number of total responses with rcode 6 (YXDOMAIN)"
  336. },
  337. {
  338. "item_name": "rcode.yxrrset",
  339. "item_type": "integer",
  340. "item_optional": true,
  341. "item_default": 0,
  342. "item_title": "Sent 'rrset unexpectedly exists' response",
  343. "item_description": "The number of total responses with rcode 7 (YXRRSET)"
  344. },
  345. {
  346. "item_name": "rcode.nxrrset",
  347. "item_type": "integer",
  348. "item_optional": true,
  349. "item_default": 0,
  350. "item_title": "Sent 'no such rrset' response",
  351. "item_description": "The number of total responses with rcode 8 (NXRRSET)"
  352. },
  353. {
  354. "item_name": "rcode.notauth",
  355. "item_type": "integer",
  356. "item_optional": true,
  357. "item_default": 0,
  358. "item_title": "Sent 'not authoritative' response",
  359. "item_description": "The number of total responses with rcode 9 (NOTAUTH)"
  360. },
  361. {
  362. "item_name": "rcode.notzone",
  363. "item_type": "integer",
  364. "item_optional": true,
  365. "item_default": 0,
  366. "item_title": "Sent 'name not in zone' response",
  367. "item_description": "The number of total responses with rcode 10 (NOTZONE)"
  368. },
  369. {
  370. "item_name": "rcode.reserved11",
  371. "item_type": "integer",
  372. "item_optional": true,
  373. "item_default": 0,
  374. "item_title": "Sent response with rcode 11",
  375. "item_description": "The number of total responses with rcode 11 (reserved)"
  376. },
  377. {
  378. "item_name": "rcode.reserved12",
  379. "item_type": "integer",
  380. "item_optional": true,
  381. "item_default": 0,
  382. "item_title": "Sent response with rcode 12",
  383. "item_description": "The number of total responses with rcode 12 (reserved)"
  384. },
  385. {
  386. "item_name": "rcode.reserved13",
  387. "item_type": "integer",
  388. "item_optional": true,
  389. "item_default": 0,
  390. "item_title": "Sent response with rcode 13",
  391. "item_description": "The number of total responses with rcode 13 (reserved)"
  392. },
  393. {
  394. "item_name": "rcode.reserved14",
  395. "item_type": "integer",
  396. "item_optional": true,
  397. "item_default": 0,
  398. "item_title": "Sent response with rcode 14",
  399. "item_description": "The number of total responses with rcode 14 (reserved)"
  400. },
  401. {
  402. "item_name": "rcode.reserved15",
  403. "item_type": "integer",
  404. "item_optional": true,
  405. "item_default": 0,
  406. "item_title": "Sent response with rcode 15",
  407. "item_description": "The number of total responses with rcode 15 (reserved)"
  408. },
  409. {
  410. "item_name": "rcode.badvers",
  411. "item_type": "integer",
  412. "item_optional": true,
  413. "item_default": 0,
  414. "item_title": "Sent 'EDNS version not implemented' response",
  415. "item_description": "The number of total responses with rcode 16 (BADVERS)"
  416. }
  417. ]
  418. }
  419. }