BIND 9.2 little problem
Danny Mayer
mayer at gis.net
Sat Feb 9 01:25:13 UTC 2002
It's amazing that noone pointed out to you that "//" is not a comment
introducer for the zone file. Change it and the "#" character to ";"
and things will work.
Danny
At 04:21 AM 2/8/02, phn at icke-reklam.ipsec.nu wrote:
>r_no at hotmail.com wrote:
>
> > Hi gurur,
> > Well ok, I'm dumb, I'm unable to start even the simpliest DB file, I
> > still got an erro messages on the log file:
> > Feb 8 09:06:11 darkstar named[2392]: [ID 866145 daemon.notice] starting
> > BIND 9.2.0 -f
> > Feb 8 09:06:11 darkstar named[2392]: [ID 866145 daemon.notice] command
> > channel listening on 127.0.0.1#953
> > Feb 8 09:06:11 darkstar named[2392]: [ID 866145 daemon.error]
> > dns_master_load: db.127.0.0:2: unexpected end of line
> > Feb 8 09:06:11 darkstar named[2392]: [ID 866145 daemon.error]
> > dns_master_load: db.127.0.0:1: unexpected end of input
> > Feb 8 09:06:11 darkstar named[2392]: [ID 866145 daemon.error] zone
> > 0.0.127.in-addr.arpa/IN: loading master file db.127.0.0: unexpected end
> > of input
>
>Reading the log output _sometimes_ gives a clue about what's going wrong.
>
>
> > here is the named.conf:
> > options {
> > directory "/opt/named";
> > pid-file "/opt/named/named.pid";
> > forwarders { 192.168.21.2;10.137.142.147; };
> > forward only;
> > };
>
> > zone "0.0.127.in-addr.arpa" in {
> > type master;
> > file "db.127.0.0";
> > };
>
> > Here is the file db.127.0.0:
> > //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > // Local server zone information (db.127.0.0)
> > //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > bames.ch. IN SOA darkstar.bames.ch. postmaster.bames.ch.
> > (
>
> ^^
>here is one problem. This should be the last character on the preceeding=
line,
>not an alone character on it's own line.
>
>You are also lacking a "$TTL 86400" as first line.
>
>
>
> > 0108022002 ; Serial No.
> > 3h ; Refresh
> > 1h ; Retry
> > 1w ; Expire
> > 1h ) ; Minimum
>
> > #DNS server record
> > IN NS darkstar.bames.ch.
>
> > # PTR record
> > 1 IN PTR localhost.bames.ch.
>
>
> > I'm still unable to find whats wrong with this file, I didn't play with
> > DNS since the release 4 but I wasn't expected that It has so mutch
> > change on it. I use tab to separate the filed (i remember having trouble
> > with 4.x on OSF/1 about that).
>
> > Thanks for the help.
>
> > Arno
>
>See ripe document 192 ( DNS setup example ) for more details.
>
>
>--
>Peter H=E5kanson
> IPSec Sverige (At the Riverside of Gothenburg, home of=
Volvo)
> Sorry about my e-mail address, but i'm trying to keep spam out.
> Remove "icke-reklam" and it works.
More information about the bind-users
mailing list