how to see every hop in dns resolution code example Example: how to do a dns trace $ dig +trace www.example.com