mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
388. [func] jreed
|
||||
Use prefix "sockcreator-" for the private temporary directory
|
||||
used for b10-sockcreator communication.
|
||||
(git b98523c1260637cb33436964dc18e9763622a242)
|
||||
|
||||
387. [build] muks
|
||||
Accept a --without-werror configure switch so that some builders can
|
||||
disable the use of -Werror in CFLAGS when building.
|
||||
|
File diff suppressed because one or more lines are too long
@@ -221,18 +221,22 @@ Chapter 1. Introduction
|
||||
processes as needed. The processes started by the bind10 command have
|
||||
names starting with "b10-", including:
|
||||
|
||||
o b10-msgq -- Message bus daemon. This process coordinates communication
|
||||
between all of the other BIND 10 processes.
|
||||
o b10-auth -- Authoritative DNS server. This process serves DNS
|
||||
requests.
|
||||
o b10-cfgmgr -- Configuration manager. This process maintains all of the
|
||||
configuration for BIND 10.
|
||||
o b10-cmdctl -- Command and control service. This process allows
|
||||
external control of the BIND 10 system.
|
||||
o b10-msgq -- Message bus daemon. This process coordinates communication
|
||||
between all of the other BIND 10 processes.
|
||||
o b10-resolver -- Recursive name server. This process handles incoming
|
||||
queries.
|
||||
o b10-sockcreator -- Socket creator daemon. This process creates sockets
|
||||
used by network-listening BIND 10 processes.
|
||||
o b10-stats -- Statistics collection daemon. This process collects and
|
||||
reports statistics data.
|
||||
o b10-stats-httpd -- HTTP server for statistics reporting. This process
|
||||
reports statistics data in XML format over HTTP.
|
||||
o b10-xfrin -- Incoming zone transfer service. This process is used to
|
||||
transfer a new copy of a zone into BIND 10, when acting as a secondary
|
||||
server.
|
||||
@@ -249,8 +253,9 @@ Chapter 1. Introduction
|
||||
Once BIND 10 is running, a few commands are used to interact directly with
|
||||
the system:
|
||||
|
||||
o bindctl -- interactive administration interface. This is a
|
||||
command-line tool which allows an administrator to control BIND 10.
|
||||
o bindctl -- interactive administration interface. This is a low-level
|
||||
command-line tool which allows a developer or an experienced
|
||||
administrator to control BIND 10.
|
||||
o b10-loadzone -- zone file loader. This tool will load standard
|
||||
masterfile-format zone files into BIND 10.
|
||||
o b10-cmdctl-usermgr -- user access control. This tool allows an
|
||||
@@ -491,10 +496,11 @@ Chapter 3. Starting BIND10 with bind10
|
||||
b10-sockcreator will allocate sockets for the rest of the system.
|
||||
|
||||
In its default configuration, the bind10 master process will also start up
|
||||
b10-cmdctl for admins to communicate with the system, b10-auth for
|
||||
authoritative DNS service, b10-stats for statistics collection, b10-xfrin
|
||||
for inbound DNS zone transfers, b10-xfrout for outbound DNS zone
|
||||
transfers, and b10-zonemgr for secondary service.
|
||||
b10-cmdctl for administration tools to communicate with the system,
|
||||
b10-auth for authoritative DNS service, b10-stats for statistics
|
||||
collection, b10-stats-httpd for statistics reporting, b10-xfrin for
|
||||
inbound DNS zone transfers, b10-xfrout for outbound DNS zone transfers,
|
||||
and b10-zonemgr for secondary service.
|
||||
|
||||
3.1. Starting BIND 10
|
||||
|
||||
@@ -600,6 +606,22 @@ Chapter 3. Starting BIND10 with bind10
|
||||
|
||||
In short, you should think twice before disabling something here.
|
||||
|
||||
It is possible to start some components multiple times (currently b10-auth
|
||||
and b10-resolzer). You might want to do that to gain more performance
|
||||
(each one uses only single core). Just put multiple entries under
|
||||
different names, like this, with the same config:
|
||||
|
||||
> config add Boss/components b10-resolver-2
|
||||
> config set Boss/components/b10-resolver-2/special resolver
|
||||
> config set Boss/components/b10-resolver-2/kind needed
|
||||
> config commit
|
||||
|
||||
However, this is work in progress and the support is not yet complete. For
|
||||
example, each resolver will have its own cache, each authoritative server
|
||||
will keep its own copy of in-memory data and there could be problems with
|
||||
locking the sqlite database, if used. The configuration might be changed
|
||||
to something more convenient in future.
|
||||
|
||||
Chapter 4. Command channel
|
||||
|
||||
The BIND 10 components use the b10-msgq message routing daemon to
|
||||
@@ -939,26 +961,22 @@ Chapter 10. Outbound Zone Transfers
|
||||
In the above example the lines for transfer_acl were divided for
|
||||
readability. In the actual input it must be in a single line.
|
||||
|
||||
If you want to require TSIG in access control, a separate TSIG "key ring"
|
||||
must be configured specifically for b10-xfrout as well as a system wide
|
||||
key ring, both containing a consistent set of keys. For example, to change
|
||||
the previous example to allowing requests from 192.0.2.1 signed by a TSIG
|
||||
with a key name of "key.example", you'll need to do this:
|
||||
If you want to require TSIG in access control, a system wide TSIG "key
|
||||
ring" must be configured. For example, to change the previous example to
|
||||
allowing requests from 192.0.2.1 signed by a TSIG with a key name of
|
||||
"key.example", you'll need to do this:
|
||||
|
||||
> config set tsig_keys/keys ["key.example:<base64-key>"]
|
||||
> config set Xfrout/tsig_keys/keys ["key.example:<base64-key>"]
|
||||
> config set Xfrout/zone_config[0]/transfer_acl [{"action": "ACCEPT", "from": "192.0.2.1", "key": "key.example"}]
|
||||
> config commit
|
||||
|
||||
The first line of configuration defines a system wide key ring. This is
|
||||
necessary because the b10-auth server also checks TSIGs and it uses the
|
||||
system wide configuration.
|
||||
Both Xfrout and Auth will use the system wide keyring to check TSIGs in
|
||||
the incomming messages and to sign responses.
|
||||
|
||||
Note
|
||||
|
||||
In a future version, b10-xfrout will also use the system wide TSIG
|
||||
configuration. The way to specify zone specific configuration (ACLs, etc)
|
||||
is likely to be changed, too.
|
||||
The way to specify zone specific configuration (ACLs, etc) is likely to be
|
||||
changed.
|
||||
|
||||
Chapter 11. Recursive Name Server
|
||||
|
||||
|
@@ -170,15 +170,6 @@
|
||||
|
||||
<itemizedlist>
|
||||
|
||||
<listitem>
|
||||
<simpara>
|
||||
<command>b10-msgq</command> —
|
||||
Message bus daemon.
|
||||
This process coordinates communication between all of the other
|
||||
BIND 10 processes.
|
||||
</simpara>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<simpara>
|
||||
<command>b10-auth</command> —
|
||||
@@ -203,6 +194,15 @@
|
||||
</simpara>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<simpara>
|
||||
<command>b10-msgq</command> —
|
||||
Message bus daemon.
|
||||
This process coordinates communication between all of the other
|
||||
BIND 10 processes.
|
||||
</simpara>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<simpara>
|
||||
<command>b10-resolver</command> —
|
||||
@@ -212,6 +212,15 @@
|
||||
</simpara>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<simpara>
|
||||
<command>b10-sockcreator</command> —
|
||||
Socket creator daemon.
|
||||
This process creates sockets used by
|
||||
network-listening BIND 10 processes.
|
||||
</simpara>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<simpara>
|
||||
<command>b10-stats</command> —
|
||||
@@ -220,6 +229,14 @@
|
||||
</simpara>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<simpara>
|
||||
<command>b10-stats-httpd</command> —
|
||||
HTTP server for statistics reporting.
|
||||
This process reports statistics data in XML format over HTTP.
|
||||
</simpara>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<simpara>
|
||||
<command>b10-xfrin</command> —
|
||||
@@ -269,8 +286,9 @@
|
||||
<simpara>
|
||||
<command>bindctl</command> —
|
||||
interactive administration interface.
|
||||
This is a command-line tool which allows an administrator
|
||||
to control BIND 10.
|
||||
This is a low-level command-line tool which allows
|
||||
a developer or an experienced administrator to control
|
||||
BIND 10.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
@@ -751,9 +769,11 @@ as a dependency earlier -->
|
||||
<para>
|
||||
In its default configuration, the <command>bind10</command>
|
||||
master process will also start up
|
||||
<command>b10-cmdctl</command> for admins to communicate with the
|
||||
system, <command>b10-auth</command> for authoritative DNS service,
|
||||
<command>b10-cmdctl</command> for administration tools to
|
||||
communicate with the system,
|
||||
<command>b10-auth</command> for authoritative DNS service,
|
||||
<command>b10-stats</command> for statistics collection,
|
||||
<command>b10-stats-httpd</command> for statistics reporting,
|
||||
<command>b10-xfrin</command> for inbound DNS zone transfers,
|
||||
<command>b10-xfrout</command> for outbound DNS zone transfers,
|
||||
and <command>b10-zonemgr</command> for secondary service.
|
||||
@@ -889,7 +909,7 @@ address, but the usual ones don't." mean? -->
|
||||
This system allows you to start the same component multiple times
|
||||
(by including it in the configuration with different names, but the
|
||||
same process setting). However, the rest of the system doesn't expect
|
||||
such situation, so it would probably not do what you want. Such
|
||||
such a situation, so it would probably not do what you want. Such
|
||||
support is yet to be implemented.
|
||||
</para>
|
||||
</note>
|
||||
@@ -901,10 +921,10 @@ address, but the usual ones don't." mean? -->
|
||||
<command>b10-cmdctl</command>, but then you couldn't
|
||||
change it back the usual way, as it would require it to
|
||||
be running (you would have to find and edit the configuration
|
||||
directly). Also, some modules might have dependencies
|
||||
-- <command>b10-stats-httpd</command> need
|
||||
directly). Also, some modules might have dependencies:
|
||||
<command>b10-stats-httpd</command> needs
|
||||
<command>b10-stats</command>, <command>b10-xfrout</command>
|
||||
needs the <command>b10-auth</command> to be running, etc.
|
||||
needs <command>b10-auth</command> to be running, etc.
|
||||
|
||||
<!-- TODO: should we define dependencies? -->
|
||||
|
||||
|
@@ -2,12 +2,12 @@
|
||||
.\" Title: b10-auth
|
||||
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: December 28, 2011
|
||||
.\" Date: February 28, 2012
|
||||
.\" Manual: BIND10
|
||||
.\" Source: BIND10
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "B10\-AUTH" "8" "December 28, 2011" "BIND10" "BIND10"
|
||||
.TH "B10\-AUTH" "8" "February 28, 2012" "BIND10" "BIND10"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -154,7 +154,9 @@ immediately\&.
|
||||
|
||||
\fBshutdown\fR
|
||||
exits
|
||||
\fBb10\-auth\fR\&. (Note that the BIND 10 boss process will restart this service\&.)
|
||||
\fBb10\-auth\fR\&. This has an optional
|
||||
\fIpid\fR
|
||||
argument to select the process ID to stop\&. (Note that the BIND 10 boss process may restart this service if configured\&.)
|
||||
.SH "STATISTICS DATA"
|
||||
.PP
|
||||
The statistics data collected by the
|
||||
@@ -198,5 +200,5 @@ The
|
||||
daemon was first coded in October 2009\&.
|
||||
.SH "COPYRIGHT"
|
||||
.br
|
||||
Copyright \(co 2010 Internet Systems Consortium, Inc. ("ISC")
|
||||
Copyright \(co 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
.br
|
||||
|
@@ -2,7 +2,7 @@
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
||||
[<!ENTITY mdash "—">]>
|
||||
<!--
|
||||
- Copyright (C) 2010-2011 Internet Systems Consortium, Inc. ("ISC")
|
||||
- Copyright (C) 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
-
|
||||
- Permission to use, copy, modify, and/or distribute this software for any
|
||||
- purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -20,7 +20,7 @@
|
||||
<refentry>
|
||||
|
||||
<refentryinfo>
|
||||
<date>December 28, 2011</date>
|
||||
<date>February 28, 2012</date>
|
||||
</refentryinfo>
|
||||
|
||||
<refmeta>
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<docinfo>
|
||||
<copyright>
|
||||
<year>2010</year>
|
||||
<year>2010-2012</year>
|
||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||
</copyright>
|
||||
</docinfo>
|
||||
@@ -188,7 +188,10 @@
|
||||
|
||||
<para>
|
||||
<command>shutdown</command> exits <command>b10-auth</command>.
|
||||
(Note that the BIND 10 boss process will restart this service.)
|
||||
This has an optional <varname>pid</varname> argument to
|
||||
select the process ID to stop.
|
||||
(Note that the BIND 10 boss process may restart this service
|
||||
if configured.)
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
@@ -219,6 +222,8 @@
|
||||
|
||||
</variablelist>
|
||||
|
||||
<!-- TODO: missing stats docs. See ticket #1721 -->
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@@ -2,12 +2,12 @@
|
||||
.\" Title: bind10
|
||||
.\" Author: [see the "AUTHORS" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: November 23, 2011
|
||||
.\" Date: February 28, 2012
|
||||
.\" Manual: BIND10
|
||||
.\" Source: BIND10
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "BIND10" "8" "November 23, 2011" "BIND10" "BIND10"
|
||||
.TH "BIND10" "8" "February 28, 2012" "BIND10" "BIND10"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -34,9 +34,8 @@ The arguments are as follows:
|
||||
.PP
|
||||
\fB\-c\fR \fIconfig\-filename\fR, \fB\-\-config\-file\fR \fIconfig\-filename\fR
|
||||
.RS 4
|
||||
The configuration filename to use\&. Can be either absolute or relative to data path\&. In case it is absolute, value of data path is not considered\&.
|
||||
.sp
|
||||
Defaults to b10\-config\&.db\&.
|
||||
The configuration filename to use\&. Can be either absolute or relative to data path\&. In case it is absolute, value of data path is not considered\&. Defaults to
|
||||
b10\-config\&.db\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB\-\-cmdctl\-port\fR \fIport\fR
|
||||
@@ -50,7 +49,9 @@ for the default\&.)
|
||||
.PP
|
||||
\fB\-p\fR \fIdirectory\fR, \fB\-\-data\-path\fR \fIdirectory\fR
|
||||
.RS 4
|
||||
The path where BIND 10 programs look for various data files\&. Currently only b10\-cfgmgr uses it to locate the configuration file, but the usage might be extended for other programs and other types of files\&.
|
||||
The path where BIND 10 programs look for various data files\&. Currently only
|
||||
\fBb10-cfgmgr\fR(8)
|
||||
uses it to locate the configuration file, but the usage might be extended for other programs and other types of files\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB\-m\fR \fIfile\fR, \fB\-\-msgq\-socket\-file\fR \fIfile\fR
|
||||
@@ -73,7 +74,6 @@ daemon\&.
|
||||
The username for
|
||||
\fBbind10\fR
|
||||
to run as\&.
|
||||
|
||||
\fBbind10\fR
|
||||
must be initially ran as the root user to use this option\&. The default is to run as the current user\&.
|
||||
.RE
|
||||
@@ -82,7 +82,7 @@ must be initially ran as the root user to use this option\&. The default is to r
|
||||
.RS 4
|
||||
If defined, the PID of the
|
||||
\fBbind10\fR
|
||||
is stored in this file\&. This is used for testing purposes\&.
|
||||
is stored in this file\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB\-\-pretty\-name \fR\fB\fIname\fR\fR
|
||||
@@ -103,7 +103,9 @@ and its child processes\&.
|
||||
.PP
|
||||
\fB\-w\fR \fIwait_time\fR, \fB\-\-wait\fR \fIwait_time\fR
|
||||
.RS 4
|
||||
Sets the amount of time that BIND 10 will wait for the configuration manager (a key component of BIND 10) to initialize itself before abandoning the start up and terminating with an error\&. The wait_time is specified in seconds and has a default value of 10\&.
|
||||
Sets the amount of time that BIND 10 will wait for the configuration manager (a key component of BIND 10) to initialize itself before abandoning the start up and terminating with an error\&. The
|
||||
\fIwait_time\fR
|
||||
is specified in seconds and has a default value of 10\&.
|
||||
.RE
|
||||
.SH "CONFIGURATION AND COMMANDS"
|
||||
.PP
|
||||
@@ -145,18 +147,6 @@ to manage under
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
|
||||
\fI/Boss/components/setuid\fR
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
|
||||
\fI/Boss/components/b10\-stats\fR
|
||||
.RE
|
||||
.sp
|
||||
@@ -212,11 +202,11 @@ to manage under
|
||||
\fBb10\-sockcreator\fR,
|
||||
\fBb10\-cfgmgr\fR, and
|
||||
\fBb10\-msgq\fR
|
||||
is not configurable\&. It is hardcoded and
|
||||
is not configurable\&. They are hardcoded and
|
||||
\fBbind10\fR
|
||||
will not run without them\&.)
|
||||
.PP
|
||||
These named sets (listed above) contain the following settings:
|
||||
The named sets for components contain the following settings:
|
||||
.PP
|
||||
\fIaddress\fR
|
||||
.RS 4
|
||||
@@ -258,7 +248,7 @@ will use the component name instead\&.
|
||||
.PP
|
||||
\fIspecial\fR
|
||||
.RS 4
|
||||
This defines if the component is started a special way\&.
|
||||
This defines if the component is started a special, hardcoded way\&.
|
||||
.RE
|
||||
.PP
|
||||
The
|
||||
@@ -315,6 +305,12 @@ The date and time that the
|
||||
\fBbind10\fR
|
||||
process started\&. This is represented in ISO 8601 format\&.
|
||||
.RE
|
||||
.SH "FILES"
|
||||
.PP
|
||||
sockcreator\-XXXXXX/sockcreator
|
||||
\(em the Unix Domain socket located in a temporary file directory for
|
||||
\fBb10\-sockcreator\fR
|
||||
communication\&.
|
||||
.SH "SEE ALSO"
|
||||
.PP
|
||||
|
||||
@@ -339,5 +335,5 @@ The
|
||||
daemon was initially designed by Shane Kerr of ISC\&.
|
||||
.SH "COPYRIGHT"
|
||||
.br
|
||||
Copyright \(co 2011 Internet Systems Consortium, Inc. ("ISC")
|
||||
Copyright \(co 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
.br
|
||||
|
@@ -2,7 +2,7 @@
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
||||
[<!ENTITY mdash "—">]>
|
||||
<!--
|
||||
- Copyright (C) 2010-2011 Internet Systems Consortium, Inc. ("ISC")
|
||||
- Copyright (C) 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
-
|
||||
- Permission to use, copy, modify, and/or distribute this software for any
|
||||
- purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -20,7 +20,7 @@
|
||||
<refentry>
|
||||
|
||||
<refentryinfo>
|
||||
<date>November 23, 2011</date>
|
||||
<date>February 28, 2012</date>
|
||||
</refentryinfo>
|
||||
|
||||
<refmeta>
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<docinfo>
|
||||
<copyright>
|
||||
<year>2011</year>
|
||||
<year>2010-2012</year>
|
||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||
</copyright>
|
||||
</docinfo>
|
||||
@@ -97,8 +97,8 @@
|
||||
<listitem>
|
||||
<para>The configuration filename to use. Can be either absolute or
|
||||
relative to data path. In case it is absolute, value of data path is
|
||||
not considered.</para>
|
||||
<para>Defaults to b10-config.db.</para>
|
||||
not considered.
|
||||
Defaults to <filename>b10-config.db</filename>.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -123,9 +123,11 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<para>The path where BIND 10 programs look for various data files.
|
||||
Currently only b10-cfgmgr uses it to locate the configuration file,
|
||||
but the usage might be extended for other programs and other types
|
||||
of files.</para>
|
||||
Currently only
|
||||
<citerefentry><refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
||||
uses it to locate the configuration file, but the usage
|
||||
might be extended for other programs and other types of
|
||||
files.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -155,9 +157,9 @@
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-u</option> <replaceable>user</replaceable>, <option>--user</option> <replaceable>name</replaceable></term>
|
||||
<!-- TODO: example more detail. -->
|
||||
<listitem>
|
||||
<para>The username for <command>bind10</command> to run as.
|
||||
<!-- TODO: example more detail. -->
|
||||
<command>bind10</command> must be initially ran as the
|
||||
root user to use this option.
|
||||
The default is to run as the current user.</para>
|
||||
@@ -169,7 +171,6 @@
|
||||
<listitem>
|
||||
<para>If defined, the PID of the <command>bind10</command> is stored
|
||||
in this file.
|
||||
This is used for testing purposes.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -201,11 +202,12 @@ The default is the basename of ARG 0.
|
||||
<varlistentry>
|
||||
<term><option>-w</option> <replaceable>wait_time</replaceable>, <option>--wait</option> <replaceable>wait_time</replaceable></term>
|
||||
<listitem>
|
||||
<para>Sets the amount of time that BIND 10 will wait for
|
||||
the configuration manager (a key component of BIND 10) to
|
||||
initialize itself before abandoning the start up and
|
||||
terminating with an error. The wait_time is specified in
|
||||
seconds and has a default value of 10.
|
||||
<para>Sets the amount of time that BIND 10 will wait for
|
||||
the configuration manager (a key component of BIND 10)
|
||||
to initialize itself before abandoning the start up and
|
||||
terminating with an error. The
|
||||
<replaceable>wait_time</replaceable> is specified in
|
||||
seconds and has a default value of 10.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -237,10 +239,6 @@ TODO: configuration section
|
||||
<para> <varname>/Boss/components/b10-cmdctl</varname> </para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para> <varname>/Boss/components/setuid</varname> </para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para> <varname>/Boss/components/b10-stats</varname> </para>
|
||||
</listitem>
|
||||
@@ -266,12 +264,12 @@ TODO: configuration section
|
||||
<para>
|
||||
(Note that the startup of <command>b10-sockcreator</command>,
|
||||
<command>b10-cfgmgr</command>, and <command>b10-msgq</command>
|
||||
is not configurable. It is hardcoded and <command>bind10</command>
|
||||
is not configurable. They are hardcoded and <command>bind10</command>
|
||||
will not run without them.)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
These named sets (listed above) contain the following settings:
|
||||
The named sets for components contain the following settings:
|
||||
</para>
|
||||
|
||||
<variablelist>
|
||||
@@ -346,7 +344,7 @@ list
|
||||
<term> <varname>special</varname> </term>
|
||||
<listitem>
|
||||
<para>
|
||||
This defines if the component is started a special
|
||||
This defines if the component is started a special, hardcoded
|
||||
way.
|
||||
<!--
|
||||
TODO: document this ... but maybe some of these will be removed
|
||||
@@ -357,7 +355,6 @@ cfgmgr
|
||||
cmdctl
|
||||
msgq
|
||||
resolver
|
||||
setuid
|
||||
sockcreator
|
||||
xfrin
|
||||
-->
|
||||
@@ -374,6 +371,22 @@ xfrin
|
||||
</para>
|
||||
<!-- TODO: let's just let bind10 be known as bind10 and not Boss -->
|
||||
|
||||
<!-- TODO -->
|
||||
<!--
|
||||
<para>
|
||||
<command>drop_socket</command>
|
||||
This is an internal command and not exposed to the administrator.
|
||||
</para>
|
||||
-->
|
||||
|
||||
<!-- TODO -->
|
||||
<!--
|
||||
<para>
|
||||
<command>get_socket</command>
|
||||
This is an internal command and not exposed to the administrator.
|
||||
</para>
|
||||
-->
|
||||
|
||||
<para>
|
||||
<command>getstats</command> tells <command>bind10</command>
|
||||
to send its statistics data to the <command>b10-stats</command>
|
||||
@@ -438,13 +451,16 @@ xfrin
|
||||
|
||||
</refsect1>
|
||||
|
||||
<!--
|
||||
<refsect1>
|
||||
<title>FILES</title>
|
||||
<para><filename></filename>
|
||||
<para><filename>sockcreator-XXXXXX/sockcreator</filename>
|
||||
—
|
||||
the Unix Domain socket located in a temporary file directory for
|
||||
<command>b10-sockcreator</command>
|
||||
<!-- <citerefentry><refentrytitle>b10-sockcreator</refentrytitle><manvolnum>8</manvolnum></citerefentry> -->
|
||||
communication.
|
||||
</para>
|
||||
</refsect1>
|
||||
-->
|
||||
|
||||
<refsect1>
|
||||
<title>SEE ALSO</title>
|
||||
@@ -476,6 +492,9 @@ xfrin
|
||||
<citetitle>BIND 10 Guide</citetitle>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<!-- <citerefentry>
|
||||
<refentrytitle>b10-sockcreator</refentrytitle><manvolnum>8</manvolnum>
|
||||
</citerefentry>, -->
|
||||
|
||||
<refsect1 id='history'><title>HISTORY</title>
|
||||
<para>The development of <command>bind10</command>
|
||||
|
@@ -892,7 +892,7 @@ class BoB:
|
||||
# the need to find the place ourself or bother users. Also, this
|
||||
# secures the socket on some platforms, as it creates a private
|
||||
# directory.
|
||||
self._tmpdir = tempfile.mkdtemp()
|
||||
self._tmpdir = tempfile.mkdtemp(prefix='sockcreator-')
|
||||
# Get the name
|
||||
self._socket_path = os.path.join(self._tmpdir, "sockcreator")
|
||||
# And bind the socket to the name
|
||||
|
@@ -2,12 +2,12 @@
|
||||
.\" Title: b10-cmdctl
|
||||
.\" Author: [see the "AUTHORS" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: March 9, 2010
|
||||
.\" Date: February 28, 2012
|
||||
.\" Manual: BIND10
|
||||
.\" Source: BIND10
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "B10\-CMDCTL" "8" "March 9, 2010" "BIND10" "BIND10"
|
||||
.TH "B10\-CMDCTL" "8" "February 28, 2012" "BIND10" "BIND10"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -70,6 +70,33 @@ Enable verbose mode\&.
|
||||
.RS 4
|
||||
Display the version number and exit\&.
|
||||
.RE
|
||||
.SH "CONFIGURATION AND COMMANDS"
|
||||
.PP
|
||||
The configurable settings are:
|
||||
.PP
|
||||
|
||||
\fIaccounts_file\fR
|
||||
defines the path to the user accounts database\&. The default is
|
||||
/usr/local/etc/bind10\-devel/cmdctl\-accounts\&.csv\&.
|
||||
.PP
|
||||
|
||||
\fIcert_file\fR
|
||||
defines the path to the PEM certificate file\&. The default is
|
||||
/usr/local/etc/bind10\-devel/cmdctl\-certfile\&.pem\&.
|
||||
.PP
|
||||
|
||||
\fIkey_file\fR
|
||||
defines the path to the PEM private key file\&. The default is
|
||||
/usr/local/etc/bind10\-devel/cmdctl\-keyfile\&.pem\&.
|
||||
.PP
|
||||
The configuration command is:
|
||||
.PP
|
||||
|
||||
\fBshutdown\fR
|
||||
exits
|
||||
\fBb10\-cmdctl\fR\&. This has an optional
|
||||
\fIpid\fR
|
||||
argument to select the process ID to stop\&. (Note that the BIND 10 boss process may restart this service if configured\&.)
|
||||
.SH "FILES"
|
||||
.PP
|
||||
/usr/local/etc/bind10\-devel/cmdctl\-accounts\&.csv
|
||||
@@ -93,5 +120,5 @@ The
|
||||
daemon was initially designed and coded by Zhang Likun of CNNIC\&.
|
||||
.SH "COPYRIGHT"
|
||||
.br
|
||||
Copyright \(co 2010 Internet Systems Consortium, Inc. ("ISC")
|
||||
Copyright \(co 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
.br
|
||||
|
@@ -2,7 +2,7 @@
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
||||
[<!ENTITY mdash "—">]>
|
||||
<!--
|
||||
- Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
|
||||
- Copyright (C) 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
-
|
||||
- Permission to use, copy, modify, and/or distribute this software for any
|
||||
- purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -20,7 +20,7 @@
|
||||
<refentry>
|
||||
|
||||
<refentryinfo>
|
||||
<date>March 9, 2010</date>
|
||||
<date>February 28, 2012</date>
|
||||
</refentryinfo>
|
||||
|
||||
<refmeta>
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
<docinfo>
|
||||
<copyright>
|
||||
<year>2010</year>
|
||||
<year>2010-2012</year>
|
||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||
</copyright>
|
||||
</docinfo>
|
||||
@@ -137,6 +137,50 @@
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>CONFIGURATION AND COMMANDS</title>
|
||||
<para>
|
||||
The configurable settings are:
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<varname>accounts_file</varname> defines the path to the
|
||||
user accounts database.
|
||||
The default is
|
||||
<filename>/usr/local/etc/bind10-devel/cmdctl-accounts.csv</filename>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<varname>cert_file</varname> defines the path to the
|
||||
PEM certificate file.
|
||||
The default is
|
||||
<filename>/usr/local/etc/bind10-devel/cmdctl-certfile.pem</filename>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<varname>key_file</varname> defines the path to the PEM private key
|
||||
file.
|
||||
The default is
|
||||
<filename>/usr/local/etc/bind10-devel/cmdctl-keyfile.pem</filename>.
|
||||
</para>
|
||||
|
||||
<!-- TODO: formating -->
|
||||
<para>
|
||||
The configuration command is:
|
||||
</para>
|
||||
|
||||
<!-- NOTE: print_settings is not documented since I think will be removed -->
|
||||
|
||||
<para>
|
||||
<command>shutdown</command> exits <command>b10-cmdctl</command>.
|
||||
This has an optional <varname>pid</varname> argument to
|
||||
select the process ID to stop.
|
||||
(Note that the BIND 10 boss process may restart this service
|
||||
if configured.)
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>FILES</title>
|
||||
<!-- TODO: replace /usr/local -->
|
||||
|
@@ -2,12 +2,12 @@
|
||||
.\" Title: b10-ddns
|
||||
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: December 9, 2011
|
||||
.\" Date: February 28, 2012
|
||||
.\" Manual: BIND10
|
||||
.\" Source: BIND10
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "B10\-DDNS" "8" "December 9, 2011" "BIND10" "BIND10"
|
||||
.TH "B10\-DDNS" "8" "February 28, 2012" "BIND10" "BIND10"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -81,8 +81,10 @@ The module commands are:
|
||||
.PP
|
||||
|
||||
\fBshutdown\fR
|
||||
Exits
|
||||
\fBb10\-ddns\fR\&. (Note that the BIND 10 boss process will restart this service\&.)
|
||||
exits
|
||||
\fBb10\-ddns\fR\&. This has an optional
|
||||
\fIpid\fR
|
||||
argument to select the process ID to stop\&. (Note that the BIND 10 boss process may restart this service if configured\&.)
|
||||
.SH "SEE ALSO"
|
||||
.PP
|
||||
|
||||
@@ -98,5 +100,5 @@ The
|
||||
daemon was first implemented in December 2011 for the ISC BIND 10 project\&.
|
||||
.SH "COPYRIGHT"
|
||||
.br
|
||||
Copyright \(co 2011 Internet Systems Consortium, Inc. ("ISC")
|
||||
Copyright \(co 2011-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
.br
|
||||
|
@@ -2,7 +2,7 @@
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
||||
[<!ENTITY mdash "—">]>
|
||||
<!--
|
||||
- Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
|
||||
- Copyright (C) 2011-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
-
|
||||
- Permission to use, copy, modify, and/or distribute this software for any
|
||||
- purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -20,7 +20,7 @@
|
||||
<refentry>
|
||||
|
||||
<refentryinfo>
|
||||
<date>December 9, 2011</date>
|
||||
<date>February 28, 2012</date>
|
||||
</refentryinfo>
|
||||
|
||||
<refmeta>
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<docinfo>
|
||||
<copyright>
|
||||
<year>2011</year>
|
||||
<year>2011-2012</year>
|
||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||
</copyright>
|
||||
</docinfo>
|
||||
@@ -122,8 +122,11 @@
|
||||
The module commands are:
|
||||
</para>
|
||||
<para>
|
||||
<command>shutdown</command> Exits <command>b10-ddns</command>.
|
||||
(Note that the BIND 10 boss process will restart this service.)
|
||||
<command>shutdown</command> exits <command>b10-ddns</command>.
|
||||
This has an optional <varname>pid</varname> argument to
|
||||
select the process ID to stop.
|
||||
(Note that the BIND 10 boss process may restart this service
|
||||
if configured.)
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
|
@@ -2,12 +2,12 @@
|
||||
.\" Title: b10-resolver
|
||||
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: December 28, 2011
|
||||
.\" Date: February 28, 2012
|
||||
.\" Manual: BIND10
|
||||
.\" Source: BIND10
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "B10\-RESOLVER" "8" "December 28, 2011" "BIND10" "BIND10"
|
||||
.TH "B10\-RESOLVER" "8" "February 28, 2012" "BIND10" "BIND10"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -118,7 +118,9 @@ The configuration command is:
|
||||
|
||||
\fBshutdown\fR
|
||||
exits
|
||||
\fBb10\-resolver\fR\&. (Note that the BIND 10 boss process will restart this service\&.)
|
||||
\fBb10\-resolver\fR\&. This has an optional
|
||||
\fIpid\fR
|
||||
argument to select the process ID to stop\&. (Note that the BIND 10 boss process may restart this service if configured\&.)
|
||||
.SH "SEE ALSO"
|
||||
.PP
|
||||
|
||||
@@ -134,5 +136,5 @@ The
|
||||
daemon was first coded in September 2010\&. The initial implementation only provided forwarding\&. Iteration was introduced in January 2011\&. Caching was implemented in February 2011\&. Access control was introduced in June 2011\&.
|
||||
.SH "COPYRIGHT"
|
||||
.br
|
||||
Copyright \(co 2010 Internet Systems Consortium, Inc. ("ISC")
|
||||
Copyright \(co 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
.br
|
||||
|
@@ -2,7 +2,7 @@
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
||||
[<!ENTITY mdash "—">]>
|
||||
<!--
|
||||
- Copyright (C) 2010-2011 Internet Systems Consortium, Inc. ("ISC")
|
||||
- Copyright (C) 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
-
|
||||
- Permission to use, copy, modify, and/or distribute this software for any
|
||||
- purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -20,7 +20,7 @@
|
||||
<refentry>
|
||||
|
||||
<refentryinfo>
|
||||
<date>December 28, 2011</date>
|
||||
<date>February 28, 2012</date>
|
||||
</refentryinfo>
|
||||
|
||||
<refmeta>
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<docinfo>
|
||||
<copyright>
|
||||
<year>2010</year>
|
||||
<year>2010-2012</year>
|
||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||
</copyright>
|
||||
</docinfo>
|
||||
@@ -201,7 +201,10 @@ once that is merged you can for instance do 'config add Resolver/forward_address
|
||||
|
||||
<para>
|
||||
<command>shutdown</command> exits <command>b10-resolver</command>.
|
||||
(Note that the BIND 10 boss process will restart this service.)
|
||||
This has an optional <varname>pid</varname> argument to
|
||||
select the process ID to stop.
|
||||
(Note that the BIND 10 boss process may restart this service
|
||||
if configured.)
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
|
@@ -1,22 +1,13 @@
|
||||
'\" t
|
||||
.\" Title: b10-stats-httpd
|
||||
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
|
||||
.\" Date: Mar 8, 2011
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: February 28, 2012
|
||||
.\" Manual: BIND10
|
||||
.\" Source: BIND10
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "B10\-STATS\-HTTPD" "8" "Mar 8, 2011" "BIND10" "BIND10"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.TH "B10\-STATS\-HTTPD" "8" "February 28, 2012" "BIND10" "BIND10"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -110,7 +101,9 @@ with its PID\&.
|
||||
.RS 4
|
||||
exits the
|
||||
\fBb10\-stats\-httpd\fR
|
||||
process\&. (Note that the BIND 10 boss process will restart this service\&.)
|
||||
process\&. This has an optional
|
||||
\fIpid\fR
|
||||
argument to select the process ID to stop\&. (Note that the BIND 10 boss process may restart this service if configured\&.)
|
||||
.RE
|
||||
.SH "SEE ALSO"
|
||||
.PP
|
||||
@@ -125,8 +118,8 @@ BIND 10 Guide\&.
|
||||
.PP
|
||||
|
||||
\fBb10\-stats\-httpd\fR
|
||||
was designed and implemented by Naoki Kambe of JPRS in Mar 2011\&.
|
||||
was designed and implemented by Naoki Kambe of JPRS in March 2011\&.
|
||||
.SH "COPYRIGHT"
|
||||
.br
|
||||
Copyright \(co 2011 Internet Systems Consortium, Inc. ("ISC")
|
||||
Copyright \(co 2011-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
.br
|
||||
|
@@ -2,7 +2,7 @@
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
||||
[<!ENTITY mdash "—">]>
|
||||
<!--
|
||||
- Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
|
||||
- Copyright (C) 2011-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
-
|
||||
- Permission to use, copy, modify, and/or distribute this software for any
|
||||
- purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -20,7 +20,7 @@
|
||||
<refentry>
|
||||
|
||||
<refentryinfo>
|
||||
<date>Mar 8, 2011</date>
|
||||
<date>February 28, 2012</date>
|
||||
</refentryinfo>
|
||||
|
||||
<refmeta>
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<docinfo>
|
||||
<copyright>
|
||||
<year>2011</year>
|
||||
<year>2011-2012</year>
|
||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||
</copyright>
|
||||
</docinfo>
|
||||
@@ -171,9 +171,12 @@
|
||||
<term><command>shutdown</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
exits the <command>b10-stats-httpd</command> process. (Note that
|
||||
the BIND 10 boss process will restart this service.)
|
||||
</para>
|
||||
exits the <command>b10-stats-httpd</command> process.
|
||||
This has an optional <varname>pid</varname> argument to
|
||||
select the process ID to stop.
|
||||
(Note that the BIND 10 boss process may restart this service
|
||||
if configured.)
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -205,7 +208,7 @@
|
||||
<title>HISTORY</title>
|
||||
<para>
|
||||
<command>b10-stats-httpd</command> was designed and implemented by Naoki
|
||||
Kambe of JPRS in Mar 2011.
|
||||
Kambe of JPRS in March 2011.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry><!--
|
||||
|
@@ -2,12 +2,12 @@
|
||||
.\" Title: b10-stats
|
||||
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: August 11, 2011
|
||||
.\" Date: February 28, 2012
|
||||
.\" Manual: BIND10
|
||||
.\" Source: BIND10
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "B10\-STATS" "8" "August 11, 2011" "BIND10" "BIND10"
|
||||
.TH "B10\-STATS" "8" "February 28, 2012" "BIND10" "BIND10"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -79,9 +79,9 @@ will send the statistics data in JSON format\&. By default, it outputs all the s
|
||||
\fBshutdown\fR
|
||||
will shutdown the
|
||||
\fBb10\-stats\fR
|
||||
process\&. (Note that the
|
||||
\fBbind10\fR
|
||||
parent may restart it\&.)
|
||||
process\&. This has an optional
|
||||
\fIpid\fR
|
||||
argument to select the process ID to stop\&. (Note that the BIND 10 boss process may restart this service if configured\&.)
|
||||
.PP
|
||||
|
||||
\fBstatus\fR
|
||||
@@ -150,5 +150,5 @@ The
|
||||
daemon was initially designed and implemented by Naoki Kambe of JPRS in October 2010\&.
|
||||
.SH "COPYRIGHT"
|
||||
.br
|
||||
Copyright \(co 2010 Internet Systems Consortium, Inc. ("ISC")
|
||||
Copyright \(co 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
.br
|
||||
|
@@ -2,7 +2,7 @@
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
||||
[<!ENTITY mdash "—">]>
|
||||
<!--
|
||||
- Copyright (C) 2010,2011 Internet Systems Consortium, Inc. ("ISC")
|
||||
- Copyright (C) 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
-
|
||||
- Permission to use, copy, modify, and/or distribute this software for any
|
||||
- purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -20,7 +20,7 @@
|
||||
<refentry>
|
||||
|
||||
<refentryinfo>
|
||||
<date>August 11, 2011</date>
|
||||
<date>February 28, 2012</date>
|
||||
</refentryinfo>
|
||||
|
||||
<refmeta>
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<docinfo>
|
||||
<copyright>
|
||||
<year>2010</year>
|
||||
<year>2010-2012</year>
|
||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||
</copyright>
|
||||
</docinfo>
|
||||
@@ -129,7 +129,10 @@
|
||||
<para>
|
||||
<command>shutdown</command> will shutdown the
|
||||
<command>b10-stats</command> process.
|
||||
(Note that the <command>bind10</command> parent may restart it.)
|
||||
This has an optional <varname>pid</varname> argument to
|
||||
select the process ID to stop.
|
||||
(Note that the BIND 10 boss process may restart this service
|
||||
if configured.)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@@ -2,12 +2,12 @@
|
||||
.\" Title: b10-xfrout
|
||||
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: December 15, 2011
|
||||
.\" Date: February 28. 2012
|
||||
.\" Manual: BIND10
|
||||
.\" Source: BIND10
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "B10\-XFROUT" "8" "December 15, 2011" "BIND10" "BIND10"
|
||||
.TH "B10\-XFROUT" "8" "February 28\&. 2012" "BIND10" "BIND10"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -70,11 +70,6 @@ The configurable settings are:
|
||||
defines the maximum number of outgoing zone transfers that can run concurrently\&. The default is 10\&.
|
||||
.PP
|
||||
|
||||
\fItsig_key_ring\fR
|
||||
A list of TSIG keys (each of which is in the form of
|
||||
\fIname:base64\-key[:algorithm]\fR) used for access control on transfer requests\&. The default is an empty list\&.
|
||||
.PP
|
||||
|
||||
\fItransfer_acl\fR
|
||||
A list of ACL elements that apply to all transfer requests by default (unless overridden in
|
||||
\fIzone_config\fR)\&. See the
|
||||
@@ -129,7 +124,9 @@ The configuration commands are:
|
||||
|
||||
\fBshutdown\fR
|
||||
stops all outbound zone transfers and exits
|
||||
\fBb10\-xfrout\fR\&. (Note that the BIND 10 boss process will restart this service\&.)
|
||||
\fBb10\-xfrout\fR\&. This has an optional
|
||||
\fIpid\fR
|
||||
argument to select the process ID to stop\&. (Note that the BIND 10 boss process may restart this service if configured\&.)
|
||||
.PP
|
||||
|
||||
\fBzone_new_data_ready\fR
|
||||
@@ -154,5 +151,5 @@ The
|
||||
daemon was first implemented in March 2010 by Zhang Likun of CNNIC for the ISC BIND 10 project\&.
|
||||
.SH "COPYRIGHT"
|
||||
.br
|
||||
Copyright \(co 2010 Internet Systems Consortium, Inc. ("ISC")
|
||||
Copyright \(co 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
.br
|
||||
|
@@ -2,7 +2,7 @@
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
||||
[<!ENTITY mdash "—">]>
|
||||
<!--
|
||||
- Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
|
||||
- Copyright (C) 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
-
|
||||
- Permission to use, copy, modify, and/or distribute this software for any
|
||||
- purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -20,7 +20,7 @@
|
||||
<refentry>
|
||||
|
||||
<refentryinfo>
|
||||
<date>December 15, 2011</date>
|
||||
<date>February 28. 2012</date>
|
||||
</refentryinfo>
|
||||
|
||||
<refmeta>
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<docinfo>
|
||||
<copyright>
|
||||
<year>2010</year>
|
||||
<year>2010-2012</year>
|
||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||
</copyright>
|
||||
</docinfo>
|
||||
@@ -157,10 +157,14 @@
|
||||
<para>
|
||||
The configuration commands are:
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>shutdown</command> stops all outbound zone transfers
|
||||
and exits <command>b10-xfrout</command>. (Note that the BIND 10
|
||||
boss process will restart this service.)
|
||||
and exits <command>b10-xfrout</command>.
|
||||
This has an optional <varname>pid</varname> argument to
|
||||
select the process ID to stop.
|
||||
(Note that the BIND 10 boss process may restart this service
|
||||
if configured.)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@@ -2,12 +2,12 @@
|
||||
.\" Title: b10-zonemgr
|
||||
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: December 8, 2011
|
||||
.\" Date: February 28, 2012
|
||||
.\" Manual: BIND10
|
||||
.\" Source: BIND10
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "B10\-ZONEMGR" "8" "December 8, 2011" "BIND10" "BIND10"
|
||||
.TH "B10\-ZONEMGR" "8" "February 28, 2012" "BIND10" "BIND10"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -98,7 +98,9 @@ This is an internal command and not exposed to the administrator\&.
|
||||
|
||||
\fBshutdown\fR
|
||||
exits
|
||||
\fBb10\-zonemgr\fR\&. (Note that the BIND 10 boss process will restart this service\&.)
|
||||
\fBb10\-zonemgr\fR\&. This has an optional
|
||||
\fIpid\fR
|
||||
argument to select the process ID to stop\&. (Note that the BIND 10 boss process may restart this service if configured\&.)
|
||||
.PP
|
||||
|
||||
\fBzone_new_data_ready\fR
|
||||
@@ -128,5 +130,5 @@ The
|
||||
daemon was designed in July 2010 by CNNIC for the ISC BIND 10 project\&.
|
||||
.SH "COPYRIGHT"
|
||||
.br
|
||||
Copyright \(co 2010-2011 Internet Systems Consortium, Inc. ("ISC")
|
||||
Copyright \(co 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
.br
|
||||
|
@@ -2,7 +2,7 @@
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
||||
[<!ENTITY mdash "—">]>
|
||||
<!--
|
||||
- Copyright (C) 2010-2011 Internet Systems Consortium, Inc. ("ISC")
|
||||
- Copyright (C) 2010-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
-
|
||||
- Permission to use, copy, modify, and/or distribute this software for any
|
||||
- purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -20,7 +20,7 @@
|
||||
<refentry>
|
||||
|
||||
<refentryinfo>
|
||||
<date>December 8, 2011</date>
|
||||
<date>February 28, 2012</date>
|
||||
</refentryinfo>
|
||||
|
||||
<refmeta>
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<docinfo>
|
||||
<copyright>
|
||||
<year>2010-2011</year>
|
||||
<year>2010-2012</year>
|
||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||
</copyright>
|
||||
</docinfo>
|
||||
@@ -186,7 +186,10 @@
|
||||
|
||||
<para>
|
||||
<command>shutdown</command> exits <command>b10-zonemgr</command>.
|
||||
(Note that the BIND 10 boss process will restart this service.)
|
||||
This has an optional <varname>pid</varname> argument to
|
||||
select the process ID to stop.
|
||||
(Note that the BIND 10 boss process may restart this service
|
||||
if configured.)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@@ -111,7 +111,16 @@ recv_fd(const int sock) {
|
||||
// one returned previously, even if that one is not closed yet. So,
|
||||
// we just re-number every one we get, so they are unique.
|
||||
int new_fd(dup(fd));
|
||||
close(fd);
|
||||
int close_error(close(fd));
|
||||
if (close_error == -1 || new_fd == -1) {
|
||||
// We need to return an error, because something failed. But in case
|
||||
// it was the previous close, we at least try to close the duped FD.
|
||||
if (new_fd != -1) {
|
||||
close(new_fd); // If this fails, nothing but returning error can't
|
||||
// be done and we are doing that anyway.
|
||||
}
|
||||
return (FD_SYSTEM_ERROR);
|
||||
}
|
||||
return (new_fd);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user