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

Steve Zeng steve.zeng at booking.com
Fri Aug 4 22:22:17 UTC 2017


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? 

When I called with "search-data” it looks much faster (a few seconds) with a lot more records (~30 thousands rows in the table ‘records' ).  

pdns-admin]# curl -H 'X-API-Key: mykey' '*&max=30000' 

any insight where the slowness comes from?


More information about the Pdns-users mailing list