Arrume a Data do seu sistema

/etc/named.conf

/*
 * A simple BIND 8 configuration
 */

options {
        directory "/var/named";
};

logging {
        category lame-servers { null; };
        category cname { null; };
};


zone "dominio.com.br" in { type master; file "named.hosts"; };

### seu IP eh assim: 200.xxx.yyy.zzz

zone "yyy.xxx.200.in-addr.arpa" in {
        type master;
        file "named.reverse";
};
zone "." in {
        type hint;
        file "root.cache";
};

zone "0.0.127.in-addr.arpa" in {
        type master;
        file "named.local";
};
zone "teste1.com.br" in {
       notify no;
       type master;
       file "qualquercoisa.hosts";
};
zone "teste2.com.br" in {
       notify no;
       type master;
       file "qualquercoisa.hosts";
};
zone "teste3.com.br" in {
       notify no;
       type master;
       file "qualquercoisa.hosts";
};

########################################################

/var/named/qualquercoisa.hosts

$TTL 86400
@ IN SOA seu.dominio.com.br. webmaster.dominio.com.br. (
2002101905; serial
3600 ; refresh
900 ; retry
1209600 ; expire
43200 ; default_ttl
)
@ IN NS seu.dominio.com.br.
;
;Section 3 - hosts-to-IP addrs
@ IN A 200.xxx.yyy.zzz
www IN A 200.xxx.yyy.zzz
pop3 IN A 200.xxx.yyy.zzz
smtp IN A 200.xxx.yyy.zzz



Agora configure dominios Virtuais no apache. (no fim do arquivo adicione)


/etc/httpd/conf/httpd.conf

<VirtualHost 200.xxx.yyy.zzz>
   ServerName www.teste1.com.br
   DocumentRoot "/home/teste1/public_html/"
   ScriptAlias /cgi-bin/ "/home/teste1/cgi-bin/"
   CustomLog /etc/httpd/logs/teste1.log combined
</VirtualHost>
### faca para todos seus dominios virtuais

se usa sendmail
coloque no arquivo

/etc/mail/local-host-names
teste1.com.br
teste2.com.br
teste3.com.br

se usa postfix leia aki:
http://brlinux.linuxsecurity.com.br/artigos/dicas_postfix.htm?redirected=1


MN INTERNET & INFORMATICA wrote:
Ol� Lista....


Sou novato em linux....



Instalei o Conectiva 8+ (com todos os pacostes).


A M�quina servir� de servidor DNS.

Gostaria de saber se algu�m pode me ajudar  a configurar o DNS e tb o acesso
a internet.

Grato,

David

---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html



--
_________________________________________________________
                        Atencao:

        Esse endereco de e-mail so aceita e-mails
vindos dos enderecos:

        [EMAIL PROTECTED]
        [EMAIL PROTECTED]

        NENHUM outro endereco de e-mail sera aceito
pelo filtro de mensagens

---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a