named.conf.local
Código HTML:
//
// 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 "grupomasa.net" {
type master;
file "/etc/bind/db.masa";
allow-transfer {any; };
allow-query { any; };
};
Código HTML:
options {
directory "/var/cache/bind";
// 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 {
186.12.238.16;
186.12.238.15;
};
//========================================================================
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys
//========================================================================
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
Código HTML:
; ; BIND data file for local loopback interface ; $TTL 604800 @ IN SOA grupomasa.net. root.grupomasa.net. ( 2 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; grupomasa.net. IN NS ns1.grupomasa.net. grupomasa.net. IN NS ns2.grupomasa.net. grupomasa.net. IN MX 1 mx1.grupomasa.net. grupomasa.net. IN MX 2 mx2.grupomasa.net. localhost IN A 127.0.0.1 ns1.grupomasa.net. IN A 200.80.131.51 ns2.grupomasa.net. IN A 200.80.131.52 ns1 IN A 200.80.131.51 ns2 IN A 200.80.131.52 mx1 IN A 200.80.131.51 mx2 IN A 200.80.131.52 www IN A 200.80.131.51


