command to restart DNS service

April 2, 2007 · Filed Under Web Hosting Control Panels · Comment 

Hi,

You can start/stop/restart DNS service (named) via SSH using following commands:

To start DNS service (named) via SSH:
/etc/init.d/named start

To stop DNS service (named) via SSH:
/etc/init.d/named stop

To restart DNS service (named) via SSH:
/etc/init.d/named restart

To check current status:
/etc/init.d/named status

Please note, you will need root access of the server to restart DNS/named service.

Untitled Document