<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Ah, if you want automatic replication of unknown domains, you'll need one of two options:<div><br></div><div>- AutoPrimary: <a href="https://doc.powerdns.com/authoritative/modes-of-operation.html#supermaster-operation">https://doc.powerdns.com/authoritative/modes-of-operation.html#supermaster-operation</a> where you tell your replica you trust certain IPs to send you NOTIFYs for domains you don't know yet.</div><div><br></div><div>- <a href="https://doc.powerdns.com/authoritative/catalog.html">https://doc.powerdns.com/authoritative/catalog.html</a> Catalogue zones, where you add a zone to a catalogue, and the replicas of that catalogue will automatically add it.</div><div><br></div><div>Hope this helps!</div><div><br></div><div>Frank</div><div><br></div><div><br><div>
<meta charset="UTF-8">Frank Louwers<br>PowerDNS Certified Consultant @ Kiwazo.be<br><br><br><br><br>
</div>
<div><br><blockquote type="cite"><div>On 17 Oct 2023, at 17:09, Andres Alejandro Dobie <andres.dobie@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr">well...<div><br></div><div>My MASTER PDNS server DDBB looks like:</div><div><br></div><div><span id="cid:ii_lnug23090"><image.png></span><br></div><div><br></div><div><div>Test2.dev is a new test zone create today with:</div><div><br></div><div>pdnsutil create-zone <a href="http://test2.dev/">test2.dev</a><br>pdnsutil set-kind <a href="http://test2.dev/">test2.dev</a> MASTER <br>pdnsutil add-record <a href="http://test2.dev/">test2.dev</a> @ NS <a href="http://ns1.example.com/">ns1.example.com</a><br>pdnsutil add-record <a href="http://test2.dev/">test2.dev</a> @ NS <a href="http://ns2.example.com/">ns2.example.com</a><br>pdnsutil increase-serial <a href="http://test2.dev/">test2.dev</a></div></div><div><br></div><div>My SLAVE PDNS server DDBB looks like:</div><div><br></div><div><span id="cid:ii_lnug2xis1"><image.png></span><br></div><div><br></div><div>In my SLAVE PDNS server dont authomatic replicate this zone :-(</div><div><br></div><div>I change MASTER and SLAVE directives in /etc/pdns/pdns.conf to the new format:</div><div><br></div><div>In my MASTER PDNS:</div><div><br></div><div><span id="cid:ii_lnughjmv2"><image.png></span><br></div><div><br></div><div>And in me SLAVE PDNS:</div><div><br></div><div><span id="cid:ii_lnugiadl3"><image.png></span><br></div><div><br></div><div>In any case, I can't get it to automatically replicate it on the slave when I create a new zone on the master. Obviously I'm doing or configuring something wrong but I can't figure out what it is.<br></div><div><br></div><div>Any recommendation is welcome :-)<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mar, 17 oct 2023 a las 10:15, Andres Alejandro Dobie (<<a href="mailto:andres.dobie@gmail.com">andres.dobie@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Frank for your response, today I'm going to be testing the modifications you recommend and see what happens. <div><br></div><div>I keep you updated on whether or not they were successful. </div><div><br></div><div>Thank you very much again for the responses.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie, 13 oct 2023 a las 3:35, Frank @ <a href="http://kiwazo.be/" target="_blank">kiwazo.be</a> (<<a href="mailto:frank%2Bpdns@tembo.be" target="_blank">frank+pdns@tembo.be</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi Andres,<div><br></div><div>Yes, it would need to type MASTER (you can set that when you create the domain, or change it later).</div><div><br></div><div>All those where you want pdns to send NOTIFYs, should be of type MASTER.</div><div><br></div><div>Also just a suggestion: you're using both the old ("master") and new ("primary") syntax in the config files. While that's perfectly fine, it can lead to confusing situations later on. I would take 10m to change the configs to the new wording.</div><div><br></div><div>Frank</div><div><br id="m_-7613482755673355385m_2862366959305935572lineBreakAtBeginningOfMessage"><div>
Frank Louwers<br>PowerDNS Certified Consultant @ Kiwazo.be<br><br><br><br><br>
</div>
<div><br></div></div></div></blockquote></div>
</blockquote></div>
</div></blockquote></div><br></div></body></html>