<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 16, 2021 at 10:37 AM Roberto Carna <<a href="mailto:robertocarna36@gmail.com">robertocarna36@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear all, I have one BIND9 server as master and 3 as slaves.<br>
<br>
The master and one slave are in a given site #1, and the other two<br>
slaves are in a geographical different site #2.<br>
<br>
In case site #1 goes offline, I need to edit records in both slaves<br>
from site #2, in order to point some services to other public IP's for<br>
contingency.<br>
<br>
My question is:<br>
<br>
What is the recommended way to edit the records from a BIND9 slave?<br>
Because the zone files are binary files </blockquote><div> </div><div>Yup, if you are running (IIRC) > v9.9.x, the default is binary files.</div><div>You can convert these beck to text with:</div><div>named-compilezone -f raw -F text -o example.com.text <a href="http://example.com">example.com</a> example.com.binary<br></div><div><br></div><div>You can also change the default in named.conf:</div><div>options {<br>// many many options</div><div>masterfile-format text;<br>//<br>// many other options<br>//<br>}</div><div><br></div><div>The raw (binary) zone files are good for large zones, but for small zones, where speed isn't super important, text format works just fine... <br>W</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">and using the Webmin interface<br>
is blocked.<br>
<br>
The only manner is changing the configuration from slave to master?<br>
<br>
Thanks in advance, greetings!!!<br>
_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">The computing scientist’s main challenge is not to get confused by the<br>complexities of his own making. <br> -- E. W. Dijkstra</div></div></div>