A DNS zone is a collection of records, and each type does a different job. Here are the six that matter most for optimisation.
|
Record |
What it holds |
Why it matters for optimisation |
|
A / AAAA |
An IPv4 or IPv6 address for a name |
This is the steering decision itself. Several values allow load to be spread; the resolver or client picks one. |
|
CNAME |
An alias pointing at another name |
Hands the steering decision to a provider, but adds an extra lookup step. It cannot sit beside other records at the same name. |
|
NS |
Which servers are authoritative for a zone |
Shapes the referral path and how many round trips a cold lookup costs. |
|
SOA |
Zone settings, including the negative-cache TTL |
Its minimum field decides how long “does not exist” answers are remembered. A commonly missed tuning knob. |
|
MX / TXT |
Mail routing; verification and policy data |
Rarely speed-critical, but often the largest responses, and TXT is the usual vehicle for DNS tunnelling. |
|
SVCB / HTTPS |
Service details delivered at lookup time |
Lets a client learn protocol and endpoint hints before connecting, which removes a redirect round trip. |
Three of these deserve extra attention.
- Its minimum field sets how long resolvers remember that a name does not exist. Set it too high and a brand-new hostname stays invisible for hours after you publish it. Set it too low and every typo, every misconfigured device and every flood of made-up names reaches your servers instead of being absorbed by resolvers’ caches. It is one of the most important and least discussed values in a zone.
- Aliases are convenient, and many managed steering products use them. But each alias adds a lookup step, and a chain of three or more is common in the wild and is pure, avoidable delay.
- SVCB and HTTPS. These are newer records that let a client learn how to connect during the lookup rather than after it. They move work into a step you were already paying for.
KEY TAKEAWAYÂ Â Records carry two decisions: the value and the TTL. Optimisation usually lives in the second.
