<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: sans-serif;"><div class="markdown" style="white-space: normal;">
<p dir="auto">I'm baffled by something strange I came across yesterday, and would<br>
appreciate an injection of clue.</p>
<p dir="auto">I've kept this message short. Of course I can give more detail, but<br>
it's not yet clear what might be useful enough either to merit imposing<br>
a longer message on readers' attention, or to justify the cost to me<br>
of preparing one containing minute detail.</p>
<p dir="auto">I was doing some housekeeping in preparation for upgrading a primary<br>
authoritative nameserver currently running BIND9.18 on Ubuntu 22.04<br>
to BIND9.20 on Ubuntu 24.04.</p>
<p dir="auto">All of the zone and key data in the directory tree <em>/etc/bind/dynamic/</em><br>
were relocated to <em>/var/lib/bind/dynamic/</em> while <strong>named</strong> was stopped.<br>
Corresponding changes were made to the configuration.</p>
<p dir="auto">On restarting <strong>named</strong>, log messages seemed to indicate success, but<br>
information displayed in response to <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">rndc zonestatus</code> referred to<br>
files in <em>/etc/bind/dynamic/</em>, which actually no longer existed.</p>
<p dir="auto">Specifically, after <strong>named</strong> had logged the message</p>
<p dir="auto"><code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">zone foo.ie/IN: loaded serial 2022031967 (DNSSEC signed)</code>,</p>
<p dir="auto">indicating that the zone must have been loaded from a file in<br>
<em>/var/lib/bind/dynamic/foo.ie/</em> (as this was the only available source),<br>
the response to <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">rndc zonestatus</code> included the line</p>
<p dir="auto"><code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">files: /etc/bind/dynamic/foo.ie/db.foo.ie</code>.</p>
<p dir="auto">As I did not understand the significance of this anomaly, it seemed<br>
prudent to revert to the prior configuration.</p>
<p dir="auto">Thanks in anticipation,<br>
Niall O'Reilly</p>

</div>
</div>
</body>

</html>