DNS (Domain Name System) is the internet's directory service: it translates human-readable domain names like example.com into the numeric IP addresses computers use to find each other. Every website visit, email delivery, and API call starts with a DNS lookup. Without DNS you would have to memorize addresses like 93.184.216.34 instead of names.
How does a DNS lookup work?
When you type a domain into your browser, a chain of servers cooperates to answer "what IP address is this name?":
- Stub resolver. Your device first checks its local cache. If the answer isn't cached, it asks a recursive resolver - usually run by your ISP, or a public one like
8.8.8.8(Google) or1.1.1.1(Cloudflare). - Recursive resolver. If the resolver doesn't have the answer cached, it walks the DNS hierarchy: it asks a root server which servers handle
.com, then asks the.comTLD servers which nameservers are authoritative forexample.com. - Authoritative nameserver. The domain's own nameservers - the ones you configure when you use a DNS hosting service - return the actual record: "example.com is at 93.184.216.34".
- Caching. The resolver caches the answer for the record's TTL (time to live) so the next lookup is instant.
The full walk takes tens of milliseconds; cached answers take under a millisecond. This is why fast, well-distributed authoritative DNS - like an anycast network - makes every first visit to your site noticeably quicker.
What are DNS records?
Authoritative nameservers store your domain's configuration as typed records. The ones you'll use most:
- A record - maps a name to an IPv4 address (AAAA does the same for IPv6).
- CNAME record - aliases one name to another name.
- MX record - tells sending servers where your email should be delivered.
- TXT record - free-form text used for SPF/DKIM/DMARC email authentication and ownership verification.
- NS record - delegates the zone to a set of nameservers.
Who runs the DNS for my domain?
Whoever operates the nameservers your domain points to. By default that is often your registrar, but DNS hosting is independent from registration: you can keep the domain where it is and change its nameservers to any provider. ice.domains offers free DNS hosting - unlimited zones and records on a global anycast network, for domains registered anywhere.
Why DNS matters for performance and uptime
DNS is the first step of every connection, so it is both a performance floor and a single point of failure. Slow authoritative servers add latency to every uncached visit; a DNS outage takes down your website, email, and APIs simultaneously, even though the servers behind them are healthy. That's why serious DNS setups use geographically distributed anycast networks, low response times, and sometimes a secondary DNS provider as a backup.