here you go,
/etc/bind/named.conf
Code:
// 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";
};
include "/etc/bind/named.conf.local";
key "rndc-key" {
algorithm hmac-md5;
secret "A5xCWhMT8RTBGHY5+Rvgpg==";
};
zone "mail.carlostavares.com.br" {
type master;
file "/etc/bind/db.mail.carlostavares.com.br";
}; /etc/bind/db.mail.carlostavares.com.br
Code:
;
; Addresses and other host information.
;
@ IN SOA mail.carlostavares.com.br. admin.carlostavares.com.br. (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS 192.168.1.16
IN A 192.168.1.16
IN MX 10 mail.carlostavares.com.br.