Domain hosting and DNS zone file records connect a domain name to websites, email services, verification systems, and other online resources. Understanding these records makes it easier to configure a domain correctly and troubleshoot outages without changing unrelated settings.
What Domain Hosting Means
A domain is the human-readable address people enter, while web hosting stores and serves the website. DNS links the domain to the hosting server. The domain registrar, DNS provider, web host, and email provider may be the same company, but they perform different roles.
What Is a DNS Zone File?
A DNS zone file contains records for a domain. The authoritative nameservers publish these records so internet services can find the correct destination. Most users manage the zone through a DNS control panel rather than editing a text file directly.
Common DNS Record Types
- A: points a hostname to an IPv4 address.
- AAAA: points a hostname to an IPv6 address.
- CNAME: makes one hostname an alias of another hostname.
- MX: identifies the mail servers that receive email for the domain.
- NS: identifies the authoritative nameservers.
- TXT: stores verification and email-security information such as SPF or domain ownership tokens.
- SOA: contains administrative and timing information for the DNS zone.
- PTR: supports reverse DNS and is normally controlled by the IP-address provider.
A Record Example
An A record for www.example.com can point to a web server such as 192.0.2.25. Use the exact IP address supplied by the hosting provider. Do not copy an example address into a live zone.
DNS Update and Propagation
DNS changes may appear quickly, but cached answers can remain until their time to live (TTL) expires. A fixed 48-hour delay is not guaranteed. The actual time depends on the previous TTL, resolver caching, nameserver delegation, and provider processing.
Safe DNS Change Checklist
- Export or record the current zone before making changes.
- Confirm the exact hostname, record type, destination, and TTL.
- Avoid deleting working mail or verification records.
- Make one planned change at a time.
- Verify the answer from multiple DNS resolvers.
- Test the website, email, and any connected services.
- Keep rollback details until the change is confirmed.
Common Problems
- Editing DNS at a provider that is not authoritative
- Using a CNAME where another record already exists
- Pointing the root domain and www hostname differently by mistake
- Incorrect MX priority or missing email authentication records
- Changing nameservers without copying the existing zone
- Confusing a hosting problem with a DNS problem
Related Guides
Read our NS and MX records guide and follow the domain troubleshooting SOP when a website or email service is unavailable.
Frequently Asked Questions
Does changing an A record move the website files?
No. It only changes the destination used for that hostname. Website files must be migrated separately.
Where should I edit DNS?
Edit records at the DNS service identified by the domain’s authoritative nameservers.

