[Pdns-users] Auto-create slave-domain

Frank Louwers frank+pdns at tembo.be
Wed Jun 7 12:29:28 UTC 2023


Hi Paul,

Yes, that is exactly what the "auto primary" / "auto secondary" does. See https://doc.powerdns.com/authoritative/modes-of-operation.html#supermaster-operation 

Kind Regards,

Frank


Frank Louwers
PowerDNS Certified Consultant @ Kiwazo.be

> On 7 Jun 2023, at 14:26, Paul van der Vlis via Pdns-users <pdns-users at mailman.powerdns.com> wrote:
> 
> Hello Andrea and others,
> 
> Op 07-06-2023 om 14:12 schreef Andrea Biancalani:
>> Hi there,
>> you can do that configuring master/slave with automaster option on master.
> 
> Master is not PowerDNS, but bind9. It sends an AXFR but that is refused by PowerDNS until I do something like:
> pdnsutil create-slave-zone domain.tld 1.2.3.4
> Where 1.2.3.4 is the master.
> 
> I would like to say something on the PowerDNS slave to create automatically the domain if an AXFR comes from a trusted server.
> 
> With regards,
> Paul
> 
>> When you create a zone on master this will be replicated on slave (but remember that  does not exists an "autodelete" so if you delete a zone from master it should be manually removed from slaves).
>> Here the documentation: https://doc.powerdns.com/authoritative/modes-of-operation.html
>> Andrea
>> Il 07/06/2023 13:54, Paul van der Vlis via Pdns-users ha scritto:
>>> Hello,
>>> 
>>> A customer uses Plesk with Bind9. There are two nameservers with PowerDNS, what are slave of the Plesk server.
>>> 
>>> But I have to create that slave-domain. What I would like is automatically create a slave-domain when the question comes from a server what is authorized to do that.
>>> 
>>> Is that possible?
>>> 
>>> With regards,
>>> Paul van der Vlis
>>> 
>>> 
>>> 
>> -- 
>> Andrea Biancalani - /Rep. Commerciale e Tecnico/
>> *Connessioni Metropolitane srl*
>> Via G. Valentini, 14 - Prato (PO) - 59100
>> Sito web: https://www.conmet.it
>> Tel. 0574 536553
>> Fax. 0574 536554
> 
> -- 
> Paul van der Vlis Linux systeembeheer Groningen
> https://vandervlis.nl/
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20230607/fcc85b53/attachment.htm>


More information about the Pdns-users mailing list