March 24, 2015

Updating Bind File on a Zone Setup for RFC 2845

Bind is horrible at telling you what is going on if you happen to have the setup and mess it up.

Bind is horrible at telling you what is going on if you happen to have the setup and mess it up.

First problem you will likely see iafter failing to do this properly is

rndc: ‘reload’ failed: out of range

You might find the following in the logs

journal rollforward failed: journal out of sync with zone

not loaded due to errors

The fix to get all of this back working is as follows.  

First find the directory you store your zone files in and run the following command.

rndc freeze <your domain>

Then find any strangling .jnl files.  These are the journal files and they can be safely removed.

Now you can run the following.

rndc thaw <your domain>

Now your dans should be back and working.  In the future run

rndc freeze <your domain>

Make your changes to the zone file

rndc thaw <your domain>

I suspect there aren’t many people using rfc 2485 at home because finding info on anything but the initial config seems impossible.

 

Leave a comment

You must be logged in to post a comment.