1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
NDC(8) FreeBSD System Manager's Manual NDC(8)
NNAAMMEE
nnddcc -- name daemon control program
SSYYNNOOPPSSIISS
nnddcc [--cc _c_h_a_n_n_e_l] [--ll _l_o_c_a_l_s_o_c_k] [--pp _p_i_d_f_i_l_e] [--dd] [--qq] [--ss] [--tt]
[_c_o_m_m_a_n_d]
DDEESSCCRRIIPPTTIIOONN
This command allows the system administrator to control the operation of
a name server. If no _c_o_m_m_a_n_d is given, nnddcc will prompt for commands
until it reads EOF.
Options are:
--cc _c_h_a_n_n_e_l Specifies the rendezvous point for the control channel. The
default is _/_v_a_r_/_r_u_n_/_n_d_c (a UNIX domain socket which is also
the server's default control channel). If the desired con-
trol channel is a TCP/IP socket, then the format of the
_c_h_a_n_n_e_l argument is iippaaddddrr//ppoorrtt (for example, 112277..00..00..11//5544
would be TCP port 54 on the local host.)
--ll _l_o_c_a_l_s_o_c_k
This option will bind(2) the client side of the control chan-
nel to a specific address. Servers can be configured to
reject connections which do not come from specific addresses.
The format is the same as for _c_h_a_n_n_e_l (see above).
--pp _p_i_d_f_i_l_e For backward compatibility with older name servers, nnddcc is
able to use UNIX signals for control communications. This
capability is optional in modern name servers and will disap-
pear altogether at some future time. Note that the available
_c_o_m_m_a_n_d set is narrower when the signal interface is used. A
likely _p_i_d_f_i_l_e argument would be something like
_/_v_a_r_/_r_u_n_/_n_a_m_e_d_._p_i_d.
--dd Turns on debugging output, which is of interest mainly to
developers.
--qq Suppresses prompts and result text.
--ss Suppresses nonfatal error announcements.
--tt Turns on protocol and system tracing, useful in installation
debugging.
CCOOMMMMAANNDDSS
Several commands are built into nnddcc, but the full set of commands sup-
ported by the name server is dynamic and should be discovered using the
_h_e_l_p command (see below). Builtin commands are:
_/_h_e_l_p Provides help for builtin commands.
_/_e_x_i_t Exit from nnddcc command interpreter.
_/_t_r_a_c_e Toggle tracing (see --tt description above).
_/_d_e_b_u_g Toggle debugging (see --dd description above).
_/_q_u_i_e_t Toggle quietude (see --qq description above).
_/_s_i_l_e_n_t Toggle silence (see --ss description above).
NNOOTTEESS
If running in _p_i_d_f_i_l_e mode, any arguments to _s_t_a_r_t and _r_e_s_t_a_r_t commands
are passed to the new nnaammeedd on its command line. If running in _c_h_a_n_n_e_l
mode, there is no _s_t_a_r_t command and the _r_e_s_t_a_r_t command just tells the
name server to execvp(3) itself.
AAUUTTHHOORR
Paul Vixie (Internet Software Consortium)
SSEEEE AALLSSOO
named(8),
4th Berkeley Distribution December 31, 1998 4th Berkeley Distribution
|