summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-06-14 04:28:45 +0000
committerdd <dd@FreeBSD.org>2001-06-14 04:28:45 +0000
commit3bfa3d758ca921affa4c83b425077a49b2b2c30e (patch)
tree3b1c24b7678d1141f6cafb862948e7466fccca94 /usr.sbin
parente0f60f375647590faadab1692e0101a6ad3419cb (diff)
downloadFreeBSD-src-3bfa3d758ca921affa4c83b425077a49b2b2c30e.zip
FreeBSD-src-3bfa3d758ca921affa4c83b425077a49b2b2c30e.tar.gz
This program uses ndc(8); it doesn't send a signal itself.
PR: 28104 Submitted by: Maxim Konovalov <maxim@macomnet.ru>
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/named.reload/named.reload.816
-rw-r--r--usr.sbin/named.restart/named.restart.815
2 files changed, 11 insertions, 20 deletions
diff --git a/usr.sbin/named.reload/named.reload.8 b/usr.sbin/named.reload/named.reload.8
index 9db12db..9fc95a2 100644
--- a/usr.sbin/named.reload/named.reload.8
+++ b/usr.sbin/named.reload/named.reload.8
@@ -61,16 +61,10 @@
.Nm @INDOT@named.reload
.Nd "cause the name server to synchronize its database"
.Sh DESCRIPTION
-This command sends a
-.Dv SIGHUP
-to the running name server.
-This
-signal is documented in
-.Xr named @SYS_OPS_EXT@ .
-.Sh BUGS
-Does not check to see if the name server is actually running, and could
-use a stale PID cache file which may result in the death of an unrelated
-process.
+This command runs
+.Xr ndc @SYS_OPS_EXT@
+which reloads the running name server.
.Sh SEE ALSO
.Xr @INDOT@named @SYS_OPS_EXT@ ,
-.Xr @INDOT@named.restart @SYS_OPS_EXT@
+.Xr @INDOT@named.restart @SYS_OPS_EXT@ ,
+.Xr @INDOT@ndc @SYS_OPS_EXT@
diff --git a/usr.sbin/named.restart/named.restart.8 b/usr.sbin/named.restart/named.restart.8
index 7b89d93..efbddb7 100644
--- a/usr.sbin/named.restart/named.restart.8
+++ b/usr.sbin/named.restart/named.restart.8
@@ -61,20 +61,17 @@
.Nm @INDOT@named.restart
.Nd "stop and restart the name server"
.Sh DESCRIPTION
-This command sends a
-.Dv SIGKILL
-to the running name server and then
-starts a new one with the command line options specified in
+This command runs
+.Xr ndc @SYS_OPS_EXT@
+which restarts the running name server with the command line options
+specified in
.Xr rc.conf 5 .
.Sh BUGS
-Does not check to see if the name server is actually running, and could
-use a stale PID cache file which may result in the death of an unrelated
-process.
-.Pp
Does not wait after killing the old server before starting a new one; since
the server could take some time to die and the new one will experience a
fatal error if the old one isn't gone by the time it starts, you can be left
in a situation where you have no name server at all.
.Sh SEE ALSO
.Xr @INDOT@named @SYS_OPS_EXT@ ,
-.Xr @INDOT@named.reload @SYS_OPS_EXT@
+.Xr @INDOT@named.reload @SYS_OPS_EXT@ ,
+.Xr @INDOT@ndc @SYS_OPS_EXT@
OpenPOWER on IntegriCloud