Could somebody tell me why my master zone is rejected, please ?

DanO express at fastdial.net
Sun Jul 16 17:18:37 UTC 2000





Daniel Pope <daniel-p at direct.ca> wrote:
> Hello.
> I'm trying to set  my domain name but I get always the following message


You are terminating some RR with semi-colon. ( ; ) Not allowed.


> localhost named [ ] : master zone  "ticket2print.com" IN rejected due to
errors  (serial 2000081601)

> I used the below file (domain name ticket2print.com, IP= 64.232.5.110,
local machine is hercules):
> Thank you very much for any eventual hints !
>
> I'm running RED  HAT 6.1 Linux  and the file (I pasted it ) is:
> ;
> ; Zone file for ticket2print.com
> ;
> ; The full zone
> ;


> ticket2print.com. IN  SOA  ns1.ticket2print.com.
hostmaster.ticket2print.com. (
>        2000081601    ; serial number, today
>        10800         ;Refresh after 3 hours
>        3600          ;Retry after 1 hour
>        604800        ;expire after a week
>        86400 )       ;Minimum TTK of 1 day
> ;
> ;  Name servers
> ;
> ns1.ticket2print.com.  IN   NS  hercules.ticket2print.com.
> ns2.ticket2print.com.  IN   NS  hercules.ticket2print.com.


Your NS record are for  the Zone "ticket2print.com" so they should read :
ticket2print.com    IN    NS    ns1.ticket2print.com
""                    ""    IN    NS    ns2.ticket2print.com

Then, You should have A records for ns1 & ns2
> ; Addresses for canonical names
> ;
> localhost.ticket2print.com.  IN    A   127.0.0.1;
> hercules.ticket2print.com.   IN    A   64.232.5.110;
     Semicolons                                   ^^^^

> ;
> ; Aliases
> ;
> www.ticket2print.com. IN  CNAME hercules.ticket2print.com.
> ;ns1.ticket2print.com. IN  CNAME hercules.ticket2print.com.


--- I wound NOT use CNAMES for your records. just use multiple A records for
all your host names. it will save a lot of headache's later. (like with
Sendmail- or most MTA's)
> ;
> ;Mail routing
> ;
> ticket2print.com.   IN   MX    10      hercules.ticket2print.com.











More information about the bind-users mailing list