Troubleshooting high latency due to DNS using a policy trace