bindctl.1 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. '\" t
  2. .\" Title: bindctl
  3. .\" Author: [see the "AUTHORS" section]
  4. .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
  5. .\" Date: December 23, 2010
  6. .\" Manual: BIND10
  7. .\" Source: BIND10
  8. .\" Language: English
  9. .\"
  10. .TH "BINDCTL" "1" "December 23, 2010" "BIND10" "BIND10"
  11. .\" -----------------------------------------------------------------
  12. .\" * set default formatting
  13. .\" -----------------------------------------------------------------
  14. .\" disable hyphenation
  15. .nh
  16. .\" disable justification (adjust text to left margin only)
  17. .ad l
  18. .\" -----------------------------------------------------------------
  19. .\" * MAIN CONTENT STARTS HERE *
  20. .\" -----------------------------------------------------------------
  21. .SH "NAME"
  22. bindctl \- control and configure BIND 10
  23. .SH "SYNOPSIS"
  24. .HP \w'\fBbindctl\fR\ 'u
  25. \fBbindctl\fR [\fB\-a\ \fR\fB\fIaddress\fR\fR] [\fB\-h\fR] [\fB\-c\ \fR\fB\fIfile\fR\fR] [\fB\-p\ \fR\fB\fInumber\fR\fR] [\fB\-\-address\ \fR\fB\fIaddress\fR\fR] [\fB\-\-help\fR] [\fB\-\-certificate\-chain\ \fR\fB\fIfile\fR\fR] [\fB\-\-csv\-file\-dir\fR\fB\fIfile\fR\fR] [\fB\-\-port\ \fR\fB\fInumber\fR\fR] [\fB\-\-version\fR]
  26. .SH "DESCRIPTION"
  27. .PP
  28. The
  29. \fBbindctl\fR
  30. tool is a user interface to the BIND 10 services\&. The program can be used to control the components and configure the BIND 10 options\&. The options may be specified
  31. via its interactive command interpreter\&.
  32. .PP
  33. \fBbindctl\fR
  34. communicates over a HTTPS REST\-ful interface provided by
  35. \fBb10-cmdctl\fR(8)\&. The
  36. \fBb10-cfgmgr\fR(8)
  37. daemon stores the configurations and defines the commands\&.
  38. .SH "ARGUMENTS"
  39. .PP
  40. The arguments are as follows:
  41. .PP
  42. \fB\-a\fR \fIaddress\fR, \fB\-\-address\fR \fIaddress\fR
  43. .RS 4
  44. The IPv4 or IPv6 address to use to connect to the running
  45. \fBb10-cmdctl\fR(8)
  46. daemon\&. The default is 127\&.0\&.0\&.1\&.
  47. .RE
  48. .PP
  49. \fB\-c\fR \fIfile\fR, \fB\-\-certificate\-chain\fR \fIfile\fR
  50. .RS 4
  51. The PEM formatted server certificate validation chain file\&.
  52. .RE
  53. .PP
  54. \fB\-\-csv\-file\-dir\fR\fIfile\fR
  55. .RS 4
  56. The directory name in which the user/password CSV file is stored (see AUTHENTICATION)\&. By default this option doesn\'t have any value, in which case the "\&.bind10" directory under the user\'s home directory will be used\&.
  57. .RE
  58. .PP
  59. \fB\-h\fR, \fB\-\-help\fR
  60. .RS 4
  61. Display command usage\&.
  62. .RE
  63. .PP
  64. \fB\-p\fR \fInumber\fR, \fB\-\-port\fR \fInumber\fR
  65. .RS 4
  66. The port number to use to connect to the running
  67. \fBb10-cmdctl\fR(8)
  68. daemon\&. The default is 8080\&.
  69. .if n \{\
  70. .sp
  71. .\}
  72. .RS 4
  73. .it 1 an-trap
  74. .nr an-no-space-flag 1
  75. .nr an-break-flag 1
  76. .br
  77. .ps +1
  78. \fBNote\fR
  79. .ps -1
  80. .br
  81. This default port number may change\&.
  82. .sp .5v
  83. .RE
  84. .RE
  85. .PP
  86. \fB\-\-version\fR
  87. .RS 4
  88. Display the version number and exit\&.
  89. .RE
  90. .SH "AUTHENTICATION"
  91. .PP
  92. The tool will authenticate using a username and password\&. On the first successful login, it will save the details to a comma\-separated\-value (CSV) file which will be used for later uses of
  93. \fBbindctl\fR\&. The file name is
  94. default_user\&.csv
  95. located under the directory specified by the \-\-csv\-file\-dir option\&.
  96. .SH "USAGE"
  97. .PP
  98. The
  99. \fBbindctl\fR
  100. prompt shows
  101. \(lq> \(rq\&. The prompt will also display the location if changed\&. The options are based on the module in use\&. The usage is:
  102. \fBmodule\fR
  103. \fBcommand\fR
  104. \fIparam1 = value1 , \fR\fI\fIparam2 = value2\fR\fR
  105. .PP
  106. \fBbindctl\fR\'s interactive interface provides command\-line completion and hints\&. Press the Tab key to get a hint for the module, command, and/or parameters\&.
  107. The arrow keys and Emacs\-style editing keys may be used to edit and recall previous lines\&.
  108. .PP
  109. You can use the
  110. \fBhelp\fR
  111. keyword to receive usage assistance for a module or a module\'s command\&.
  112. .PP
  113. The
  114. \fBquit\fR
  115. command is used to exit
  116. \fBbindctl\fR
  117. (and doesn\'t stop the BIND 10 services)\&.
  118. .PP
  119. The following module is available by default:
  120. \fBconfig\fR
  121. for Configuration commands\&.
  122. Additional modules may be available, such as
  123. \fBBoss\fR,
  124. \fBXfrin\fR, and
  125. \fBAuth\fR\&.
  126. .SH "SEE ALSO"
  127. .PP
  128. \fBb10-auth\fR(8),
  129. \fBb10-cfgmgr\fR(8),
  130. \fBb10-cmdctl\fR(8),
  131. \fBb10-xfrin\fR(8),
  132. \fBbind10\fR(8),
  133. BIND 10 Guide\&.
  134. .SH "AUTHORS"
  135. .PP
  136. The
  137. \fBbindctl\fR
  138. tool and library were initially coded by Zhang Likun of CNNIC for the BIND 10 project\&. The initial manual page was written by Jeremy C\&. Reed of ISC\&.
  139. .SH "HISTORY"
  140. .PP
  141. The initial version (with internal name of
  142. \fBBigTool\fR) was started in October 2009\&.
  143. .SH "COPYRIGHT"
  144. .br
  145. Copyright \(co 2010 Internet Systems Consortium, Inc. ("ISC")
  146. .br