Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Mar 2012 23:58:48 -0400
From:      Jon Radel <jon@radel.com>
To:        jangkawijaya@students.itb.ac.id
Cc:        questions@freebsd.org
Subject:   Re: problem
Message-ID:  <4F77D278.5050807@radel.com>
In-Reply-To: <1059951114.8276.1333250334320.JavaMail.root@students.itb.ac.id>
References:  <1059951114.8276.1333250334320.JavaMail.root@students.itb.ac.id>

next in thread | previous in thread | raw e-mail | index | archive | help

This is a cryptographically signed message in MIME format.

--------------ms020700010800030102020808
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

The format of named files isn't quite as free-form as you apparently=20
think. :-) Compare one of mine:

$TTL 1H
@               IN  SOA         ns3.radel.com. jon.radel.com. (
                                 2010100400      ; serial
                                 1H              ; refresh
                                 15M             ; retry
                                 2W              ; expiry
                                 30M )           ; minimum
                 IN NS           ns.radel.com.
                 IN NS           ns2.radel.com.
                 IN NS           ns3.radel.com.
                 IN NS           ns4.radel.com.

with yours:

>
> $TTL    3600
OK
>
> johannesang.com. IN  SOA host.johannesang.com.  root.johannesang.com.  =
 (
OK; "@" in mine is shorthand for "the domain which this zone file=20
defines", but giving the domain explicitly works fine.
>
> 2012040100        42       1d    12h     1w      3h
Starts as OK syntax, but a 42 second refresh with 1 day retry strikes me =

as dubious at best and then you have an extra value on the end.=20
Actually, I suspect that 42 is actually your extra value.  "2012040100"=20
is the serial number, you know.
>           Serial, Refresh, Retry, Expire, Neg. cache TTL
This line is extraneous garbage, as you've not commented it out; that's=20
what the semi-colons do in my example.  I suspect that's why one error=20
message moans about an error in the vicinity of the "3h", as that's an=20
extra value followed by garbage.

Missing close parenthesis.

>
>
> ;DNS Servers
> johannesang.com.         IN      NS              host.johannesang.com.
Looks fine.
>
> ;Machine Names
> host.johannesang.com.    IN      A               167.205.79.105
Looks fine
>
> ;Aliases
> www                  IN      CNAME           host.johannesang.com.
Looks fine
>
> here is my db.johannesang file
> $TTL    3600
>
> 79.205.167.in-addr.arpa. IN  SOA host.johannesang.com.  root.johannesan=
g.com.
>
> 2012040100        42       1d    12h     1w      3h
missing open and close parenthesis, extra value
>           Serial, Refresh, Retry, Expire, Neg. cache TTL
extraneous garbage


Etc.  You're pretty close and it should work fine after you clean up=20
your syntax a bit.

--Jon Radel
jon@radel.com



--------------ms020700010800030102020808--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F77D278.5050807>