Powered by eUKhost®

Announcement

Collapse
No announcement yet.

Start/Stop/Restart DNS bind

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Start/Stop/Restart DNS bind

    How do I start/stop/restart DNS bind?
    =>

    Linux:

    starting: /etc/rc.d/init.d/named start
    stopping: /etc/rc.d/init.d/named stop
    restarting: /etc/rc.d/init.d/named restart

    FreeBSD:

    For Bind 9.3 and up:

    starting: /usr/local/etc/rc.d/named.sh start
    stopping: /usr/local/etc/rc.d/named.sh stop
    restarting: /usr/local/etc/rc.d/named.sh restart

    For Bind 8.x:

    starting: /usr/sbin/named -u named
    stopping: /usr/sbin/ndc stop -u named
    restarting: /usr/sbin/ndc restart -u named

    Warning:

    1]Without "-u named", the command will run under root.
    2]Don't use kill -9 to stop named, as it may cause information loss!!!



  • #2
    /* Topic Moved */

    Comment


    • #3
      Good one there Jenny, keep those tutorials coming.

      Comment


      • #4
        Another easier way is to run this:

        service named stop/start/restart

        Comment


        • #5
          Dns

          what to do in case if DNS is failed to start?

          How to start it?

          thank you

          Comment


          • #6
            Originally posted by pokrov View Post
            what to do in case if DNS is failed to start?

            How to start it?

            thank you
            Hi,

            If the DNS service fails to start, you need to check the logs (tail -f /var/log/messages) for the exact reason for it to do so & get it sorted.

            Once done, you can get it started using the steps mentioned above.. let know if you need any more information
            Rock _a.k.a._ Jack Daniel

            Follow eUKhost on Twitter || Join eUKhost Community on Facebook

            Comment


            • #7
              I ran the command but it only gave out ab information about the installed softwares,but no other reasons

              Comment


              • #8
                Originally posted by pokrov View Post
                I ran the command but it only gave out ab information about the installed softwares,but no other reasons
                Run that command in a different console, while restarting the DNS service in another one

                Or do PM me with your server details & I'll get that sorted out..
                Rock _a.k.a._ Jack Daniel

                Follow eUKhost on Twitter || Join eUKhost Community on Facebook

                Comment

                ban-img
                Working...
                X