Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bind 9.9.1-P1 renamed some slaves zone files. How to prevent it to do so?

720 views
Skip to first unread message

Kovács Albert

unread,
Jul 24, 2012, 9:51:49 AM7/24/12
to bind-...@lists.isc.org
Hello,

I have bind 9.9.1-P1 as a slave dns. I noticed that it couldn't access some zones from the master server, and it renamed some zone files to "db-xxxxxxxx"

The following message was logged:

"zone foo.bar/IN: unable to load from 'foo.bar.zone'; renaming file to 'db-L3yXPcbQ' for failure analysis and retransferring."

My question is how to make the slave server not to touch the zone file (and keep serving the zone) if the master dns server weren't available?

Alberto

Doug Barton

unread,
Jul 24, 2012, 12:23:11 PM7/24/12
to Kovács Albert, bind-...@lists.isc.org
On 7/24/2012 6:51 AM, Kov�cs Albert wrote:
> Hello,
>
> I have bind 9.9.1-P1 as a slave dns. I noticed that it couldn't access some zones from the master server, and it renamed some zone files to "db-xxxxxxxx"
>
> The following message was logged:
>
> "zone foo.bar/IN: unable to load from 'foo.bar.zone'; renaming file to 'db-L3yXPcbQ' for failure analysis and retransferring."

That message means that it can't load the zone from the file. Use
named-checkzone on the db- file to determine why.


--
If you're never wrong, you're not trying hard enough


Kim, Sehoon

unread,
Jul 24, 2012, 12:29:57 PM7/24/12
to Doug Barton, bind-...@lists.isc.org
masterfile-format text;

bind9.0.x default format at slave is raw...

2012. 7. 25. 1:23 Doug Barton <do...@dougbarton.us> 작성:
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> bind-users mailing list
> bind-...@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
>




Mark Andrews

unread,
Jul 24, 2012, 5:49:41 PM7/24/12
to Kovács Albert, bind-...@isc.org

In message <1343137909.130...@web125605.mail.ne1.yahoo.com>, =?iso-
8859-1?Q?Kov=E1cs_Albert?= writes:
> Hello,
>
> I have bind 9.9.1-P1 as a slave dns. I noticed that it couldn't access some z
> ones from the master server, and it renamed some zone files to "db-xxxxxxxx"
>
> The following message was logged:
>
> "zone foo.bar/IN: unable to load from 'foo.bar.zone'; renaming file to 'db-L3
> yXPcbQ' for failure analysis and retransferring."
>
> My question is how to make the slave server not to touch the zone file (and k
> eep serving the zone) if the master dns server weren't available?
>
> Alberto

As of BIND 9.9.0 the default file format for slave zones is now
'raw'. This was done to speed up the loading of the server.

The first time you run named after upgrading from a earlier version
it will attempt to load the backup file. This will fail and the
standard error handling will kick in. Named renames the backup
file for later analysis, logs that it is doing this then it retransfers
the zone from the master. The zone will then be written to disk in
raw format.

If you switch back to a earlier version named will do the same thing except
the file will be written in master (text) format.

Mark
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org
0 new messages