[Pdns-users] Adjusting slaves via API
Pieter De Wit
pieter at insync.za.net
Tue Mar 15 06:46:24 UTC 2022
Hi Otto,
I have a server that is the master for “example.com <http://example.com/>” - we are dynamically allocating slaves on DHCP. I would like the master to send notify messages when the zone is changed to this list of dynamic slaves. The only way I can see of doing this is to “register” the slaves via the API ?
Hope that expands what I am trying to do ?
Thanks !
> On 15/03/2022, at 19:37, Otto Moerbeek <otto at drijf.net> wrote:
>
> On Tue, Mar 15, 2022 at 03:11:43PM +1300, Pieter De Wit via Pdns-users wrote:
>
>> Hi All,
>>
>> I was wondering if there is a way to list/adjust the slaves of a zone via the API ?
>>
>> Thanks,
>>
>> Pieter
>
> yes, see
>
> https://docs.powerdns.com/authoritative/http-api/zone.html#put--servers-server_id-zones-zone_id
>
> and other REST calls on that page. If you have a more specific
> question, ask.
>
> -Otto
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220315/84d25504/attachment.htm>
More information about the Pdns-users
mailing list