Página 1 de 5 12345 ÚltimoÚltimo
+ Responder ao Tópico



  1. #1
    Mandrake
    Pessoal estou precisando de um help!

    Estou tentando configurar o Bind(named) para rodar um servidor de DNS aqui na empresa e não está funcionando.. eu quero configura-lo para ser só um DNS interno para resolver a minha intranet.

    O esquema é o seguinte.. crie os arquivos db.meudominio, db.192.168.0 , db.127.0.0 e o db.cache.
    Eu não consigo faze ele funcionar.. configurei o named.conf no esquema de um tutorial aqui do site..
    Alguém pode me ajudar, alguém tem um tutorial bom ou pode dar umas dicas!!!

    VAleu!!

  2. #2
    Mandrake
    Ninguém vai me AJUDAR???/ <IMG SRC="images/forum/icons/icon27.gif">



  3. #3
    Mr_Mind
    pasta aqui o teu named.conf e os respectivos ficheiros d zona e um ps ax do named a correr. ah e um pouco do /var/log/messages referente ao named.

  4. #4
    Mandrake
    db.prolnt

    $TTL 3H

    @ IN SOA intranet.prolnt. root.cesar.intranet.prolnt. (

    1 ; Serial

    3h ; Refresh

    15 ; Retry

    1w ;Expire

    12h ; Minimun

    )

    @ IN NS cesar.intranet.prolnt.

    cesar.intranet.prolnt. IN A 192.168.0.17
    bollo.intranet.prolnt. IN A 192.168.0.16
    relatorio.intranet.prolnt IN A 192.168.0.251


    db.192.168.0

    $TTL 3h

    @ IN SOA cesar.intranet.prolnt. root.cesar.intranet.prolnt. (

    14 ; Seria

    3600 ; Refresh

    3600000 ; Expire

    3600 ) ; Minimum

    @ IN NS cesar.intranet.prolnt.

    1 IN PTR cesar.intranet.prolnt.

    2 IN PTR bollo.intranet.prolnt.

    3 IN PTR relatorio.intranet.prolnt.


    db.127.0.0

    $TTL 3h

    @ IN SOA cesar.intranet.prolnt. root.cesar.prolnt. (

    14 ; Serial

    3600 ; Refresh

    900 ; Retry

    3600000 ; Expire

    3600 ) ; Minimum

    @ IN NS cesar.intranet.prolnt.

    1 IN PTR localhost.


    named.conf

    options {
    directory "/var/named";
    /*
    * If there is a firewall between you and nameservers you want
    * to talk to, you might need to uncomment the query-source
    * directive below. Previous versions of BIND always asked
    * questions using port 53, but BIND 8.1 uses an unprivileged
    * port by default.
    */
    // query-source address * port 53;
    };

    zone "intranet.prolnt" IN {
    type master;
    file "db.prolnt";
    };


    zone "0.168.192.in-addr.arpa" IN {
    type master;
    file "db.192.168.0";

    };

    zone "0.0.127.in-addr.arpa" IN {
    type master;
    file "db.127.0.0";

    };

    //
    // a caching only nameserver config
    //
    zone "." IN {
    type hint;
    file "db.cache";
    };

    #zone "localhost" IN {
    # type master;
    # file "caching-example/localhost.zone";
    # allow-update { none; };
    #};

    #zone "0.0.127.in-addr.arpa" IN {
    # type master;
    # file "caching-example/named.local";
    # allow-update { none; };
    #};


    /var/log/messages
    Oct 22 11:38:29 cesar named[10377]: starting BIND 9.2.3rc4
    Oct 22 11:38:29 cesar named[10377]: using 1 CPU
    Oct 22 11:38:29 cesar named[10377]: loading configuration from &acute;/etc/named.conf&acute;
    Oct 22 11:38:29 cesar named[10377]: no IPv6 interfaces found
    Oct 22 11:38:29 cesar named[10377]: listening on IPv4 interface lo, 127.0.0.1#53
    Oct 22 11:38:29 cesar named[10377]: listening on IPv4 interface eth0, 192.168.0.17#53
    Oct 22 11:38:29 cesar named[10377]: couldn&acute;t add command channel 127.0.0.1#953: address in use
    Oct 22 11:38:29 cesar named[10377]: zone 0.0.127.in-addr.arpa/IN: loaded serial 14
    Oct 22 11:38:29 cesar named[10377]: zone intranet.prolnt/IN: loaded serial 1
    Oct 22 11:38:29 cesar named[10377]: running
    Oct 22 11:38:29 cesar named[10377]: zone intranet.prolnt/IN: sending notifies (serial 1)
    Oct 22 11:38:29 cesar named[10377]: received notify for zone &acute;intranet.prolnt&acute;


    ps ax

    365 ? S 0:00 /bin/bash /sbin/monesa
    10366 ? S 0:00 /bin/sleep 900
    10370 ? Z 0:00 [play] <defunct>
    10377 ? S 0:00 named
    10396 ? S 0:02 /usr/libexec/nautilus-text-view --oaf-activate-iid=OA10397 ? S 0:00 /usr/libexec/nautilus-text-view --oaf-activate-iid=OA10398 ? S 0:00 /usr/libexec/nautilus-text-view --oaf-activate-iid=OA10399 ? S 0:00 /usr/libexec/nautilus-text-view --oaf-activate-iid=OA10402 pts/1 S 0:00 bash
    10403 pts/1 R 0:00 ps ax
    bash-2.05b#


    Se isso ajudar a me ajudar!!

    Obrigado




  5. #5
    Mandrake
    db.prolnt

    $TTL 3H

    @ IN SOA intranet.prolnt. root.cesar.intranet.prolnt. (

    1 ; Serial

    3h ; Refresh

    15 ; Retry

    1w ;Expire

    12h ; Minimun

    )

    @ IN NS cesar.intranet.prolnt.

    cesar.intranet.prolnt. IN A 192.168.0.17
    bollo.intranet.prolnt. IN A 192.168.0.16
    relatorio.intranet.prolnt IN A 192.168.0.251


    db.192.168.0

    $TTL 3h

    @ IN SOA cesar.intranet.prolnt. root.cesar.intranet.prolnt. (

    14 ; Seria

    3600 ; Refresh

    3600000 ; Expire

    3600 ) ; Minimum

    @ IN NS cesar.intranet.prolnt.

    1 IN PTR cesar.intranet.prolnt.

    2 IN PTR bollo.intranet.prolnt.

    3 IN PTR relatorio.intranet.prolnt.


    db.127.0.0

    $TTL 3h

    @ IN SOA cesar.intranet.prolnt. root.cesar.prolnt. (

    14 ; Serial

    3600 ; Refresh

    900 ; Retry

    3600000 ; Expire

    3600 ) ; Minimum

    @ IN NS cesar.intranet.prolnt.

    1 IN PTR localhost.


    named.conf

    options {
    directory "/var/named";
    /*
    * If there is a firewall between you and nameservers you want
    * to talk to, you might need to uncomment the query-source
    * directive below. Previous versions of BIND always asked
    * questions using port 53, but BIND 8.1 uses an unprivileged
    * port by default.
    */
    // query-source address * port 53;
    };

    zone "intranet.prolnt" IN {
    type master;
    file "db.prolnt";
    };


    zone "0.168.192.in-addr.arpa" IN {
    type master;
    file "db.192.168.0";

    };

    zone "0.0.127.in-addr.arpa" IN {
    type master;
    file "db.127.0.0";

    };

    //
    // a caching only nameserver config
    //
    zone "." IN {
    type hint;
    file "db.cache";
    };

    #zone "localhost" IN {
    # type master;
    # file "caching-example/localhost.zone";
    # allow-update { none; };
    #};

    #zone "0.0.127.in-addr.arpa" IN {
    # type master;
    # file "caching-example/named.local";
    # allow-update { none; };
    #};


    /var/log/messages
    Oct 22 11:38:29 cesar named[10377]: starting BIND 9.2.3rc4
    Oct 22 11:38:29 cesar named[10377]: using 1 CPU
    Oct 22 11:38:29 cesar named[10377]: loading configuration from &acute;/etc/named.conf&acute;
    Oct 22 11:38:29 cesar named[10377]: no IPv6 interfaces found
    Oct 22 11:38:29 cesar named[10377]: listening on IPv4 interface lo, 127.0.0.1#53
    Oct 22 11:38:29 cesar named[10377]: listening on IPv4 interface eth0, 192.168.0.17#53
    Oct 22 11:38:29 cesar named[10377]: couldn&acute;t add command channel 127.0.0.1#953: address in use
    Oct 22 11:38:29 cesar named[10377]: zone 0.0.127.in-addr.arpa/IN: loaded serial 14
    Oct 22 11:38:29 cesar named[10377]: zone intranet.prolnt/IN: loaded serial 1
    Oct 22 11:38:29 cesar named[10377]: running
    Oct 22 11:38:29 cesar named[10377]: zone intranet.prolnt/IN: sending notifies (serial 1)
    Oct 22 11:38:29 cesar named[10377]: received notify for zone &acute;intranet.prolnt&acute;


    ps ax

    365 ? S 0:00 /bin/bash /sbin/monesa
    10366 ? S 0:00 /bin/sleep 900
    10370 ? Z 0:00 [play] <defunct>
    10377 ? S 0:00 named
    10396 ? S 0:02 /usr/libexec/nautilus-text-view --oaf-activate-iid=OA10397 ? S 0:00 /usr/libexec/nautilus-text-view --oaf-activate-iid=OA10398 ? S 0:00 /usr/libexec/nautilus-text-view --oaf-activate-iid=OA10399 ? S 0:00 /usr/libexec/nautilus-text-view --oaf-activate-iid=OA10402 pts/1 S 0:00 bash
    10403 pts/1 R 0:00 ps ax
    bash-2.05b#


    Se isso ajudar a me ajudar!!

    Obrigado







Tópicos Similares

  1. Configurar DNS no Conectiva 10
    Por elianisch no fórum Servidores de Rede
    Respostas: 2
    Último Post: 12-10-2005, 16:01
  2. como configurar dns no mandrake 10
    Por EmersonFreitas no fórum Servidores de Rede
    Respostas: 1
    Último Post: 07-07-2004, 15:54
  3. Configurar DNS para uma intranet no Fedora core 1
    Por rlf_801 no fórum Servidores de Rede
    Respostas: 1
    Último Post: 21-03-2004, 13:07
  4. Configurar DNS slackware 9
    Por c4f0f0 no fórum Servidores de Rede
    Respostas: 1
    Último Post: 03-06-2003, 08:49
  5. Configurar DNS pelo linuxconf
    Por no fórum Servidores de Rede
    Respostas: 3
    Último Post: 02-12-2002, 00:56

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L