[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' 
> '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/


More information about the Pdns-users mailing list