Linux: Start / Stop / Restart DNS Server

You can start/stop/restart DNS service (named) via SSH using following commands on CentOS / RHEL / Fedora Linux:

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.

Kailash Aghera

Posted in Web Hosting Control Panels and tagged , , , , , , .

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.