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

Peter van Dijk peter.van.dijk at powerdns.com
Tue Aug 8 16:41:11 UTC 2017

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' 
> ''
> Is this a noticed performance problem?

Yes - see the (somewhat stale) 
https://github.com/PowerDNS/pdns/pull/4628. Your input there would be 

Kind regards,
Peter van Dijk
PowerDNS.COM BV - https://www.powerdns.com/

More information about the Pdns-users mailing list