Zone syntax problem.
Charles Bodley
bodley at tflogic.com
Thu Dec 27 16:51:54 UTC 2001
Donka, works much better now. There are no security holes in BIND 9.1.2 are
there? It's running quite stable and does averything we need it to so unless
there is a security hole I didn't plan on upgrading any time soon.
-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of Mark_Andrews at isc.org
Sent: Wednesday, December 26, 2001 7:00 PM
To: bodley at tflogic.com
Cc: Bind-Users Help (E-mail)
Subject: Re: Zone syntax problem.
>
> Could anyone tell me what is wrong with my zone file. I based it off an
> working file but this one generates errors whenever I run named-checkzone
on
> it. Below is a copy of the zone file and the error.
>
> $ORIGIN .
> $TTL 3600 ; 1 hour
> tf-pdc.internal.tflogic.com IN SOA tf-pdc.internal.tflogic.com.
> hostmaster.tflogic.com. (
> 2001082499 ; serial
> 43200 ; refresh (12 hours)
> 7200 ; retry (2 hours)
> 1209600 ; expire (2 weeks)
> 3600 ; minimum (1 hour)
> )
> IN NS blizzard.cyberset.com.
> IN A 10.1.2.1
> $ORIGIN tf-pdc.internal.tflogic.com.
> localhost IN A 127.0.0.1
> www IN CNAME tf-pdc.internal.tflogic.com.
>
>
>
> [root at blizzard named]# named-checkzone db.tf-pdc.internal.tflogic.com
The first thing you have to do is to call named-checkzone
correctly. The zone is not "db.tf-pdc.internal.tflogic.com"
and the errors are a result of telling named-checkzone the
wrong name for the zone.
Use:
named-checkzone tf-pdc.internal.tflogic.com \
db.tf-pdc.internal.tflogic.com
Both arguements are manditory in BIND 9.2 as too many people
were calling named-checkzone incorrectly. Computers do what you
tell them to do, not (necessarially) what you want them to do :-)
I would also upgrade to 9.2.
Mark
> dns_master_load: db.tf-pdc.internal.tflogic.com:13: ignoring out-of-zone
> data
> dns_master_load: db.tf-pdc.internal.tflogic.com:14: ignoring out-of-zone
> data
> dns_master_load: db.tf-pdc.internal.tflogic.com:15: ignoring out-of-zone
> data
> dns_zone_load: zone db.tf-pdc.internal.tflogic.com/IN: could not find NS
> and/or SOA records
> dns_zone_load: zone db.tf-pdc.internal.tflogic.com/IN: has 0 SOA records
> dns_zone_load: zone db.tf-pdc.internal.tflogic.com/IN: no NS records
>
>
--
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