I'm using a Linux-Debian-2.4 and I just want to do a local domain for my LAN
and I get the following error when I start Bind9 :
----------------------------------------------------
dns_rdata_fromtext: 50.168.192.rev:7: near eol: unexpected end of input
zone 50.168.192.in-addr.arpa/IN: loading master file 50.168.192.rev:
unexpected end of input
----------------------------------------------------
Here is my zone file 50.168.192.rev :
----------------------------------------------------
$TTL 86400
@ IN SOA debian.bredanet.bzh (
12345
28800
7200
604800
86400 )
NS debian.bredanet.bzh
1 PTR debian.bredanet.bzh.
----------------------------------------------------
I saw a lot of posts related with this kind of error, I have tried some
changes but without any success.
Thanks in advance for your help.
David
A SOA record has seven fields in the rdata section. You have
six fields above.
MNAME debian.bredanet.bzh (change to "debian.bredanet.bzh.")
RNAME (missing "widax.free.fr."?)
SERIAL 12345
REFRESH 28800
RETRY 7200
EXPIRE 604800
MINIMUM 604800
> NS debian.bredanet.bzh
> 1 PTR debian.bredanet.bzh.
> ----------------------------------------------------
>
> I saw a lot of posts related with this kind of error, I have tried some
> changes but without any success.
>
> Thanks in advance for your help.
> David
>
>
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.A...@isc.org
You're missing a field. It should be something like:
@ IN SOA debian.bredanet.bzh. hostmaster.debian.bredanet.bzh. (
> 12345
> 28800
> 7200
> 604800
> 86400 )
> NS debian.bredanet.bzh
You're missing the "." at the end of the hostname.
>1 PTR debian.bredanet.bzh.
>----------------------------------------------------
>
>I saw a lot of posts related with this kind of error, I have tried some
>changes but without any success.
>
>Thanks in advance for your help.
>David
>
>
>
--
Barry Margolin, bar...@alum.mit.edu
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
>I'm using a Linux-Debian-2.4 and I just want to do a local domain for my LAN
>and I get the following error when I start Bind9 :
>----------------------------------------------------
>dns_rdata_fromtext: 50.168.192.rev:7: near eol: unexpected end of input
>zone 50.168.192.in-addr.arpa/IN: loading master file 50.168.192.rev:
>unexpected end of input
>----------------------------------------------------
>
>Here is my zone file 50.168.192.rev :
>----------------------------------------------------
>$TTL 86400
>@ IN SOA debian.bredanet.bzh (
> 12345
> 28800
> 7200
> 604800
> 86400 )
> NS debian.bredanet.bzh
>1 PTR debian.bredanet.bzh.
>----------------------------------------------------
>
>I saw a lot of posts related with this kind of error, I have tried some
>changes but without any success.
I have yet to see a reply that mentions that lack of a trailing period
character in the NS record. This omission did not cause your error
message, but it will cause you problems if left uncorrected.
----------------------------------------------------------------------
Barry S. Finkel
Computing and Instrumentation Solutions Division
Argonne National Laboratory Phone: +1 (630) 252-7277
9700 South Cass Avenue Facsimile:+1 (630) 252-4601
Building 222, Room D209 Internet: BSFi...@anl.gov
Argonne, IL 60439-4828 IBMMAIL: I1004994