What Is DNS? Domain Name System Explained
Learn what DNS is, how DNS resolution works, what common record types do, and why DNS is essential for websites, email, and online services.
Tools For This Topic
What DNS is
DNS, or the Domain Name System, is the system that translates human-readable domain names into the IP addresses computers use to reach each other on a network.
Without DNS, people would need to remember raw IP addresses for every website, API, or mail service they use. DNS gives the internet a naming layer that is easier for humans to manage and easier for systems to organise.
It is often described as the internet's phone book, but in practice DNS is more dynamic than that. It not only maps names to addresses, it also publishes routing, delegation, verification, and email security information.
How DNS resolution works
- A user or application asks a resolver for a hostname such as example.com
- The recursive resolver checks whether it already has a cached answer
- If not cached, it follows the DNS hierarchy to the relevant authoritative nameserver
- The authoritative server returns the requested record
- The resolver caches the answer for the record's TTL and returns it to the client
That full path usually happens in milliseconds, which is why DNS feels invisible when it is working well.
Common DNS record types
- A record: points a hostname to an IPv4 address
- AAAA record: points a hostname to an IPv6 address
- CNAME record: aliases one hostname to another hostname
- MX record: identifies the mail servers for a domain
- TXT record: stores text used for verification, SPF, DKIM, DMARC, and related controls
- NS record: identifies the authoritative nameservers for a zone
Why DNS matters
DNS is foundational infrastructure. If DNS is misconfigured, users may be unable to reach your website, email may stop delivering, and security controls such as SPF, DKIM, DMARC, DNSSEC, or CAA may fail.
That is why DNS issues can feel disproportionate: one incorrect record can affect traffic, trust, and operations at the same time.
Common DNS troubleshooting themes
- A record or CNAME points to the wrong destination
- A recent DNS change has not propagated through resolver caches yet
- Delegation is broken because NS or glue records are incorrect
- TXT records used for email or verification contain syntax mistakes
- The authoritative nameserver answer differs from public recursive resolvers
A strong DNS troubleshooting process always compares authoritative answers, public resolvers, and the exact record type that is supposed to be present.
Basic DNS validation commands
dig example.com A
dig example.com MX
dig example.com TXT
nslookup example.comUse These DNS Pro Tools
If you want to validate this topic in practice, these DNS Pro tools are the fastest next step.
Related Tools
Related Articles
What is an NS record?
Learn what NS records do, how nameserver delegation works, and how to troubleshoot DNS authority and resolution issues in real-world setups.
What Is an A Record? DNS A Record Explained
Learn what an A record is, how it maps a hostname to an IPv4 address, where it is used, and how to troubleshoot common A record issues.
What Is an AAAA Record? DNS AAAA Record Explained
Learn what an AAAA record is, how it maps a hostname to an IPv6 address, when to use it, and how to troubleshoot common AAAA record issues.
