Nameserver
DNSNameserver is a DNS server that answers queries about a domain by providing the records needed to locate services such as websites and email. It is where a domain is delegated to a specific DNS provider, and it publishes authoritative data like A, AAAA, CNAME, MX, and TXT records. Correct nameserver settings ensure resolvers can find the right DNS zone for your domain.
How It Works
A nameserver hosts DNS zone data and responds to DNS queries. When someone enters your domain in a browser, their recursive resolver first checks which nameservers are authoritative for the domain by consulting the parent zone (for example, the TLD registry). That parent zone returns NS records (and often glue A/AAAA records) pointing to your authoritative nameservers. The resolver then queries those authoritative nameservers to retrieve the needed records, such as the A or AAAA record for the website, or MX records for email delivery.
Nameservers typically come in sets (at least two) for redundancy. If one nameserver is unreachable, resolvers can query another. Changes to nameserver assignments happen at the registrar level (delegation), while changes to individual DNS records happen at the DNS hosting provider. After updates, DNS caching and TTL values influence how quickly users see the new results, which is why migrations can appear inconsistent for a period of time.
Why It Matters for Web Hosting
Nameserver control determines where your DNS is managed, which affects reliability, ease of updates, and how smoothly you can switch hosting. When comparing hosting plans, check whether DNS hosting is included, whether you can use external nameservers, and how DNS changes are handled (record editor, TTL control, DNSSEC support). Misconfigured nameservers can cause downtime even if the web server itself is healthy.
Common Use Cases
- Pointing a domain to a new web host by updating A/AAAA or CNAME records on the authoritative nameservers
- Moving DNS management to a dedicated DNS provider by changing the domain’s delegated nameservers at the registrar
- Setting up email routing with MX records while keeping the website on a different server
- Adding verification and security records such as TXT (SPF, DKIM, DMARC) and enabling DNSSEC where supported
- Using multiple authoritative nameservers for redundancy and improved resolution reliability
Nameserver vs DNS Resolver
A nameserver (authoritative DNS) publishes the official DNS records for a domain and answers with final, authoritative responses. A DNS resolver (usually run by an ISP, enterprise network, or public DNS service) performs lookups on behalf of users, follows delegations to find the authoritative nameservers, and caches results according to TTL. In hosting terms, you choose and configure nameservers; end users typically rely on resolvers you do not control.