Ubuntu / Debian: Restart Named Service Command

by on January 27, 2013 · 0 comments· LAST UPDATED April 27, 2013

in ,

How do I restart named (Internet domain name server) from ISC using command line option under Debian or Ubuntu Linux server?

You can use a startup System V init script located in /etc/init.d/ directory. Another option is to use the service command to start / stop / restart named service under Debian or Ubuntu Linux based system. The name of the script is:

Tutorial details
DifficultyEasy (rss)
Root privilegesYes
RequirementsUbuntu/Debian
Estimated completion timeN/A
/etc/init.d/bind9

The name of the service is:

bind9

Examples

Open a terminal and type the following command as as a root users.

Start named service

$ sudo service bind9 start
OR
$ sudo /etc/init.d/bind9 start

Stop named service

$ sudo service bind9 stop
OR
$ sudo /etc/init.d/bind9 stop

Restart named service

$ sudo service bind9 restart
OR
$ sudo /etc/init.d/bind9 restart

See the current status of named service

$ sudo service bind9 status
OR
$ sudo /etc/init.d/bind9 status
Sample session outputs:

Fig.01: Ubuntu Linux: Restart Named Service Command in Action

Fig.01: Ubuntu Linux: Restart Named Service Command in Action

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 0 comments… add one now }

Leave a Comment

Tagged as: , , ,

Previous Faq:

Next Faq: