Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

how to start or restart your dnsserver from shell.

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
mach
Posts: 77
Joined: Tue Oct 27, 2015 6:34 pm

how to start or restart your dnsserver from shell.
  • Quote

Post by mach » Thu Nov 26, 2015 8:01 pm

BIND is by far the most widely used DNS software on the Internet. Use the following commands as per your Linux distro: first login as root from the shell than use this commands

[a] service service-name command.

/etc/init.d/service-name script command.

[c] rndc command - Name server control utility.
CentOS / RHEL / Fedora Linux

Type the following command to start BIND server:
# service named start

Type the following command to stop BIND server:
# service named stop

Type the following command to restart BIND server:
# service named restart

Type the following command to reload BIND server to reload zone file or config file changes:
# service named reload

Type the following command to see the current status of BIND server:
# service named status

You can also use the following syntax too:


/etc/init.d/named start
/etc/init.d/named stop
/etc/init.d/named restart


Debian / Ubuntu Linux

Type the following command to start BIND server:
# service bind9 start

Type the following command to stop BIND server:
# service bind9 stop

Type the following command to restart BIND server:
# service bind9 restart

Type the following command to reload BIND server to reload zone file or config file changes:
# service bind9 reload

Type the following command to see the current status of BIND server:
# service bind9 status
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password