DNS

DNS is a distributed naming system that translates a domain name, such as example.com, into the IP address or service record needed to reach an online service. It also directs email, verifies domain ownership, and supports other internet services through structured DNS records.

Ship correctly connected apps with Emergent.

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.

  1. A browser and operating system check local DNS caches.
  2. The device asks a recursive resolver, often from an ISP or public provider.
  3. The resolver asks a root server for the top-level domain, such as.com.
  4. The top-level domain server identifies the authoritative nameservers.
  5. An authoritative nameserver returns the official record, such as an A record.
  6. 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.

RecordPurposeExample use
AMaps a name to IPv4website to server
AAAAMaps a name to IPv6IPv6 website access
CNAMECreates an aliaswww to a hosting target
MXRoutes emailmail provider delivery
TXTPublishes text policiesSPF, DKIM, verification
NSDelegates nameserversDNS host assignment
SOADefines zone administrationserial and refresh settings
CAALimits certificate issuersTLS certificate control

DNS Roles: Registrar, DNS Host, Resolver, and Authoritative Nameserver

One provider or several can supply these services.

RoleResponsibility
RegistrarManages domain registration and delegation.
DNS hostStores and publishes DNS records.
ResolverFinds answers for devices.
Authoritative nameserverProvides 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.

Start Building
on Emergent today
Start Building