LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   bind journal file not updating zone file (https://www.linuxquestions.org/questions/linux-newbie-8/bind-journal-file-not-updating-zone-file-4175460577/)

ilanadm 05-03-2013 09:01 AM

bind journal file not updating zone file
 
I've enabled updating zone files dynamically and tested it with nsupdate:

#nsupdate
>server ::1
>update add dd.example.com 86400 A 192.168.223.143
>send
>quit

nsupdate is successful and i can ping the new host.
a journal file is created but it does not dump the new host to example.com zone file.

Iv'e tried restarting named service.
I've also tried rndc freeze && rndc thaw - and rndc stop && rnd start

how can i force zone update??

I'm running Centos6 with kernel 2.6 and bind 9.8

bathory 05-03-2013 04:10 PM

Hi,

Please keep in mind that in a dynamic zone update the changes are saved in the journal file. If you want to dump the changes into the zone file, you need to freeze the zone and then thaw (unfreeze) it. E.g.
Code:

rndc freeze example.com
rndc thaw example.com

Do note also that the above method is used in the case you want to manually edit the zone file and it's better not to use it for other reasons.

Regards


All times are GMT -5. The time now is 07:24 AM.