Zone syntax problem.
England, Robert (Robert)
england at northamerica.exchange.agere.com
Mon Dec 24 18:03:59 UTC 2001
> -----Original Message-----
> From: Charles Bodley [mailto:bodley at tflogic.com]
> Sent: Monday, December 24, 2001 12:10 PM
> To: Bind-Users Help (E-mail)
> Subject: 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.
There is no A record for tf-pdc.internal.tflogic.com. for the CNAME to point
to. You should have
tf-pdc.internal.tflogic.com. IN A XXX.XXX.XXX.XXX
or move
IN A 10.1.2.1
Down, it is in the wrong place you have it as part of the SOA.
HTH
-Bob
>
>
>
> [root at blizzard named]# named-checkzone db.tf-pdc.internal.tflogic.com
> 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
More information about the bind-users
mailing list