$ORIGIN . problems
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Fri Sep 7 23:51:55 UTC 2001
Usage: named-checkzone [-c class] [-d] [-q] zone [file]
If you feed "named-checkzone file" you get errors like you
are seeing. i.e. you are telling named-checkzone that the
zone's name is "file" when it is really "0.0.127.in-addr.arpa".
You can leave the file off if and only if the filename is
the identical to the zone name.
Try: named-checkzone 0.0.127.in-addr.arpa zonefile
Mark
> Hi
>
> I have installed BIND 9.1.3 on a Solaris 8 10_00 netra x1
>
> When checking the zone file 0.0.127 with the named-checkzone utility
>
> it gives me the following error
> dns_master_load: /var/named/0.0.127:3: ignoring out-of-zone data
> (0.0.127.in-addr.arpa)
> dns_master_load: /var/named/0.0.127:11: ignoring out-of-zone data
> (1.0.0.127.in-addr.arpa)
> dns_zone_load: zone zonefile/IN: could not find NS and/or SOA records
> dns_zone_load: zone zonefile/IN: has 0 SOA records
> dns_zone_load: zone zonefile/IN: no NS records
>
> When I remove the $ORIGIN 0.0.127.in-addr.arpa.line from the zone file I get
> no errors at all
>
> Same problem with other zonefiles which have the $ORIGIN . included at the
> top of the zonefile
>
> For now I have removed the $ORIGIN . files from my zonefiles so that the
> nameserver is working but this is clearly not the way to do it
>
> I have attached the named.conf and the 0.0.127 file below, has any one
> experienced this problem before, or is it something I have missed in my
> setup
>
> Any help would be appreciated
>
> named.conf looks like this
>
> // BIND configuration file
> options {
> directory "/var/named";
> allow-transfer { none; };
> };
>
> zone "." {
> type hint;
> file "root.hints";
> };
>
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "0.0.127";
>
> and the 0.0.127 file looks like this
>
> $TTL 3D
> $ORIGIN 0.0.127.in-addr.arpa.
>
> @ IN SOA ns1.domain.net. hostmaster.domain.net. (
> 2000090601 ; serial
> 8H ; refresh
> 2H ; retry
> 1W ; expiry
> 1D ) ; minimum
>
> NS ns1.domain.net.
> 1 PTR localhost.
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at isc.org
More information about the bind-users
mailing list