BIND 8.3.3 reverse dns: master zone rejected due to errors
Kevin Darcy
kcd at daimlerchrysler.com
Tue Aug 10 22:34:30 UTC 2004
Actually, the only thing that *really* needs to be done is to give a
proper owner name to the SOA RR. "@" as the owner name would work fine.
None of the $ORIGIN or $TTL stuff is strictly necessary, nor is any
rearrangement of the RRs.
The zone file might be a little less confusing, though, if the PTR RR
were moved below the NS RRs...
- Kevin
BOG wrote:
>Greetings Andreas,
> Please read my solution below...
>
>Andreas Bachmann <bachi at te-clan.ch> wrote in message news:<cdhdlk$2lu1$1 at sf1.isc.org>...
>
>
>>Hi all,
>>
>>I have a problem creating a reverse dns in BIND 8.x
>>
>>/var/named/named.conf
>>
>>--------------
>>options {
>> directory "/";
>>};
>>
>>zone "." in {
>> type hint;
>> file "named.root";
>>};
>>
>>zone "te-clan.ch" in {
>> type master;
>> file "db.te-clan.ch";
>>};
>>
>>zone "194.118.217.in-addr.arpa" in {
>> type master;
>> file "db.217.118.194";
>>};
>>--------------
>>
>>/var/named/db.217.118.194
>>
>>--------------
>>$ORIGIN 194.118.217.in-addr.arpa.
>>40 3600 IN PTR te-clan.ch.
>> 3600 IN SOA ns1.te-clan.ch. info.te-clan.ch. (
>> 1 10800 3600 86400 86400 )
>> 3600 IN NS ns1.te-clan.ch.
>> 3600 IN NS ns2.te-clan.ch.
>>--------------
>>
>>
>
>TRY this:
>
>$ORIGIN 194.118.217.in-addr.arpa.
>$TTL 3600 ; This statement will stop the "No default TTL" error
> ; You can, of course change it to a different number,
> ; if you wish
>
>@ IN SOA ns1.te-clan.ch. info.te-clan.ch. ( 1 10800 3600 86400 86400 )
>
>40.194.118.217.in-addr.arpa. IN NS ns1.te-clan.ch.
>41.194.118.217.in-addr.arpa. IN NS ns2.te-clan.ch.
>
>
>
>That will fix it.
>
>Best wishes,
> Chris
>
>
>
>
>>Error
>>
>>--------------
>>[root at te-clan.ch ~] named -d 1 -u bind -g bind -t /var/named named.conf
>>[root at te-clan.ch ~] cat named.run
>>[...]
>>update_zone_info('194.118.217.in-addr.arpa', 1)
>>source = db.217.118.194
>>purge_zone(194.118.217.in-addr.arpa,1)
>>reloading zone
>>db_load(db.217.118.194, 194.118.217.in-addr.arpa, 12, Nil, Normal)
>>db.217.118.194:6: SOA for "40.194.118.217.in-addr.arpa" not at zone top "194.118.217.in-addr.arpa"
>>db.217.118.194: WARNING SOA expire value is less than 7 days (86400)
>>Zone "194.118.217.in-addr.arpa" (file db.217.118.194): No default TTL ($TTL <value>) set, using SOA minimum instead
>>Zone "194.118.217.in-addr.arpa" (file db.217.118.194): no NS RRs found at zone top
>>purge_zone(194.118.217.in-addr.arpa,1)
>>master zone "194.118.217.in-addr.arpa" (IN) rejected due to errors (serial 1)
>>do_reload: 194.118.217.in-addr.arpa 1 1 1
>>purge_zone(194.118.217.in-addr.arpa,1)
>>do_reload: matched .
>>[...]
>>--------------
>>
>>danks for help!
>>
>>greets
>>
>>Andreas Bachmann
>>
>>
>
>
>
>
>
>
More information about the bind-users
mailing list