+ Responder ao Tópico



  1. #1
    alexandresamorim
    Visitante

    Padrão DNS respoder por varios domonios.

    Boa tarde estou querendo montar um servidor com 10 dominios. No apache estatudo configurado, o que esta pegando e o dns responder pelos dominios..
    Alguem pode me indicar um artigo para ler ou me ajudar a configurar o Bind.


    Estou usando o slackware 10.1 com instalação-Full


    Obrigado
    Alexandre Amorim

  2. #2

    Padrão DNS respoder por varios domonios.

    aque neste link tem varios artigos sobre como configurar o bind...

    https://under-linux.org/artigos62.html

    o lance d varios dominios... eh bem simples...

    vc faz o mesmo q fez pra configurar um dominio... soh repetindo os passos e trocando as informacoes principais pelas do dominio q vc estah configurando no momento...

    qq duvida, postae

    []'s

  3. #3

    Padrão DNS Varios dominios

    Cara, esse link q ta aih acima é otimo!
    Mas se precisar de ajuda! Pode chamar no MSN!
    Free mesmo!

    rospyn

  4. #4
    alexandresamorim
    Visitante

    Padrão DNS respoder por varios domonios.

    galera muito obrigado pela ajuda!!! acho que com esse time não tem como dar errado muito obrigado e rospyn valeu pela atenção dobrada...


    Grato a todos..

    Alexandre Amorim..

  5. #5
    Mr_Mind
    Visitante

    Padrão DNS respoder por varios domonios.

    tudo bem que já tenhas resolvido o teu problema...
    mas dá uma olhada no djbdns e no sql2tinydns

  6. #6
    alexandresamorim
    Visitante

    Padrão DNS respoder por varios domonios.

    Galera! não esta pingando meu dominio criado ele inicia certo olha de uma olhada em meu log;


    May 20 08:11:39 intralinux named[1991]: no IPv6 interfaces found
    May 20 08:11:39 intralinux named[1991]: listening on IPv4 interface lo, 127.0.0. 1#53
    May 20 08:11:39 intralinux named[1991]: listening on IPv4 interface eth0, 192.16 8.0.117#53
    May 20 08:11:39 intralinux named[1991]: command channel listening on 127.0.0.1#9 53
    May 20 08:11:39 intralinux named[1991]: zone 0.0.127.in-addr.arpa/IN: loaded ser ial 1997022700
    May 20 08:11:39 intralinux named[1991]: zone slacks.int.br/IN: loaded serial 200 4101901
    May 20 08:11:39 intralinux named[1991]: zone localhost/IN: loaded serial 42
    May 20 08:11:39 intralinux named[1991]: running
    May 20 08:11:39 intralinux named[1991]: zone slacks.int.br/IN: sending notifies (serial 2004101901)
    May 20 08:11:39 intralinux named[1991]: client 192.168.0.117#1035: received noti fy for zone 'slacks.int.br'
    O Que mais tenho que fazer além do artigo abaixo

    http://www.slackware-brasil.com.br/w...to.php?aid=150

    Me ajudem!!!
    Obrigado
    Alexandre Amorim

  7. #7
    robsonzornitta
    Visitante

    Padrão kr!!!

    com certeza um dos teus arquivos que tu criou tah faltandu alguma coisa!!!!

    posta ai os teus arquivos pra gente dar uma olhada!!!!

  8. #8
    alexandresamorim
    Visitante

    Padrão DNS respoder por varios domonios.

    oK VAI AI
    1º. /etc/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;
    };

    //
    // a caching only nameserver config
    //
    zone "." IN {
    type hint;
    file "caching-example/named.ca";
    };

    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; };
    };

    zone "0.0.168.192.in-addr.arpa" IN {
    type master;
    file "caching-example/domain.rev";
    allow-transfer { 192.168.0.117; };
    };

    zone "slacks.int.br" IN {
    type master;
    file "caching-example/slacks.host";
    allow-update { none; };
    };

    2º. /var/named/example/named.ca

    ; This file holds the information on root name servers needed to
    ; initialize cache of Internet domain name servers
    ; (e.g. reference this file in the "cache . <file>"
    ; configuration file of BIND domain name servers).
    ;
    ; This file is made available by InterNIC
    ; under anonymous FTP as
    ; file /domain/named.root
    ; on server FTP.INTERNIC.NET
    ; -OR- RS.INTERNIC.NET
    ;
    ; last update: Jan 29, 2004
    ; related version of root zone: 2004012900
    ;
    ;
    ; formerly NS.INTERNIC.NET
    ;
    . 3600000 IN NS A.ROOT-SERVERS.NET.
    A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
    ;
    ; formerly NS1.ISI.EDU
    ;
    . 3600000 NS B.ROOT-SERVERS.NET.
    B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201
    ;
    ; formerly C.PSI.NET
    ;
    . 3600000 NS C.ROOT-SERVERS.NET.
    C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
    ;
    ; formerly TERP.UMD.EDU
    ;
    . 3600000 NS D.ROOT-SERVERS.NET.
    ; formerly NS.NASA.GOV
    ;
    . 3600000 NS E.ROOT-SERVERS.NET.
    E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
    ;
    ; formerly NS.ISC.ORG
    ;
    . 3600000 NS F.ROOT-SERVERS.NET.
    F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
    ;
    ; formerly NS.NIC.DDN.MIL
    ;
    . 3600000 NS G.ROOT-SERVERS.NET.
    G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
    ;
    ; formerly AOS.ARL.ARMY.MIL
    ;
    . 3600000 NS H.ROOT-SERVERS.NET.
    H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
    ;
    ; formerly NIC.NORDU.NET
    ;
    . 3600000 NS I.ROOT-SERVERS.NET.
    I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
    ;
    ; operated by VeriSign, Inc.
    ;
    . 3600000 NS J.ROOT-SERVERS.NET.
    J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
    ;
    ; operated by RIPE NCC
    ;
    . 3600000 NS K.ROOT-SERVERS.NET.
    K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
    ;
    ; operated by ICANN
    ;
    . 3600000 NS L.ROOT-SERVERS.NET.
    L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12
    ;
    ; operated by WIDE
    ;
    . 3600000 NS M.ROOT-SERVERS.NET.
    M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
    ; End of File

    3º /var/named/caching-example/domain.rev

    $TTL 86400
    $ORIGIN slacks.int.br.
    0.168.192.in-addr.arpa IN SOA intralinux.slacks.int.br. root.intralinux.slacks.int.br. (
    &n bsp; 2004101901 ; Serial de sincronização
    &n bsp; 3H ; refresh
    &n bsp; 15M ; retry
    &n bsp; 1W ; expiry
    &n bsp; 1D ) ; minimum
    NS dns.slacks.int.br.

    1 IN PTR ftp
    1 IN PTR www
    2 IN PTR dns2
    1 IN PTR smtp

    3º /var/named/caching-example/slacks.host

    $TTL 86400
    @ IN SOA intralinux.slacks.int.br. root.intralinux.slacks.int.br. (
    2004101901 ;Serial de sincronização
    3H ; refresh
    15M ; retry
    1W ; expiry
    1D ) ; minimum
    NS dns.slacks.int.br.
    IN MX 10 slacks.int.br.

    localhost IN A 127.0.0.117
    slacks.int.br. IN A 192.168.0.117
    dns IN A 192.168.0.117
    dns2 IN A 192.168.0.200
    www.slacks.int.br. IN A 192.168.0.117
    ftp IN A 192.168.0.117
    mail IN CNAME slacks.int.br.
    pop IN CNAME slacks.int.br.
    router IN A 192.168.0.117


    É isso ai! agradeço

    Alexandre Amorim