A DNS lookup queries a domain's DNS records. It reveals a site's IP (A/AAAA), which servers receive its email (MX), email policies and verifications (TXT), the authoritative servers (NS) and much more. It's the first diagnostic step whenever a site or email stops working.