DNS
The Domain Name System translates names such as example.com into records that computers can use.
The Domain Name System translates names such as example.com into records that computers can use.
Simplified resolution process
- The application asks the operating system for a name.
- A configured resolver checks its cache.
- If necessary, recursive DNS infrastructure queries authoritative servers.
- The answer is returned and cached for its time-to-live period.
Important record types
Amaps a name to an IPv4 address.AAAAmaps a name to an IPv6 address.CNAMEcreates an alias.MXidentifies mail servers.TXTstores text used for verification and policies.
Useful lab commands include nslookup, dig and host. DNS data can support troubleshooting and defensive investigation, but it should not be treated as proof that a service is safe.