﻿Trace the complete DNS resolution path for the domain "api.staging.example.com" starting from a cold cache. Show every query and response at each level: root nameserver, TLD nameserver, authoritative nameserver. Explain CNAME handling if the domain is an alias. Implement a simplified iterative DNS resolver in Python that performs this resolution using only UDP sockets (no dnspython, no socket.getaddrinfo).
