DNS
DNS (Domain Name System) is the Internet's naming system. Its best-known job is translating human-friendly domain names such as example.com into the numeric IP addresses computers use to reach a server.[1][2] It is hierarchical and decentralized: no single server holds every name, and lookups pass from root servers to top-level-domain servers to the domain's own authoritative nameserver.[1][2]
What does DNS mean in simple terms?
Computers find each other by IP address, but people remember names. When you type a web address, your device asks a DNS resolver (usually run by your internet provider, or a public one you choose) for the matching address, and the browser then connects to it.[2] Answers are cached for a set time (TTL), so most lookups finish without repeating the whole chain.[2] DNS was first specified in 1983, and the core standard in use today dates from 1987.[3][4] Public resolvers such as Cloudflare's 1.1.1.1 and Google's 8.8.8.8 can be used free of charge instead of your provider's default.[5][6]
How can DNS be explained with an analogy?
DNS works like a phone book for the Internet. You look up a name and get back the number you need to call, so you never have to memorize the number itself.[2]
Where is DNS used?
Connecting a company domain to a website host — Illustrative example
Suppose a small company buys example.com and builds its site on Vercel. At its DNS provider it adds an A record for the apex domain pointing to the address shown in Vercel's dashboard (often 76.76.21.21, though newer projects may get a different address), plus a CNAME record that points www to a project-specific target.[7] Vercel suggests a short TTL such as 300 seconds while setting up, so changes spread quickly.[7] This is a hypothetical walkthrough based on Vercel's documentation, not a real company's results.
Result: Visitors type the name only; DNS returns the address, and the site loads.[2][7]
Cloudflare 1.1.1.1 — A public resolver focused on privacy
Cloudflare launched the 1.1.1.1 public DNS resolver on April 1, 2018.[5] At launch, it committed to never writing querying IP addresses to disk, to wiping logs within 24 hours, and to annual audits by KPMG.[5] Cloudflare said its own testing at launch, with DNSPerf data, showed the resolver outperforming other consumer DNS services including Google's 8.8.8.8; this is the company's claim, and speed varies by location and network.[5] Google Public DNS (8.8.8.8 and 8.8.4.4) is another widely used free option.[6]
Result: Anyone can switch their device or router to a public resolver; Google recommends configuring at least two DNS addresses for reliability.[6]
Why it matters
First, it is the first step in running a website: buy a domain, set its DNS records, then connect the site.[7] Second, it is a security gate. Attackers who place false records in a resolver's cache (DNS cache poisoning or spoofing) can send users to the wrong site until the record expires.[8] Third, the choice of provider matters. Your registrar, DNS host and resolver can be different companies, and each affects reliability and privacy.[2][5]
Try it today
- Check where your company domain's DNS is hosted and who can change its records.
- Before switching DNS providers or nameservers, copy every existing record, including email (MX) and verification (TXT) records.
- Lower the TTL before planned changes so new values take effect sooner.[7]
- Consider an encrypted DNS option (DNS over HTTPS or DNS over TLS) on company devices.[6][9]
Limits and direction
Classic DNS was designed for a small, trusted network and sends lookups unencrypted, so networks along the way can see or alter them.[8][10] DNSSEC adds signatures to verify DNS data, but Cloudflare notes it is still not widely adopted.[8] DNS over HTTPS (RFC 8484, 2018) encrypts lookups, and Firefox began enabling it by default for US users in February 2020.[9][10] Encryption protects the lookup in transit, but you still need to trust the resolver that answers.[5][10]
How has DNS evolved?
Which concepts are related to DNS?
- Related conceptDomainDNS is the system that turns a domain name into an IP address.[1]
- Major providerCloudflareRuns the 1.1.1.1 public DNS resolver, launched in 2018.[5]
Which sources explain DNS?
- MDN Web Docs (Mozilla) — DNS (glossary) — https://developer.mozilla.org/en-US/docs/Glossary/DNS
- Cloudflare Learning Center — What is DNS? — https://www.cloudflare.com/learning/dns/what-is-dns/
- RFC Editor (P. Mockapetris, ISI) — RFC 882: Domain Names — Concepts and Facilities (November 1983) — https://www.rfc-editor.org/rfc/rfc882
- RFC Editor — RFC 1034: Domain Names — Concepts and Facilities (November 1987) — https://www.rfc-editor.org/info/rfc1034
- Cloudflare Blog — Announcing 1.1.1.1: the fastest, privacy-first consumer DNS service (2018-04-01) — https://blog.cloudflare.com/announcing-1111/
- Google for Developers — Google Public DNS: Get Started (updated 2024-09-03) — https://developers.google.com/speed/public-dns/docs/using
- Vercel Knowledge Base — Can I use my domain on Vercel with A records? (reviewed 2026-10-14) — https://vercel.com/kb/guide/a-record-and-caa-with-vercel
- Cloudflare Learning Center — What is DNS cache poisoning? — https://www.cloudflare.com/learning/dns/dns-cache-poisoning/
- RFC Editor — RFC 8484: DNS Queries over HTTPS (DoH) (October 2018) — https://www.rfc-editor.org/info/rfc8484
- Mozilla Blog — Firefox continues push to bring DNS over HTTPS by default for US users (2020-02-25) — https://blog.mozilla.org/en/firefox/firefox-continues-push-to-bring-dns-over-https-by-default-for-us-users/
Tell us what you think
Your feedback helps us improve the content.