Results 1 to 8 of 8

Thread: Start/Stop/Restart DNS bind

  1. #1
    Jenny is offline Forum Member
    Join Date
    May 2007
    Posts
    9

    Default 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. #2
    WelshTom is offline Forum Member
    Join Date
    May 2007
    Location
    Newport, Wales
    Posts
    998

    Default

    /* Topic Moved */

  3. #3
    rich's Avatar
    rich is offline Moderator
    Join Date
    Sep 2006
    Posts
    216

    Default

    Good one there Jenny, keep those tutorials coming.

  4. #4
    WelshTom is offline Forum Member
    Join Date
    May 2007
    Location
    Newport, Wales
    Posts
    998

    Default

    Another easier way is to run this:

    service named stop/start/restart

  5. #5
    pokrov is offline Forum Member
    Join Date
    Oct 2010
    Posts
    2

    Default Dns

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

    How to start it?

    thank you

  6. #6
    Rock's Avatar
    Rock is offline Technical Support (eUKhost.com)
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,777

    Smile

    Quote 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
    eUK Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

  7. #7
    pokrov is offline Forum Member
    Join Date
    Oct 2010
    Posts
    2

    Default

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

  8. #8
    Rock's Avatar
    Rock is offline Technical Support (eUKhost.com)
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,777

    Smile

    Quote 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
    eUK Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About eUKhost
We're a Leeds-based web hosting provider specialising in Linux- and Windows-based hosting solutions now serving over 35,000 customers worldwide. Across our network, we host over 2 million websites in our state-of-the-art data centres in Reading, Maidenhead and Milton Keynes. Find out more.
we're social

Copyright © 2014. eUKhost Ltd. All rights are reserved.

The opinions or views of users on the forum are those of the author and not of eUKhost Ltd.