What is an Account-Control Surface?
Understand the account-control surface and why account protection has to cover more than the login form.
Learning Centre
A DNS CNAME record says that one hostname is an alias for another hostname. It does not contain an IP address itself. Instead, it points the resolver toward a canonical name, and the resolver then looks up the address records for that target.
For example:
shop.example.com. 300 IN CNAME storefront.example.net.
When a client asks for shop.example.com, DNS can answer that the name is an alias of storefront.example.net. The client or resolver then follows the chain until it finds the relevant A or AAAA records. This makes CNAME records useful when a service owner wants one hostname to inherit the destination of another without copying every address record manually.
CNAME records are common for SaaS platforms, CDN hostnames, hosted storefronts, support portals, marketing tools, and application environments. They allow the platform provider to change underlying addresses while the customer keeps the same public hostname.
The main advantage is delegation of address management. If a vendor or platform owns the infrastructure behind a service, that provider can update its own DNS as capacity, regions, or failover paths change. The customer only needs to keep the alias pointing at the provider's canonical hostname.
CNAMEs also reduce duplicate configuration. Instead of maintaining several hostnames with identical A and AAAA records, a team can point aliases to a single canonical name. This is helpful for short-lived environments, branded subdomains, and cases where multiple public names should land on the same service.
They also make migrations more manageable. A team can move app.example.com from one infrastructure target to another by changing the CNAME target, rather than editing many downstream address records. The record still needs a rollout plan, but the change boundary is clear.
A CNAME generally cannot be used at the zone apex, such as example.com, because the apex must also contain records like SOA and NS. A CNAME says the name is an alias and should not have other record data alongside it. Since the apex needs other DNS records to make the zone work, a normal apex CNAME would conflict.
This is why many DNS providers offer alternatives such as ALIAS, ANAME, flattened CNAME behavior, or newer service-binding approaches. These features are provider-specific or protocol-specific, so operators should understand exactly what is being published to authoritative DNS and what clients will see.
For subdomains, CNAME records are usually straightforward. For apex domains, check the DNS provider's behavior, the record type being served, and the compatibility requirements of the application. Do not assume that a provider dashboard label tells the whole story.
A CNAME can point to a name that also points somewhere else. This creates a chain. Short chains are common, but long chains add lookup work, increase the number of systems involved, and create more places for misconfiguration.
An example chain might be:
www.example.com. 300 IN CNAME customer.cdn.example.net.
customer.cdn.example.net. 300 IN CNAME region.pool.example.net.
region.pool.example.net. 300 IN A 192.0.2.40
This can work, but every link must remain valid. If one intermediate name expires, is deleted, changes ownership, or has an unexpectedly high TTL, the public hostname can fail or behave differently than expected. CNAME chains should be documented, monitored, and kept as short as practical.
One common mistake is placing a CNAME beside another record type at the same name. For example, a hostname should not normally have both a CNAME and an MX, TXT, A, or AAAA record. Some DNS systems prevent this; others make the failure less obvious. The result can be inconsistent resolution or broken validation for mail, certificates, or vendor onboarding.
Another issue is a target that no longer exists. If a CNAME points to a decommissioned platform hostname, users may receive DNS errors. In some cases, abandoned aliases can create takeover risk if an external service allows a new tenant to claim the old target. Any CNAME that points outside the organization's controlled zones deserves periodic review.
TLS mismatches are also common. DNS may correctly route support.example.com to a vendor, but the vendor still needs to serve a certificate covering support.example.com. A correct CNAME does not automatically make HTTPS correct.
TTL confusion can affect migrations. The alias has a TTL, and the target records have their own TTLs. During a change, users may cache either layer. Operators should inspect the full chain rather than only the record they edited.
Before adding or changing a CNAME, answer four questions:
Use DNS tools to follow the full chain from the public name to the final A or AAAA answers. Check the authoritative response and at least one recursive resolver. Then test the application over HTTP or the relevant protocol, including TLS, redirects, cookies, caching, and authentication behavior.
If the CNAME points to a third party, verify that the external platform has completed domain ownership validation and has a certificate ready before directing user traffic. For production hostnames, monitor DNS errors, HTTP status codes, and certificate status after the change.
CNAMEs can create hidden dependencies. A hostname that looks like it belongs to one organization may depend on another provider's DNS, certificate automation, web stack, and abuse controls. That is not inherently bad, but it should be visible in asset inventory and incident response plans.
Review external CNAME targets on a schedule. Remove aliases that are no longer needed, especially those pointing to SaaS platforms, storage buckets, deployment previews, or old CDN properties. Treat each external alias as part of the organization's public attack surface.
For sensitive services, avoid using CNAMEs as a substitute for access control. DNS can route traffic, but it cannot prove user identity, protect an origin by itself, or guarantee that every downstream service applies the same policy. A good CNAME rollout includes ownership validation, TLS checks, monitoring, rollback values, and a clear understanding of the dependency being introduced.
Understand the account-control surface and why account protection has to cover more than the login form.
Learn about account takeover threats, protection strategies, and detection methods to secure your digital accounts and prevent unauthorised access.
An overview of Account Takeover Attacks
A practical reference for common AI crawler user agents, operators, purposes, and recommended Peakhour bot-management actions.
AI For Cybersecurity explains the concept in the context of AI security, with practical checks and mitigation considerations for site operators.
AI Image Generation explains the concept in the context of AI security, with practical checks and mitigation considerations for site operators.
© PEAKHOUR.IO PTY LTD 2026 ABN 76 619 930 826 All rights reserved.