bindctl.1 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. .\" Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
  2. .Dd January 18, 2009
  3. .Dt BINDCTL 1
  4. .Os
  5. .Sh NAME
  6. .Nm bindctl
  7. .Nd control and configure BIND 10
  8. .Sh SYNOPSIS
  9. .\" TODO: option to choose the command channel?
  10. .Nm
  11. .Sh DESCRIPTION
  12. The
  13. .Nm
  14. tool is a user interface to the BIND 10 services.
  15. The program can be used to control the components
  16. and configure the BIND 10 options.
  17. The options may be specified as command-line arguments,
  18. or via the interactive command interpreter.
  19. .\" TODO: command-line arguments?
  20. .Pp
  21. .Nm
  22. must communicate over a
  23. .Xr msgq 8
  24. C-Channel
  25. connection.
  26. If this connection is not established,
  27. .Nm
  28. will exit.
  29. .\" TODO: what if msgq is running but no BigTool or Boss groups?
  30. .Pp
  31. The command-line prompt shows
  32. .Dq "\*[Gt] " .
  33. The options are based on the module in use.
  34. The command-line usage is:
  35. .Pp
  36. .Ic module Ic command Op Ar "param1 = value1" Op Ar ", param2 = value2"
  37. .Pp
  38. .Nm Ap s
  39. interactive interface provides command-line completion and hints.
  40. Press the
  41. .Li Tab
  42. key to get a hint for the module, command, and/or parameters.
  43. .\" TODO: no hints at a blank line though
  44. The arrow keys and Emacs-style editing keys may be used to edit
  45. and recall previous lines.
  46. .\" TODO: all Emacs-style editing keys?
  47. .Pp
  48. You can use the
  49. .Ic help
  50. keyword to receive usage assistance for a module or a module's
  51. command.
  52. .Pp
  53. The following modules are available:
  54. .Pp
  55. .Bl -tag -width ".Li ParkingLot" -compact -offset indent
  56. .\" TODO parkinglot?
  57. .It Ic boss
  58. Control BIND 10 services.
  59. .It Ic config
  60. Configuration commands.
  61. .It Ic ParkingLot
  62. TODO
  63. .El
  64. .Sh BOSS COMMANDS
  65. .Bl -tag -width Ic
  66. .It Ic help
  67. Get help for the
  68. .Em boss
  69. module.
  70. .It Ic shutdown Op Ar module_name
  71. Stop the BIND 10 processes.
  72. .El
  73. .Sh CONFIGURATION COMMANDS
  74. .\" add commit go help remove revert set show unset
  75. The following configuration commands are recognized by
  76. .Nm :
  77. .Bl -tag -width Ic
  78. .It Ic add Ar identifier Ar value
  79. Add entry to configuration.
  80. .\" TODO: why the value?
  81. .It Ic commit
  82. Commit all local changes.
  83. TODO: what does this do?
  84. .It Ic go Ar identifier
  85. Go to the specified configuration. TODO
  86. .It Ic help
  87. Get help for the
  88. .Em config
  89. module.
  90. .It Ic remove Ar identifier Ar value
  91. Remove entry from configuration.
  92. .\" TODO: why the value?
  93. .It Ic revert
  94. Revert all local changes.
  95. TODO: what does this do?
  96. .It Ic set Ar identifier Ar value
  97. Set a configuration value.
  98. TODO
  99. .It Ic show
  100. TODO
  101. Show configuration.
  102. .It Ic unset Ar identifier
  103. Unset a configuration value.
  104. TODO
  105. .El
  106. .Sh PARKINGLOT COMMANDS
  107. .Bl -tag -width Ic
  108. .It Ic help
  109. Get help for the
  110. .Em ParkingLot
  111. module.
  112. .It Ic print_message Ar string
  113. Print the given message to stdout.
  114. .El
  115. .\"
  116. .\" TODO: Command arguments which have embedded spaces may be quoted with
  117. .\" quote
  118. .\" .Sq \&"
  119. .\" marks.
  120. .Pp
  121. .Pp command-line editing?
  122. .Pp
  123. .Sh EXAMPLES
  124. .Sh SEE ALSO
  125. .\" complete this info later
  126. .\" .Sh STANDARDS
  127. .Sh HISTORY
  128. The initial version (with internal name of
  129. .Dq BigTool )
  130. was started in October 2009.
  131. .Sh AUTHORS
  132. The
  133. .Nm
  134. tool and library were initially coded by Zhang Likun of CNNIC
  135. for the BIND 10 project.
  136. The initial manual page was written by Jeremy C. Reed of ISC.
  137. .\" .Sh BUGS