Classless in-addr.arpa delegation problem
Kevin Darcy
kcd at daimlerchrysler.com
Thu Aug 24 22:50:17 UTC 2000
Well, you got the delegation and CNAMEs right, but you forgot the NS(es)
for the zone itself! Every zone needs at least 1 NS record for itself,
otherwise technically it isn't even a zone. Assuming
"wintermute.internal" is also the nameserver for 1.168.192.in-addr.arpa,
you could put
in ns wintermute.internal.
just below the SOA record. Don't forget the leading whitespace; that
tells the parser that the owner name is the same as for the previous
line (i.e. "@").
As for the "No default TTL set" warning, here's my boilerplate for that:
> Put a $TTL directive at the top of your master files. It takes an
> argument of how long the default TTL for the zone should be: you can
> either use a plain number, which is interpreted as seconds, or numbers
> combined with letters signifying time units, e.g. "1d" =3D 1 day =3D "8=
6400"
> (seconds).
>
> Or, alternatively, if you want your default TTL to be the same as your
> negative caching TTL (the last field of the SOA record), then just
> ignore the warnings, since that's what named will use in the absence of
> a $TTL directive anyway, as it was used to prior to RFC 2308.
>
By the way, you don't need that $ORIGIN...
- Kevin
Jos=E9 M. Fandi=F1o wrote:
> hello,
>
> I'm trying to make work in a test network the Classless
> in-addr.arpa. delegation. Following the 2317
> example I created the zone.
>
> named.conf:
> zone "1.168.192.in-addr.arpa" {
> type master;
> file "db.192.168.1";
> };
>
> ---
>
> db.192.168.1:
> $ORIGIN 1.168.192.in-addr.arpa.
> @ IN SOA wintermute.internal.
> postmaster.wintermute.internal. (
> 2000082302
> 10800
> 3600
> 604800
> 86400)
>
> 0/25 IN NS wintermute.internal.
>
> $GENERATE 1-127 $ CNAME $.0/25
>
> ---
>
> and after of reload the ns I get:
> 24-Aug-2000 17:17:13.175 Zone "1.168.192.in-addr.arpa" (file
> db.192.168.1): No default TTL set using SOA minimum instead
> 24-Aug-2000 17:17:13.175 Zone "1.168.192.in-addr.arpa" (file
> db.192.168.1): no NS RRs found at zone top
> 24-Aug-2000 17:17:13.175 master zone "1.168.192.in-addr.arpa" (IN)
> rejected due to errors (serial 2000082302)
>
> any idea?
>
> thanks,
>
> --
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCS d- s+: a- C+++ UL++++$ P+ L+++ E--- W++ N+ o K- w---
> O+ M+ V- PS PE+ Y PGP+>+++ t+ 5 X+++ R- tv@ b+++ DI-- D+++
> G e- h++ !r !z
> ------END GEEK CODE BLOCK------
More information about the bind-users
mailing list