Penguin
Annotated edit history of ndc(8) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 ----
2 __NAME__
3
4
5 ndc - name daemon control program
6 __SYNOPSIS__
7
8
9 ndc [[-c channel] [[-l localsock] [[-p pidfile] [[-d] [[-q] [[-s]
10 [[-t] [[command]
11 __DESCRIPTION__
12
13
14 This command allows the system administrator to control the
15 operation of a name server. If no command is given, ndc will
16 prompt for commands until it reads EOF.
17
18
19 Options are:
20 -c channel
21
22
23 Specifies the rendezvous point for the controlchannel. The default is /var/run/ndc (a UNIX domain socket which is also the server's default control channel). If the desired control channel is a TCP/IP socket, then the format of the channel argument is __ipaddr/port__ (for example, __127.0.0.1/54__ would be TCP port 54 on the local host.)
24
25
26 -l localsock
27 This option will bind(2) the client side of the
28 control channel to a specific address. Servers can be
29 configured to reject connections which do not come from
30 specific addresses. The format is the same as for channel
31 (see above).
32
33
34 -p pidfile
35 For backward compatibility with older name servers, ndc is
36 able to use UNIX signals for con- trol communications. This
37 capability is optional in modern name servers and will
38 disappear alto- gether at some future time. Note that the
39 avail- able command set is narrower when the signal
40 interface is used. A likely pidfile argument would be
41 something like /var/run/named.pid.
42
43
44 -d
45 Turns on debugging output, which is of interest mainly to
46 developers.
47
48
49 -q
50 Suppresses prompts and result text.
51
52
53 -s
54 Suppresses nonfatal error announcements.
55
56
57 -t
58 Turns on protocol and system tracing, useful in installation
59 debugging.
60
61
62 __COMMANDS__
63
64
65 Several commands are built into ndc, but the full set of
66 commands supported by the name server is dynamic and should
67 be discovered using the help command (see below). Builtin
68 commands are:
69 /help Provides help for builtin commands.
70
71
72 /exitExit from ndc command interpreter./traceToggle tracing (see -t description above)./debugToggle debugging (see -d description above)./quietToggle quietude (see -q description above)./silentToggle silence (see -s description above).__NOTES__
73
74
75 If running in pidfile mode, any arguments to start and
76 restart commands are passed to the new named on its command
77 line. If running in channel mode, there is no start command
78 and the restart command just tells the name server to
79 execvp(3) itself.
80 __AUTHOR__
81
82
83 Paul Vixie (Internet Software Consortium)
84 __SEE ALSO__
85
86
87 named(8),
88
89
2 perry 90 4th Berkeley !DistributionDecember 31, 1998 1
1 perry 91 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.