renandecarlo
(usa Ubuntu)
Enviado em 02/09/2011 - 19:19h
Debian Squeeze
As configs tão assim:
obs: mudei onde tem o meu domínio pra meudominio.com
- 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";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
- named.conf.options -
options {
directory "/var/cache/bind";
recursion no;
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See
http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
// forwarders {
// 200.98.199.199;
// 189.14.96.174;
// 200.192.137.11;
// };
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
- 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 "meudominio.com" {
type master;
file "/etc/bind/meudominio.db";
allow-transfer { 66.151.244.199; };
allow-query { any; };
};
- meudominio.db -
$TTL 1800
@ IN SOA renandecarlo.meudominio.com. admin.meudominio.com. (
2011090182 30M 15M 1W 1D )
meudominio.com. 86400 IN NS ns1.meudominio.com.
meudominio.com. 86400 IN NS ns2.meudominio.com.
ns1 A 66.151.244.199
ns2 A 66.151.244.205
meudominio.com. IN MX 10 mail.meudominio.com.
meudominio.com. A 66.151.244.199
www IN CNAME meudominio.com.
ftp A 66.151.244.199
mail A 66.151.244.199
cdn A 66.151.244.205