<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Thanks!<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jun 1, 2022, at 1:48 PM, Sandro <<a href="mailto:lists@penguinpee.nl" class="">lists@penguinpee.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">On 01-06-2022 20:07, Bruce Johnson via bind-users wrote:<br class="">
<br class="">
<blockquote type="cite" class="">I am migrating our BIND system to a new server/BIND version, and have<br class="">
a question about dynamically updated zone files (we have one dynamic<br class="">
zone). I am just copying all the configuration and zone files to the<br class="">
new server, do I need to run rndc freeze before shutting down bind<br class="">
and moving them or will just stopping the bind service properly deal<br class="">
with updating the zone file? Also do I need to copy over the .jnl<br class="">
file when I do this or will a new one get generated as needed?<br class="">
</blockquote>
<br class="">
Not a stupid question, but an easy answer (man 8 rndc):<br class="">
<br class="">
This command stops the server, making sure any recent changes made through dynamic update or IXFR are first saved to the master files of the updated zones.<br class="">
<br class="">
So as long as you stop named with 'rndc stop', the zone file will be up to date. That also makes the journal file obsolete. So, you don't need to move that over. But it doesn't hurt if you do.<br class="">
<br class="">
Before starting named on the new system, assuming your main configuration file is 'etc/named.conf', use:<br class="">
<br class="">
named-checkconf -z /etc/named.conf<br class="">
<br class="">
This will check your configuration and all your zones and tell you if anything is wrong.<br class="">
<br class="">
-- Sandro<br class="">
-- <br class="">
Visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" class="">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br class="">
<br class="">
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/" class="">https://www.isc.org/contact/</a> for more information.<br class="">
<br class="">
<br class="">
bind-users mailing list<br class="">
<a href="mailto:bind-users@lists.isc.org" class="">bind-users@lists.isc.org</a><br class="">
https://lists.isc.org/mailman/listinfo/bind-users<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<div class="">-- <br class="">
Bruce Johnson<br class="">
University of Arizona<br class="">
College of Pharmacy<br class="">
Information Technology Group<br class="">
<br class="">
Institutions do not have opinions, merely customs</div>
</span></div>
<br class="">
</body>
</html>