TTL (Time To Live)
A value in seconds that specifies how long a DNS record should be cached before being refreshed.
TTL is set on each DNS record and tells resolvers how long to cache the record. Lower TTLs (300 seconds) allow faster propagation but increase DNS query load. Higher TTLs (86400 seconds) reduce queries but slow propagation. Typical values range from 5 minutes to 24 hours.
ExampleA TTL of 3600 means resolvers will cache the record for 1 hour before checking for updates.
Zone File
A text file containing all DNS records for a domain, stored on authoritative nameservers.
Zone files define all records for a DNS zone (typically a domain). They include SOA records, NS records, A records, MX records, and more. When you edit DNS records through your provider's interface, you're updating the zone file. Zone transfers replicate this file to secondary nameservers.
ExampleA zone file for example.com contains A records for the apex domain and www subdomain, MX records for email, and TXT records for SPF.