Dear Linuxers,
I've migrated from BIND 8 to BIND 9. I corrected most of the errors in the zone files but a few domains still giving some problems.
This is what happening when I start named. ---------------------------------------------------------------------------------- Aug 10 12:59:15 interpole named: named startup succeeded Aug 10 12:59:15 interpole named[4097]: using 1 CPU Aug 10 12:59:15 interpole named[4101]: loading configuration from '/etc/named.conf' Aug 10 12:59:15 interpole named[4101]: the default for the 'auth-nxdomain' option is now 'no' Aug 10 12:59:15 interpole named[4101]: no IPv6 interfaces found Aug 10 12:59:15 interpole named[4101]: listening on IPv4 interface lo, 127.0.0.1#53 Aug 10 12:59:15 interpole named[4101]: listening on IPv4 interface eth0, 192.168.1.2#53 Aug 10 12:59:16 interpole named[4101]: dns_master_load: citymarts.com.b:16: ignoring out-of-zone data Aug 10 12:59:16 interpole named[4101]: dns_master_load: citymarts.com.b:17: ignoring out-of-zone data Aug 10 12:59:16 interpole named[4101]: dns_master_load: citymarts.com.b:18: ignoring out-of-zone data Aug 10 12:59:16 interpole named[4101]: dns_master_load: citymarts.com.b:20: ignoring out-of-zone data Aug 10 12:59:16 interpole named[4101]: dns_zone_load: zone citytymarts.com/IN: could not find NS and/or SOA records Aug 10 12:59:16 interpole named[4101]: dns_zone_load: zone citytymarts.com/IN: has 0 SOA recordsAug 10 12:59:16 interpole named[4101]: dns_zone_load: zone citytymarts.com/IN: no NS records Aug 10 12:59:18 interpole named[4101]: dns_master_load: indiainformation.com.b:18: ignoring out-of-zone data Aug 10 12:59:21 interpole named[4101]: dns_master_load: shivalogy.com.b:17: ignoring out-of-zone data Aug 10 12:59:23 interpole named[4101]: running ----------------------------------------------------------------------------------
The name server starts but these zones will not work correctly. I'm also pasting the actual zone file for citymarts.com zone.
ZONE FILE: citymarts.com.b ---------------------------------------------------------------------------------- $TTL 86400 $ORIGIN com. citymarts IN SOA ns3.nttindia.com. hostmaster.nttindia.com. ( 98121722 ; 86000 ; 7200 ; 3600000 ; 43200 ; ) IN NS ns3.nttindia.com. IN NS ns4.nttindia.com.
IN A 202.87.40.236 IN MX 10 mail.citymarts.com. $ORIGIN citymarts.com. mail IN A 202.87.40.236 ftp IN A 202.87.40.236 www IN A 202.87.40.236 IN MX 10 mail.citymarts.com. ----------------------------------------------------------------------------------
I have almost 700 zone files on the server and all are almost similar. Why does this particular file gives out of zone error and 'Could not find SOA and/or NS records.
Also named-checkzone gives me no error.
Awaiting your replies,
Best regards, Mayur Joshi, Interpole Solutions
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
On Fri, 10 Aug 2001, Mayur Joshi spewed into the ether: <snip>
$TTL 86400 $ORIGIN com. citymarts IN SOA ns3.nttindia.com. hostmaster.nttindia.com. (
Try citymarts. instead. Note the dot.
98121722 ;
Oh, and for the serial, I recommend the following scheme: YYYYMMDDNO where NO = number of times changed on that day. This saves some time in determining when the zone was last updated.
86000 ; 7200 ; 3600000 ; 43200 ; ) IN NS ns3.nttindia.com. IN NS ns4.nttindia.com. IN A 202.87.40.236 IN MX 10 mail.citymarts.com.
$ORIGIN citymarts.com. mail IN A 202.87.40.236 ftp IN A 202.87.40.236 www IN A 202.87.40.236 IN MX 10 mail.citymarts.com.
I think you missed the @?
Devdas Bhagat