+ Responder ao Tópico



  1. #1
    Diorge
    Visitante

    Padrão Como iniciar o named no slackware 8.1 ?

    Tô usando como referência o artigo COMO FAZER DNS
    Nicolai Langfeldt [email protected]
    Traduzido e Revisado por Conectiva Informática,
    [email protected], no dia 30 de Março de 1999.
    v2.1.1, 12 de novembro de 1998

    De início tô tendo problema para iniciar o named.
    O documento pede para tentar o ndc start , mas o slackware diz ndc comand not found.
    O documento também diz que em caso de falha posso tentar no diretório /usr/sbin/ndc start , e também o slackware informou ndc comand not found. Há dentro do doretório /usr/sbin não há um arquivo ou diretório chamado ndc , há um arquivo chamado rndc que faz referência à alguns comandos para o named , mas não funcionou.

    Alguém me ajuda a dar esse ponta pé inicial ?

    Obrigado ,

    Papa

  2. #2
    ecbr
    Visitante

    Padrão Como iniciar o named no slackware 8.1 ?

    tente

    named -u named
    e veja o que da....
    <IMG SRC="images/forum/icons/icon_wink.gif"> <IMG SRC="images/forum/icons/icon_wink.gif">

  3. #3
    Allisson
    Visitante

    Padrão Como iniciar o named no slackware 8.1 ?

    Para colocar seu named pra inciar junto com o sistema edite o arquivo /etc/rc.d/rc.inet2
    Você vai encontrar as seguintes linhas relacionadas ao named

    # # Start the BIND name server daemon:
    #
    # # Option number one: Start the NAMED/BIND name server as root.
    # # Note that BIND has a somewhat spotty history in terms of security,
    # # but they recommend running it as root, and if you don&acute;t, not all
    # # the features (especially when attached to a dynamic IP such as
    # # through PPP) will neccessary work correctly).
    # if [ -x /usr/sbin/named ]; then
    # echo "Starting BIND: /usr/sbin/named"
    # /usr/sbin/named
    # fi
    # # Done starting the BIND server using option #1.
    #
    # # Start the BIND name server daemon:
    # # Option number two: Start the NAMED/BIND name server as user daemon.
    # # This is another way to start BIND for the more paranoid. By starting it as
    # # user daemon, if there does turn out to be a vulnerability, the attacker can
    # # at best gain user deamon access to your machine, which is a considerably
    # # better situation than if they gain root access. Note that for this option
    # # to work at all, you&acute;ll need to change the ownership of the directory
    # # /var/named to daemon like this: chown -R daemon /var/named
    # # If you don&acute;t have this directory, you&acute;ll have to make it first.
    # # It may also be necessary to do this: chown -R daemon /var/run/named
    # # Also, for the *really* paranoid, you can read this document for
    # # instructions on running BIND in a "chroot jail":
    # # /usr/doc/Linux-HOWTOs/Chroot-BIND-HOWTO
    # if [ -x /usr/sbin/named ]; then
    # echo "Starting BIND: /usr/sbin/named -u daemon"
    # /usr/sbin/named -u daemon
    # fi
    # # Done starting the BIND server using option #2.

    Ou seja ele dá duas opções para você iniciar o named, eu recomendo a segunda pois utiliza um usuario normal ao inves do root. Basta você descomentar as linhas (tirar o # do começo da linha) que começam com o if e terminam com o fi e pronto agora é so editar o /etc/named.conf.