error- master file: out of zone ?

R Owen wmedia at xtra.co.nz
Sat Apr 13 06:32:53 UTC 2002


First of all, thanks to those who corrected me on my mistakes regarding the protocol of this newsgroup, and my apologies for them.....

Now, my DNS won't return an authorititive answer, and I can't figure out why. It seems there is a problem with my zone file, some thing to do with being "out of range". Heres a couple of lines from my log file.......

dns_rdata_fromtext: teawamutu.net.db:3: near '7200': out of range
dns_zone_load: zone teawamutu.net/IN: loading master file teawamu.net.db: out of range

I've included my named.conf file, zone file, and the lines from my log file pertaining to named starting.

/var/named/teawamutu.net.db
TTL    86400
@               IN      SOA     pc9.scratch.net.nz.     wmedia.xtra.co.nz. (
                                20020103016     ; serial
                                7200            ; refresh       - 2 hours
                                7200            ; retry         - 2 hours
                                604800          ; expire        - 7 days
                                7200 )          ; default_ttl   - 2 hours

                IN      NS      pc9.scratch.net.nz.
                IN      NS      ns2.nameserver.net.nz.

www             IN      A       210.86.2.21
@               IN      A       210.86.2.21


/etc/named.conf
options {
        directory "/var/named";
                        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */     query-source address * port 53;
};
zone "." {
        type hint;
        file "root.hints";
};
zone "scratch.net.nz" {
        type master;
        file "scratch.db";
};
zone "teawamutu.net.nz" {
        type master;
        file "teawamutu.net.nz.db";
};
zone "teawamutu.net" {
        type master;
        file "teawamutu.net.db";
};
zone "0.0.127.in-addr.arpa" {
        type master;
        file "pz/127.0.0";
};


The lines from my log file about named startup
Apr 13 17:49:33 pc9 named[7014]: starting BIND 9.1.3 -u named
Apr 13 17:49:33 pc9 named[7014]: using 1 CPU
Apr 13 17:49:34 pc9 named: named startup succeeded
Apr 13 17:49:34 pc9 named[7017]: loading configuration from '/etc/named.conf'
Apr 13 17:49:34 pc9 named[7017]: the default for the 'auth-nxdomain' option is now 'no'
Apr 13 17:49:36 pc9 named[7017]: no IPv6 interfaces found
Apr 13 17:49:36 pc9 named[7017]: listening on IPv4 interface lo, 127.0.0.1#53
Apr 13 17:49:36 pc9 named[7017]: listening on IPv4 interface eth0, 192.168.1.9#53
Apr 13 17:49:36 pc9 named[7017]: dns_rdata_fromtext: teawamutu.net.db:3: near '7200': out of range
Apr 13 17:49:36 pc9 named[7017]: dns_zone_load: zone teawamutu.net/IN: loading master file teawamu.net.db: out of range
Apr 13 17:49:36 pc9 named[7017]: running

Thanks again for your time....
Richard



More information about the bind-users mailing list