[C[CChange in the Syntax?

Kevin Darcy kcd at daimlerchrysler.com
Tue Sep 26 01:00:55 UTC 2000


The owner names are not dot-terminated, so named is assuming that the origin
should be appended to them, resulting in "doubled" names like
"0.0.127.in-addr.arpa.0.0.127.in-addr.arpa". The "0.0.127.in-addr.arpa" record
could just start with whitespace (or "@"). The "1.0.0.127.in-addr.arpa" record
could just start with "1". E.g.

@       IN      SOA     sruben.local.scalabletech.com. ruben.wynn.com. (
                        1111 ; serial
                        43200 ; refresh
                        3600 ; retry
                        2419200 ; expire
                        86400 ; default_ttl
                        )
        IN      NS      sruben.local.scalabletech.com.
1       IN      PTR     localhost.

I find this more readable. Alternatively, you could just dot-terminate the names.


- Kevin


Sapphire Software wrote:

> 've been struggling with this but can't track down the problem.
>
> The /etc/named.conf looks like this:
>
> _____________________________________________________________________
> options {
>         directory "/usr/local/named";
> };
>
> zone "." {
>         type hint;
>         file "db.cache";
> };
>
> zone "0.0.127.in-addr.arpa"{
>         type master;
>         file "db.127.0.0";
> };
>
> zone "0.168.192.in-addr.arpa"{
>         type master;
>         file "db.192.168.0.100";
> };
>
> zone "local.scalabletech.com"{
>         type master;
>         file "db.scalabletech";
> };
> _________________________________________
>
> I must have a syntax problem in the db.120.0.0 file - but I think it's
> pretty much the same as I've used on other systems ... it looks like this:
>
> @       IN      SOA     sruben.local.scalabletech.com. ruben.wynn.com. (
>                         1111 ; serial
>                         43200 ; refresh
>                         3600 ; retry
>                         2419200 ; expire
>                         86400 ; default_ttl
>                         )
> 0.0.127.in-addr.arpa            IN      NS      sruben.local.scalabletech.com.
> 1.0.0.127.in-addr.arpa          IN      PTR     localhost.
>
> Any clues as to the error?






More information about the bind-users mailing list