OK, seems that my configuration got all screwed. I restarted bind and got this:
Code:
Mar 9 02:45:18 server1 named[5795]: zone 255.in-addr.arpa/IN: loaded serial 1
Mar 9 02:45:18 server1 named[5795]: zone ganganadores.cl/IN: NS 'server1.ganganadores.cl' has no address records (A or AAAA)
Mar 9 02:45:18 server1 named[5795]: zone ganganadores.cl/IN: NS 'server2.ganganadores.cl' has no address records (A or AAAA)
Mar 9 02:45:18 server1 named[5795]: zone ganganadores.cl/IN: not loaded due to errors.
Mar 9 02:45:18 server1 named[5795]: zone localhost/IN: loaded serial 2
here is my 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";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
named.conf.local
Code:
zone "ganganadores.cl" {
type master;
file "/etc/bind/pri.ganganadores.cl.err";
allow-transfer { any; };
allow-query { any; };
allow-update { any; };
};
named.conf.options
Code:
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 {
// 0.0.0.0;
// };
//========================================================================
// 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; };
};
and finally
/etc/bind/pri.ganganadores.cl.err
Code:
$TTL 3600
@ IN SOA server1.ganganadores.cl. elguru.soiuncrack.cl. (
2013030901 ; serial, todays date + todays serial #
7200 ; refresh, seconds
540 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;
ganganadores.cl. 3600 A 200.74.52.17
ganganadores.cl. 3600 MX 10 mail.ganganadores.cl.
ganganadores.cl. 3600 NS server1.ganganadores.cl.
ganganadores.cl. 3600 NS server2.ganganadores.cl.
mail 3600 A 200.74.52.17
www 3600 A 200.74.52.17
I don't know what else to do. I've tryed everything!!!!
Bookmarks