auth.spec.pre.in 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. "map_item_spec": [
  40. { "item_name": "origin",
  41. "item_type": "string",
  42. "item_optional": false,
  43. "item_default": ""
  44. },
  45. { "item_name": "file",
  46. "item_type": "string",
  47. "item_optional": false,
  48. "item_default": ""
  49. }
  50. ]
  51. }
  52. }
  53. ]
  54. }
  55. },
  56. { "item_name": "statistics-interval",
  57. "item_type": "integer",
  58. "item_optional": true,
  59. "item_default": 60
  60. }
  61. ],
  62. "commands": [
  63. {
  64. "command_name": "shutdown",
  65. "command_description": "Shut down authoritative DNS server",
  66. "command_args": []
  67. },
  68. {
  69. "command_name": "sendstats",
  70. "command_description": "Send data to a statistics module at once",
  71. "command_args": []
  72. },
  73. {
  74. "command_name": "loadzone",
  75. "command_description": "(Re)load a specified zone",
  76. "command_args": [
  77. {
  78. "item_name": "class", "item_type": "string",
  79. "item_optional": true, "item_default": "IN"
  80. },
  81. {
  82. "item_name": "origin", "item_type": "string",
  83. "item_optional": false, "item_default": ""
  84. },
  85. {
  86. "item_name": "datasrc", "item_type": "string",
  87. "item_optional": true, "item_default": "memory"
  88. }
  89. ]
  90. }
  91. ]
  92. }
  93. }