DNS tutor needed

scratch wmedia at xtra.co.nz
Sat Apr 13 00:25:38 UTC 2002


> >Ok.....stupid question no 10....where is my log file?
>
> I don't know Linux, but on most flavors of Unix it's either
> /var/adm/messages or /var/log/syslog, or something like that.
>

Ok found the log... ( /var/log/messages )....I restarted named and got these
messages......

Apr 13 12:02:35 pc9 named[6921]: starting BIND 9.1.3 -u named
Apr 13 12:02:35 pc9 named[6921]: using 1 CPU
Apr 13 12:02:36 pc9 named: named startup succeeded
Apr 13 12:02:36 pc9 named[6923]: loading configuration from
'/etc/named.conf'
Apr 13 12:02:37 pc9 named[6923]: the default for the 'auth-nxdomain' option
is now 'no'
Apr 13 12:02:37 pc9 named[6923]: no IPv6 interfaces found
Apr 13 12:02:37 pc9 named[6923]: listening on IPv4 interface lo,
127.0.0.1#53
Apr 13 12:02:38 pc9 named[6923]: listening on IPv4 interface eth0,
192.168.1.9#53
Apr 13 12:02:38 pc9 named[6923]: dns_rdata_fromtext: teawamutu.net.db:3:
near '3600': out of range
Apr 13 12:02:38 pc9 named[6923]: dns_zone_load: zone teawamutu.net/IN:
loading master file teawamutu.net.db: out of range
Apr 13 12:02:38 pc9 named[6923]: running

What does "out of range" tell us?

> >PS......does this help?
> >
> >#/usr/sbin/named-checkzone teawamutu.net
> >dns_zone_load: zone teawamutu.net/IN: loading master file teawamutu.net:
> >file not found
>
> IIRC, the name of your zone file is teawamutu.net.db.  You forgot the
".db"
> suffix in the above command (named-checkzone takes a filename, not a
domain
> name).

tried it again.......

/usr/sbin/named-checkzone teawamutu.net.db
dns_zone_load: zone teawamutu.net.db/IN: loading master file
teawamutu.net.db: file not found


Thanks again,
Richard




More information about the bind-users mailing list