<div dir="ltr"><div>Having text files makes editing easier, but you still want to keep the slaves the same - making the identical edit multiple times is some work, but may not actually happen depending on circumstances (people make mistakes)</div><div><br></div><div>I like to make all the servers 'masters' - so whoever has the highest serial number wins.  Then if you update one slave, it is automatically synced to the others.  This might conflict with however you populate your true master.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 17, 2021 at 6:30 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">Warren, thanks a lot....with the masterfile-format clause it works OK.<br>
<br>
Greetings!!!<br>
<br>
El jue, 16 dic 2021 a las 15:43, Warren Kumari (<<a href="mailto:warren@kumari.net" target="_blank">warren@kumari.net</a>>) escribió:<br>
><br>
><br>
><br>
> On Thu, Dec 16, 2021 at 10:37 AM Roberto Carna <<a href="mailto:robertocarna36@gmail.com" target="_blank">robertocarna36@gmail.com</a>> wrote:<br>
>><br>
>> 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<br>
><br>
><br>
> Yup, if you are running (IIRC) > v9.9.x, the default is binary files.<br>
> You can convert these beck to text with:<br>
> named-compilezone -f raw -F text -o example.com.text <a href="http://example.com" rel="noreferrer" target="_blank">example.com</a> example.com.binary<br>
><br>
> You can also change the default in named.conf:<br>
> options {<br>
> // many many options<br>
> masterfile-format text;<br>
> //<br>
> // many other options<br>
> //<br>
> }<br>
><br>
> 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<br>
><br>
><br>
>><br>
>> 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>
><br>
><br>
><br>
> --<br>
> The computing scientist’s main challenge is not to get confused by the<br>
> complexities of his own making.<br>
>   -- E. W. Dijkstra<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>