Subdominio com e-mail

1. Subdominio com e-mail

Thalles Leonel
thallesleonel

(usa Debian)

Enviado em 16/02/2009 - 08:28h

Bom dia, estou tentando configurar o bind para um subdominio,
que esta em outro servidor e não estou conseguindo efetuar corretamente:

Segue abaixo configuração dos meus arquivos no meu servidor bind / dns principal:

named.conf
---------------------------------------------------
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };

// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };

include "/etc/bind/named.conf.local";
---------------------------------------------------

named.conf.local
---------------------------------------------------
//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

zone "33.150.150.200.in-addr.arpa"{
type master;
file "/etc/bind/meudominio.com.br.rev";
};


zone "meudominio.com.br" {
type master;
file "/etc/bind/meudominio.com.br";
};


zone "edu.meudominio.com.br" {
type master;
file "/etc/bind/edu.meudominio.com.br";
};

---------------------------------------------------

meudominio.com.br
---------------------------------------------------
$ttl 38400
@ IN SOA LINUX.meudominio.com.br thalles.meudominio.com.br. (
1206429596
10800
3600
604800
38400 )
NS meudominio.com.br. ;
MX 5 srv1.meudominio.com.br. ;
meudominio.com.br. IN NS LINUX.
meudominio.com.br. IN A 200.150.150.33
srv1.meudominio.com.br. IN A 200.150.150.37
LINUX. IN A 200.150.150.33
dns2 A 200.150.150.34
www A 200.150.150.33
mail A 200.150.150.37
webmail A 200.150.150.37
edu A 200.150.150.38
200.150.150.33.meudominio.com.br. IN PTR linux.meudominio.com.br
linux.meudominio.com.br. IN A 200.150.150.33
---------------------------------------------------

edu.meudominio.com.br
---------------------------------------------------
$ttl 38400
@ IN SOA mailserver.edu.meudominio.com.br thalles.edu.meudominio.com.br. (
1206429595
10800
3600
604800
38400 )
NS meudominio.com.br. ;
MX 5 edu.meudominio.com.br. ;
edu IN A 200.150.150.38
---------------------------------------------------


No meu servidor edu.meudominio.com.br não sei como configurar para responder corretamente.
Tenho neste, um servidor e e-mail que já esta funcionando envidando dele para ele mesmo.

Quando tento enviar externo, da erro de dns.

Desde já agradeço.

Thalles


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts