[Pdns-users] [External] /api/v1/servers/localhost/zones api call very slow

Steve Zeng steve.zeng at booking.com
Fri Aug 18 18:36:07 UTC 2017


Peter,

I added my comment at that issue, though it looks a different issue since I do see DNSSEC info in the result. 

Thanks,
Steve

> On Aug 8, 2017, at 9:41 AM, Peter van Dijk <peter.van.dijk at powerdns.com> wrote:
> 
> Hello Steve,
> 
> On 5 Aug 2017, at 0:22, Steve Zeng wrote:
> 
>> We have a few thousands zones (in the table ‘domains') hosted in PowerDNS database (MySQL). it looks very slow (10-12 minutes) to get a list of all domains with API call below:
>> 
>> curl -H 'X-API-Key: mykey' 'http://127.0.0.1:8080/api/v1/servers/localhost/zones/'
>> 
>> Is this a noticed performance problem?
> 
> Yes - see the (somewhat stale) https://github.com/PowerDNS/pdns/pull/4628. Your input there would be welcome.
> 
> Kind regards,
> -- 
> Peter van Dijk
> PowerDNS.COM BV - https://www.powerdns.com/
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users




More information about the Pdns-users mailing list