Why do I get "ignoring out-of-zone data" when restarting BIND
Posted
by 6bytes
on Server Fault
See other posts from Server Fault
or by 6bytes
Published on 2010-03-22T12:04:18Z
Indexed on
2010/03/22
12:11 UTC
Read the original article
Hit count: 418
I've been using my own DNS server but then I moved to a third part DNS provider. Yesterday I wanted to go back to using my own DNS's and cancel this third party service. I've lowered TTL in current DNS conf, changed DNS info in GoDaddy for my domain and that's when problems started.
My domain seems to be working only for some people but not for others so clearly something is wrong.
When restarting bind service named restart
everything seems to be OK but later in email from Logwatch I'm getting errors like this:
mydomain.com:30: ignoring out-of-zone data (ns1.mydns.com): 3 Time(s)
mydomain.info:16: ignoring out-of-zone data (ns1.mydns.com): 5 Time(s)
Can anyone point me in the right direction?
My BIND configuration for those two domains below:
File: /var/named/chroot/etc/zones.external
zone "mydomain.com" IN {
type master;
file "mydomain.com";
allow-transfer { 213.251.188.140; };
allow-update { none; };
notify yes;
also-notify { 213.251.188.140; };
};
zone "mydomain.info" IN {
type master;
file "mydomain.info";
allow-transfer { 213.251.188.140; };
allow-update { none; };
notify yes;
also-notify { 213.251.188.140; };
};
File /var/named/chroot/var/named/mydomain.com
being my main domain
$TTL 3600
$ORIGIN mydomain.com.
@ IN SOA ns1.mydns.com. ns2.mydns.com. (
2010032101 ; Serial
10800 ; Refresh
3600 ; Retry
2419200 ; Expire
3600 ) ; NXDOMAIN TTL
IN NS ns1.mydns.com.
IN NS ns2.mydns.com.
IN MX 10 ASPMX.L.GOOGLE.COM.
IN MX 20 ALT1.ASPMX.L.GOOGLE.COM.
IN MX 20 ALT2.ASPMX.L.GOOGLE.COM.
IN MX 30 ASPMX2.GOOGLEMAIL.COM.
IN MX 30 ASPMX3.GOOGLEMAIL.COM.
IN MX 30 ASPMX4.GOOGLEMAIL.COM.
IN MX 30 ASPMX5.GOOGLEMAIL.COM.
IN A 111.111.111.111
* IN A 111.111.111.111
edu IN A 111.111.111.111
googleXXXXXXXXXXXXXXXX IN CNAME google.com.
ns1.mydns.com. IN A 111.111.111.111
File /var/named/chroot/var/named/mydomain.info
just an alias in apache for mydomain.com
$TTL 86400
$ORIGIN mydomain.info.
@ IN SOA ns1.mydns.com. ns2.mydns.com. (
2009042901 ; Serial
10800 ; Refresh
3600 ; Retry
2419200 ; Expire
3600 ) ; NXDOMAIN TTL
IN NS ns1.mydns.com.
IN NS ns2.mydns.com.
IN A 111.111.111.111
* IN A 111.111.111.111
ns1.mydns.com. IN A 111.111.111.111
© Server Fault or respective owner