Ah, if you want automatic replication of unknown domains, you'll need one of 
two options:

- AutoPrimary:  
https://doc.powerdns.com/authoritative/modes-of-operation.html#supermaster-operation
 where you tell your replica you trust certain IPs to send you NOTIFYs for 
domains you don't know yet.

- https://doc.powerdns.com/authoritative/catalog.html Catalogue zones, where 
you add a zone to a catalogue, and the replicas of that catalogue will 
automatically add it.

Hope this helps!

Frank


Frank Louwers
PowerDNS Certified Consultant @ Kiwazo.be





> On 17 Oct 2023, at 17:09, Andres Alejandro Dobie <andres.do...@gmail.com> 
> wrote:
> 
> well...
> 
> My MASTER PDNS server DDBB looks like:
> 
> <image.png>
> 
> Test2.dev is a new test zone create today with:
> 
> pdnsutil create-zone test2.dev <http://test2.dev/>
> pdnsutil set-kind test2.dev <http://test2.dev/> MASTER  
> pdnsutil add-record test2.dev <http://test2.dev/> @ NS ns1.example.com 
> <http://ns1.example.com/>
> pdnsutil add-record test2.dev <http://test2.dev/> @ NS ns2.example.com 
> <http://ns2.example.com/>
> pdnsutil increase-serial test2.dev <http://test2.dev/>
> 
> My SLAVE PDNS server DDBB looks like:
> 
> <image.png>
> 
> In my SLAVE PDNS server dont authomatic replicate this zone :-(
> 
> I change MASTER and SLAVE directives in /etc/pdns/pdns.conf to the new format:
> 
> In my MASTER PDNS:
> 
> <image.png>
> 
> And in me SLAVE PDNS:
> 
> <image.png>
> 
> 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.
> 
> Any recommendation is welcome :-)
> 
> 
> 
> El mar, 17 oct 2023 a las 10:15, Andres Alejandro Dobie 
> (<andres.do...@gmail.com <mailto:andres.do...@gmail.com>>) escribió:
>> Thanks Frank for your response, today I'm going to be testing the 
>> modifications you recommend and see what happens. 
>> 
>> I keep you updated on whether or not they were successful. 
>> 
>> Thank you very much again for the responses.
>> 
>> El vie, 13 oct 2023 a las 3:35, Frank @ kiwazo.be <http://kiwazo.be/> 
>> (<frank+p...@tembo.be <mailto:frank%2bp...@tembo.be>>) escribió:
>>> Hi Andres,
>>> 
>>> Yes, it would need to type MASTER (you can set that when you create the 
>>> domain, or change it later).
>>> 
>>> All those where you want pdns to send NOTIFYs, should be of type MASTER.
>>> 
>>> 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.
>>> 
>>> Frank
>>> 
>>> Frank Louwers
>>> PowerDNS Certified Consultant @ Kiwazo.be
>>> 
>>> 
>>> 
>>> 
>>> 

_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to