Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Adam on July 20, 2003, 04:43:56 AM
-
Hi all,
I seem to have a problem with dns when our Gateway machine (not an e-emith) goes down for a period of time. Names can't resolve.
Is it possible to restart the dns side of things without re-booting ?
cheers,
Adam
-
Adam wrote:
> Is it possible to restart the dns side of things without
> re-booting ?
killall named
Charlie
-
Thanks Charlie,
does the killall named do the same as:
etc/init.d/named restart
I found that "etc/init.d/named restart" seems to restart ok - well at least that's what it says . The killall named command happens very quickly and doesn't tell me if the service was restarted so I wasn't 100% if it was working.
cheers,
Adam
-
do a "ps aux | grep named" bevore killall and after.
so you can see, if it is running again.
cheers klaus
-
Adam wrote:
> does the killall named do the same as:
>
> etc/init.d/named restart
No
> I found that "etc/init.d/named restart" seems to restart ok
> - well at least that's what it says .
Appearance can be deceiving.
> The killall named
> command happens very quickly and doesn't tell me if the
> service was restarted so I wasn't 100% if it was working.
The service will be automatically restarted by the init process.
Charlie