Interview Prep/Linux/Rapid-Fire Commands

Measure DNS resolution time from the server.

IntermediateProductionRapid-Fire Commands
Answer
dig api.example.com | grep 'Query time'
curl -o /dev/null -s -w 'dns=%{time_namelookup} connect=%{time_connect} tls=%{time_appconnect} total=%{time_total}\n' https://api.example.com
All Linux questions Roadmap: Linux

More on Rapid-Fire Commands