What Is DNS and How Does It Work?
About the author
Nexxhost Lab is Nexxhost's transparent editorial and testing desk, not a claimed individual expert. It explains hosting, domain, and infrastructure concepts and compares publicly documented provider features, without claiming a provider was personally tested unless a documented test actually occurred, inventing benchmark numbers, guaranteeing uptime or speed, or hiding affiliate relationships.
DNS, the Domain Name System, translates human-readable domain names into information computers use to locate internet services. When someone visits a domain, DNS helps determine where the browser should send the request.
It is often compared with a phone book, but modern DNS does more than map one name to one address. A domain can have records for websites, mail servers, verification, service discovery, and other purposes.
Nameservers and DNS records
A domain’s nameservers identify the DNS service that is authoritative for its records. Inside that DNS zone, common record types include A records for IPv4 addresses, AAAA records for IPv6, CNAME records for aliases, MX records for mail routing, and TXT records for verification and policy information.
What happens when you change DNS?
DNS information is cached at several levels, so changes may not appear everywhere immediately. The record’s TTL influences how long resolvers may cache old information, although real-world behavior varies. This is why a site or email configuration can appear correct from one network while another still sees older values.
Why DNS matters for hosting
Moving a website often involves changing DNS so the domain points to a new hosting environment. Because DNS also affects email and verification records, copying or reviewing the complete zone before a migration helps avoid accidentally breaking unrelated services.
Related Guides
Affordable web hosting starts at just $3/month with these providers
Affordable web hosting starts at just $3/month with these providers.
Affordable web hosting options for domains and DNS management
Affordable web hosting is usually a small shared plan or a low-cost bundle with DNS included. For simple sites, the real value is not the lowest sticker price.
DNS Propagation Explained
A practical explanation of DNS propagation, TTL, caching, and nameserver changes.