DNS
What Is DNS?
DNS, or Domain Name System, translates a domain name such as example.com into an IP address or routing information computers use. It lets a name stay the same when infrastructure changes.
How DNS Works: The Domain Resolution Process
Cached answers speed up many lookups. Without one, a resolver follows the DNS hierarchy.
- A browser and operating system check local DNS caches.
- The device asks a recursive resolver, often from an ISP or public provider.
- The resolver asks a root server for the top-level domain, such as.com.
- The top-level domain server identifies the authoritative nameservers.
- An authoritative nameserver returns the official record, such as an A record.
- The resolver returns and caches the answer for its TTL, or time to live.
Common DNS Records and What They Do
DNS records are instructions published for a domain.
| Record | Purpose | Example use |
|---|---|---|
| A | Maps a name to IPv4 | website to server |
| AAAA | Maps a name to IPv6 | IPv6 website access |
| CNAME | Creates an alias | www to a hosting target |
| MX | Routes email | mail provider delivery |
| TXT | Publishes text policies | SPF, DKIM, verification |
| NS | Delegates nameservers | DNS host assignment |
| SOA | Defines zone administration | serial and refresh settings |
| CAA | Limits certificate issuers | TLS certificate control |
DNS Roles: Registrar, DNS Host, Resolver, and Authoritative Nameserver
One provider or several can supply these services.
| Role | Responsibility |
|---|---|
| Registrar | Manages domain registration and delegation. |
| DNS host | Stores and publishes DNS records. |
| Resolver | Finds answers for devices. |
| Authoritative nameserver | Provides the official answer for a DNS zone. |
Why DNS Matters for Websites and Applications
DNS supports reliable software delivery.
- It gives websites, APIs, and services readable endpoints.
- It supports infrastructure changes without changing public URLs.
- It separates environments, such as api.example.com and staging.example.com.
- It enables email routing and domain verification.
- It can direct traffic to load balancers, hosting platforms, and managed services.
DNS Limits and Common Failure Modes
DNS is not instant or a complete security layer.
- TTL caching can delay record changes.
- Wrong targets, mismatched nameservers, and missing email records can break services.
- A CNAME usually cannot coexist with other records at a zone apex.
- DNS does not encrypt application traffic or replace a VPN.
DNS Security: DNSSEC and Safer Record Management
DNS spoofing uses forged answers to send users to the wrong destination. DNSSEC uses signed records to help validators detect forged responses, but does not encrypt queries. Protect registrar and DNS accounts with multi-factor authentication, least-privilege access, change reviews, and monitoring for unexpected edits.
DNS Checks Before Launching an App
Check DNS before a release.
- Verify authoritative nameservers and A, AAAA, or CNAME targets.
- Set TTLs that balance fast changes with resilient caching.
- Confirm TLS certificate and CAA requirements.
- Configure MX, SPF, DKIM, and DMARC when the app sends email.
- Test resolution with more than one resolver.
DNS in Emergent Deployments
With Emergent, DNS connects a custom domain to a live website or web app and helps validate integrated services. Teams using an AI web app builder or AI website builder should include DNS checks in launch readiness alongside deployment and integration testing.
on Emergent today

