[Pdns-users] Odp: Re: Odp: Re: Domains created on master are not created on slave.

kamil kapturkiewicz horizn at wp.pl
Mon Nov 9 13:23:21 UTC 2015


Dnia Pi±tek, 6 Listopada 2015 18:51 Pieter Lexis <pieter.lexis at powerdns.com> napisa³(a) 
> Hi Kamil,
> 
> On 11/06/2015 04:17 PM, kamil kapturkiewicz wrote:
> > Yes indeed, just added supermaster and it seems to be working as expected. One more thing is concerning me:
> > Do I need run manually:
> > INSERT INTO domains (name, master, type) VALUES ('example.com', 'IP', 'SLAVE');
> > for every newly added domain?
> > Is it possible to add global master IP address which will be accepted for all future domains?
> 
> Yes, this is the supermaster feature. See the documentation about this
> here: [1] and [2].
> 
> 1 -
> https://doc.powerdns.com/md/authoritative/modes-of-operation/#supermaster-automatic-provisioning-of-slaves
> 2 -
> https://doc.powerdns.com/md/authoritative/backend-generic-mypgsql/#superslave-operation
> 
> Best regards,
> 
> Pieter
> 
> -- 
> Pieter Lexis

Hi Pieter,
thanks for your previous answers, however I have one more question:
To configure supermaster/superslave, do I need LUA script or 
INSERT INTO supermasters VALUES ('203.0.113.53', 'autoslave.example.com', 'internal');
in slave database will be enough?







More information about the Pdns-users mailing list