<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Cem,<div class=""><br class=""></div><div class="">Thanks for your design documents. Is there a reason you only want the Mars DC dns infrastructure to be only online when the Venus one fails? Is that because the records are different? Because the easiest setup might be to have both online all the time.</div><div class=""><br class=""></div><div class="">if you do want failover, the next steps would be:</div><div class=""><br class=""></div><div class="">1. Make sure the infrastructure in both datacenters works, is configured correctly, is handling dns queries, is synced and monitored.</div><div class=""><br class=""></div><div class="">2. Once step 1 is done, you'd need some mechanism to determine when to switch over. That could a dnsdist in front of both, detecting the liveness of the datacenters to direct traffic. It could also be done using BGP, e.g. with ExaBGP or bird to announce routes for active datacenters: have a script check if the datacenter is functioning properly, and account a route to the upstream routers (with a certain preference) if so. If both datacenters are working properly, the network will send the traffic to the primary datacenter. If the primary datacenter is offline, the route will be withdrawn, and the second datacenter will receive all the traffic.</div><div class=""><br class=""></div><div class="">I (and others on this mailing list) can certainly help with your design and even implementation, but this would become an implementation & custom design project, not specifically something for this mailinglist which is about PowerDNS features and functionality.</div><div class=""><br class=""></div><div class="">Feel free to contact me off-list (<a href="mailto:frank@kiwazo.be" class="">frank@kiwazo.be</a>) if you want to discuss this project in more detail.</div><div class=""><br class=""></div><div class="">Kind Regards,</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">
<meta charset="UTF-8" class=""><div>Frank Louwers<br class="">PowerDNS Certified Consultant @ Kiwazo.be</div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Jun 17, 2021, at 8:21 AM, Cem Kıyanç <<a href="mailto:cem.kiyanc@trendyol.com" class="">cem.kiyanc@trendyol.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hi Frank,</span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">I have two different data center environments. Venuc DC ve Mars DC</span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">in this structure; Master: PowerDNS Slave: BindDNS Management Interface: poweradmin</span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">I will use octo dns in powerdns sync.<span class="Apple-converted-space"> </span></span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">my goal is to build a high availability structure</span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">What I want to ask is <span class="Apple-converted-space"> </span></span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">How can i run powerdns high availability</span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">How can I do that when one of the two powerdns servers is crash, the other one is activated automatically ?<span class="Apple-converted-space"> </span></span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Is active and replica structure suitable for mysql database (high availability)</span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Is there something missing or wrong that should be in this structure?<span class="Apple-converted-space"> </span></span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">I would be very grateful if you could explain in detail.</span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">I sent a screenshot in my previous e-mail, but I guess it did not reach you due to the size.</span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Thank you so much…</span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Kind Regards,</span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></p><div class=""><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0cm 0cm;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><b class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">From:</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="Apple-converted-space"> </span>Frank Louwers [mailto:<a href="mailto:frank%2Bpdns@tembo.be" style="color: purple; text-decoration: underline;" class="">frank+pdns@tembo.be</a>]<span class="Apple-converted-space"> </span><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Wednesday, June 16, 2021 9:37 AM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Cem Kıyanç <<a href="mailto:cem.kiyanc@trendyol.com" style="color: purple; text-decoration: underline;" class="">cem.kiyanc@trendyol.com</a>><br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span>pdns-users-ml <<a href="mailto:pdns-users@mailman.powerdns.com" style="color: purple; text-decoration: underline;" class="">pdns-users@mailman.powerdns.com</a>><br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [Pdns-users] PowerDNS Active - Passive Mode</span></div></div></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"> </p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Hi Cem,</div><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"> </p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">What you mean by "active passive"? Do you mean a main node and a standby backup node? For DNS it's recommended to just have multiple nodes which are all active, or use a networking technique such as anycast, bgp-ondemand route advertisement, or even better a dns aware load balancer such as dnsdist to perform failovers if you want to have an active / standby setup.</div></div><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"> </p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">I hope this answers your question. If not, please let us know what you want to accomplish and we'll point you in the right direction.</div></div><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"> </p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Kind Regards,</div></div><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"> </p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Frank</div></div><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"> </p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 10pt; font-family: "Avenir Next", serif;" class="">Frank Louwers<br class="">PowerDNS Certified Consultant @ Kiwazo.be</span></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><br class=""><br class=""></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class="" type="cite"><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">On Jun 16, 2021, at 12:23 AM, Cem Kıyanç via Pdns-users <<a href="mailto:pdns-users@mailman.powerdns.com" style="color: purple; text-decoration: underline;" class="">pdns-users@mailman.powerdns.com</a>> wrote:</div></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"> </p><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hi,</span></div></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Can I run powerdns active – passive ?<span class="apple-converted-space"> </span></span></div></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">I couldn't find any information on this topic.<span class="apple-converted-space"> </span></span></div></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">thank you so much.</span></div></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Regards.</span></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">_______________________________________________<br class="">Pdns-users mailing list<br class=""></span><a href="mailto:Pdns-users@mailman.powerdns.com" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: rgb(149, 79, 114);" class="">Pdns-users@mailman.powerdns.com</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""></span><a href="https://clicktime.symantec.com/3BZBSs6aAabvqD5ujqr4GJS6H2?u=https%3A%2F%2Fmailman.powerdns.com%2Fmailman%2Flistinfo%2Fpdns-users" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: rgb(149, 79, 114);" class="">https://mailman.powerdns.com/mailman/listinfo/pdns-users</span></a></div></div></blockquote></div></div></div></div></blockquote></div><br class=""></div></body></html>