V8 dump bollixes db. files
Kevin Darcy
kcd at daimlerchrysler.com
Tue Apr 4 22:50:06 UTC 2000
Seems to me that if you're already to the point of using Dynamic Update to
maintain your DNS data, that you've long since outgrown an /etc/hosts file.
Consider making the DNS zonefile your "master" source of data, maintain it
using any of the various free tools available. If you still need an /etc/hosts
file for some reason, generate it from the zonefile(s) using a script.
Alternatively, why not modify h2n to just make incremental updates through
Dynamic Update?
- Kevin
Delmer Harris wrote:
> Yes, I do have dynamic updates enabled. I see why a snapshot file would be
> beneficial. Is there anything, short of removing the db.whatever file,
> that I can do to keep 'h2n' from giving up when it finds the snapshot file
> instead of the original format of db.whatever?
>
> I suppose, since I am using the "-y" option, that I could just remove the
> db.whatever file each time as the warnings about serial number don't apply
> in that case. I would prefer not to do that so other suggestions are
> welcome.
>
> Barry Margolin <barmar at bbnplanet.com> on 04/04/2000 02:18:56 PM
>
>
>
> To: comp-protocols-dns-bind at moderators.isc.org
>
> cc:
>
>
>
> Subject: Re: V8 dump bollixes db. files
>
>
> In article <200004041633.JAA29456 at isrv3.isc.org>,
> Delmer Harris <dharris at kcp.com> wrote:
> >
> >
> >I build new db. files from /etc/hosts on a regular basis, using the
> >date-based serial number to avoid serial number problems. Since I changed
> >to 8.2.2P5 I notice that I occasionally receive the following message when
> >'h2n' runs:
> >
> >Improper format SOA in db.whatever.
> >I give up ... sorry.
> >
> >When I look at the db.whatever file I discover that it is no longer the
> >file created by 'h2n' but is instead a ";BIND DUMP V8" file. I can
> >manually remove the db.whatever file and then 'h2n' will run properly
> until
> >the db.whatever file is once again overwritten by a dump file.
> >
> >I am sure there is a simple option I can set somewhere which will prevent
> >the overwriting of the db.whatever file. I have checked "DNS & BIND" and
> >found no reference in the index to a dump file other than the database
> >dump. Would someone please tell me where to RTFM, what run-time option to
> >give 'named', or some other clue to help me avoid this problem? TIA
>
> Do you have dynamic updates enabled? When updates are allowed, named
> periodically writes out a new db file with a snapshot of the zone.
>
> --
> Barry Margolin, barmar at bbnplanet.com
> GTE Internetworking, Powered by BBN, Burlington, MA
> *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
> Please DON'T copy followups to me -- I'll assume it wasn't posted to the
> group.
More information about the bind-users
mailing list