« Back to Glossary Index

A zone file is a text file, stored on a DNS server, containing all the DNS records for a specific domain — mapping that domain and its subdomains to the correct IP addresses and other essential DNS information. It's the actual underlying data file that makes DNS resolution work correctly for a given domain.

  • A records — mapping a domain to its corresponding IPv4 address
  • AAAA records — mapping a domain to its corresponding IPv6 address
  • CNAME records — mapping a domain or subdomain to another domain name
  • MX records — directing email to the correct mail server
  • TXT records — holding text-based data, often used for domain ownership verification

A zone file is typically managed through a domain registrar's own DNS management interface, or through a hosting provider's control panel — most site owners interact with the individual DNS records themselves through a simple visual interface, rather than editing the raw underlying zone file directly.

When adding an MX record for email, or a CNAME record for a subdomain, those individual changes are ultimately being written directly into a domain's underlying zone file — even though the interface making that change generally presents it as a simple, straightforward form rather than raw file editing.

« Back to Index
Share This