Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Zone file error bind 9.1

Status
Not open for further replies.

sarm

Programmer
Aug 13, 2001
77
US
Hello,

I don't know where my error's are but the I get ignoring out of range data in this zone file.

$TTL 86400
@ IN SOA ns1.mydomain.com. hostmaster.mydomain.com. (
20010812; Serial
12H ; Refresh
1H ; Retry
2W ; Expire
1D ; Minimum )
localhost.mydomain.com. IN A 127.0.0.1
smtp.mydomain.com. IN A 206.157.9.117
ns1.mydomain.com. IN A 206.157.9.117
ns2.mydomain.com. IN A 206.157.9.118
mydomain.com. IN NS ns1.mydomain.com.
mydomain.com. IN NS ns2.mydomain.com.
IN A 206.157.9.117
mydomain.com. IN A 206.157.9.117
ftp.mydomain.com. IN A 206.157.9.118
IN A 206.157.9.118
mydomain.com. IN A 206.157.9.118
mydomain.com. IN MX 0 smtp.mydomain.com.

any help is appreciated..
 
Hi,

I think it should look more like this :

@  IN    SOA    ns1.mydomain.com. hostmaster.mydomain.com. (
        20010812; Serial
        12H    ; Refresh
        1H    ; Retry
        2W    ; Expire
        1D    ; Minimum )
IN NS ns1.mydomain.com.
IN NS ns2.mydomain.com.
         IN    MX  10 smtp
localhost.    IN    A    127.0.0.1
smtp   IN    A    206.157.9.117
www       IN    A    206.157.9.117
ftp        IN    A    206.157.9.118
www         IN    A    206.157.9.118


(can you have a preference of 0 for a mail-exchanger ?)

Regards
 
actually, check this line:

2W ; Expire
1D ; Minimum )

try changin this bracket to:

2W ; Expire
1D ) ; Minimum

notice where u put the bracket, directly after the TTL.. my guess is named is trying to read and process ; Minimum ) as well, which will definitely return errors... do change this..

good luck..





 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top