On 04/11/2019 22:52, Bjoern Franke wrote:
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

You might want to strace the server process (strace -f -p <pid>) to see what it's doing during those 15 seconds.  It's probably waiting for a response from something.  It could be from the database, it could even from doing its own reverse DNS lookups just to log the HTTP request.

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

Reply via email to