Hi,

If you can replicate this with curl, and show the actual API requests
you are making - including the failure responses - then maybe this will
give a clue.

There is no real failure response, but the following request needed 14 secs:

curl -X PATCH --data '{"rrsets": [ {"name": "test.ffnw.de.", "type": "A", "ttl": 3600, "changetype": "REPLACE", "records": [ {"content": "192.0.5.4", "disabled": false } ] } ] }' -H 'X-API-Key: apikey' http://127.0.0.1:8081/api/v1/servers/localhost/zones/ffnw.de. | jq . % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 155 0 0 100 155 0 10 0:00:15 0:00:14 0:00:01 0

After looking into a dump of the PowerDNS-Admin request, it seems PowerDNS-Admin wants to replace all 200 records of the zone after pressing the "apply" button. 200 x ~10 seconds does take some time.

Regards
Bjoern
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to