DNS Interno + Debian + Postfix ! HELP
Ae galera
to tentando configura o bind9 aqui pra responder por um dominio INTERNO mra.br mas nao consigo pingar
ping mail.mra.br
nao responde
cat /etc/bind/named.conf
// 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";
include "/etc/bind/rndc.key";
include "/var/named/primary/mra.conf";
cat /var/named/primary/mra.conf
zone "mra.br" {
type master;
file "zone/db.mra";
};
zone "1.0.168.192.in-addr.arpa" {
type master;
file "zone/rev.mra";
};
cat /var/named/zone/db.mra
$TTL 86400
@ IN SOA mra.br. postmaster.mra.br. (
2004090200 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
@ IN NS mra.br.
@ IN NS ns.mra.br.
mra.br. IN A 192.168.0.1
ns.mra.br. IN A 192.168.0.1
ftp IN A 192.168.0.1
www IN CNAME mra.br.
mail IN A 192.168.0.1
@ IN MX 5 mail.mra.br.
pop IN CNAME mail.mra.br.
smtp IN CNAME mail.mra.br.
dig servidor.mra.br
; <<>> DiG 9.2.3 <<>> servidor.mra.br
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 54416
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;servidor.mra.br. IN A
;; Query time: 2 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Sun Dec 23 16:17:21 2001
;; MSG SIZE rcvd: 33
Não esta funcionando..alguem pode me ajudar ??
DNS Interno + Debian + Postfix ! HELP
vc consegue pingar pop.mra.br ???
DNS Interno + Debian + Postfix ! HELP
DNS Interno + Debian + Postfix ! HELP
Você apenas restartou o named, ou o server inteiro?
É comum acontecer de qdo vc restartar o named o processo não parar e iniciar novamente, é como se nem parasse...
tente ps aux, verifique o numero do processo.
mate ele com kill -9 numero_do_processo
Ininie o named novamente...
DNS Interno + Debian + Postfix ! HELP
Quando você reinicia o serviço, aparece alguma msg de erro no log ?????
DNS Interno + Debian + Postfix ! HELP
Vc criou o arquivo
em
root`#cd /var/named
com o nome
domino
e dentro dele com as devidas configurações???
Fallow
DNS Interno + Debian + Postfix ! HELP
tenta pingar nomedamaquina.seudominio.com
Voce criou o alias mail?
DNS Interno + Debian + Postfix ! HELP
Apenas uma dica, use o djbdns muito simples, rápido e seguro de usar, acessa meu howto que tem passo a passo como configurar e pra vc que só precisa de dns interno faça só até a parte "6. Configurando o dnscache:" da 7 em diante não precisa.
http://www.openbsd.adm.br/txt/djb.htm
[]'s
DNS Interno + Debian + Postfix ! HELP
Ops, pode fazer o howto inteiro, vc vai ter que cadastrar um dominio interno tb.
DNS Interno + Debian + Postfix ! HELP
o Bind é bem simple para o que ele quer , alías eu tenho um server interno rodando postfix no slack muito bem.
vc precisa realmente disso ?:
pop IN CNAME mail.mra.br.
smtp IN CNAME mail.mra.br.
eu deixe somente :
IN MX 5 meuhost.dominio.com.br
meuhost IN A 10.3.1.10
www IN CNAME meuhost.dominio.com.br
mail IN CNAME meuhost.dominio.com.br
cuidado com espaços em excesso.
só isso na minha zona local ele funfa. quanto ao reverso eu não o tenho em vista.
então :
ping www
ping mail
não se esqueça de colocar no /etc/resolv.conf
search dominio.com.br
nameserver <seu IP_DNS>