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 ??