<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<style>
    font{
        line-height: 1.6;
    }
    ul,ol{
        padding-left: 20px;
        list-style-position: inside;
    }
</style>
<div style="font-family:微软雅黑,Verdana,"Microsoft Yahei",SimSun,sans-serif; line-height:1.6;">
    <div>
<div><span>Thank you for your reply.  How to switch slave to master in real time?  Does bind have command?</span></div>
<div><br></div><div id="ntes-pcmail-signature" style="font-family:'微软雅黑'"><div style="font-size:14px; padding: 0;  margin:0;">
                </div>
 

</div></div><div class="J-reply" style="background-color:#f2f2f2;color:black;padding-top:6px;padding-bottom:6px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:45px;margin-bottom:20px;font-family:'微软雅黑';">
    <div style="font-size:12px;line-height:1.5;word-break:break-all;margin-left:10px;margin-right:10px">On <span class="mail-date">8/22/2018 18:32</span>,<a class="mail-to" style="text-decoration:none;color:#2a83f2;" href="mailto:h.reindl@thelounge.net">Reindl Harald<h.reindl@thelounge.net></a> wrote: </div>
</div>
<blockquote id="ntes-pcmail-quote" style="margin: 0; padding: 0; font-size: 14px; font-family: '微软雅黑';">
<br><br>Am 22.08.2018 um 12:17 schrieb Zhengyu Pan:<br> <blockquote class="mmbqc1">Because I need to a master as a cold standby.  Another master need to<br> have the same zone  and configuration with the former.   When a master<br> is down, I need to switch to another master right away.<br></blockquote><br>you can make any slave at any point of time to a new master<br><br>typically you have *one* master and one slave which is confirured as<br>fallback-master on any other slaves - so in case you primary master<br>fails you change that one to a master with the data it already has just<br>make your changes on that slave which now became the master<br><br>when you restore the old master you just configure it as slave like<br>before and both just switching roles<br><br>there is no reason to maintain two masters<br><br> <blockquote class="mmbqc1">On 8/22/2018 16:39,Reindl Harald<h.reindl@thelounge.net><br> <mailto:h.reindl@thelounge.net> wrote:<br> <br> <br>     Am 22.08.2018 um 09:15 schrieb Zhengyu Pan:<br> <br>         Hi: <br>         In my application scenario, I have two master. Each master connect<br>         several slave dns. When users update zone, i update these two master<br>         respectively in a for loop. However, when any master update fails, i<br>         will roll bock. you know, whenever any update, zone's serial will<br>         increase. this cause that the serial numbers of zone in two<br>         masters are<br>         inconsistent. How can i keep these two masters' zones consistent<br>         in real<br>         time? Is using rsync tool a good way?  In the industry, is there<br>         a good<br>         way to synchronize two masters?<br> <br>     why two masters to begin with?<br></blockquote></blockquote><style type="text/css">
        a#ntes-pcmail-signature-default:hover {
            text-decoration: underline;
            color: #199cff;
            cursor: pointer;
        }

        a#ntes-pcmail-signature-default:active {
            text-decoration: underline;
            color: #246fce;
            cursor: pointer;
        }
    </style><!--😀-->
</div>
</body>
</html>