Join our Newsletter — 33% off our NHI Course

Alias Record

An Alias record is a DNS entry that points a name to another service endpoint, often used in cloud DNS configurations. If the referenced cloud resource is deleted or misconfigured and the record is not removed, the hostname may become dangling and vulnerable to subdomain takeover.

What Alias Records Do in DNS

Alias records let a hostname resolve to another endpoint without exposing the target as a direct user-facing name. In cloud DNS, that indirection is often used to keep DNS aligned with managed services that may change addresses or endpoints over time.

The practical value of an alias is that it supports cleaner naming and easier endpoint transitions, especially when the destination is a cloud-managed resource rather than a fixed host. The trade-off is that DNS now depends on the referenced resource staying valid and correctly maintained.

How Alias Records Behave in Cloud DNS

An alias record is not just a cosmetic pointer. It is part of how the authoritative DNS layer translates a friendly hostname into a live service endpoint, often with provider-specific behavior for zone apex records, load balancers, storage endpoints, or other managed services.

Because the record follows the referenced service, the DNS answer can remain stable even if the underlying infrastructure changes. That same coupling means the DNS record inherits the lifecycle and availability characteristics of the destination resource.

Why Dangling Alias Records Matter

The main operational concern is that alias records can outlive the resource they reference. If a cloud service is deleted, renamed, or reconfigured and the DNS record is left behind, the hostname may become dangling and stop resolving as intended.

That can create availability problems, broken links, and in some cases takeover exposure if an attacker can claim the abandoned target or associated service name. The risk is usually highest in environments with rapid provisioning and deprovisioning, where DNS updates lag behind infrastructure changes.

Alias Records Versus Other DNS Record Types

Alias behavior is often compared with CNAME, but they are not interchangeable in every DNS zone or provider implementation. A CNAME always points one name to another name, while an alias is commonly provider-aware and may resolve to a service endpoint at query time.

That distinction matters because alias records are often chosen specifically to support apex domains or cloud-native endpoints. The record type therefore reflects both a naming choice and an operational dependency on the cloud control plane that owns the referenced resource.

Risk and Threat Considerations

Dangling alias records create a classic control gap: DNS still advertises a trusted hostname, but the intended target no longer exists or is no longer controlled by the original owner. That can lead to subdomain takeover, traffic misdirection, or service impersonation if the abandoned dependency is reused by someone else.

Failure mechanism: The record remains in DNS after the linked cloud resource is removed or transferred, leaving a resolvable name that no longer maps to the intended service.

Impact: Users may reach the wrong service, automated integrations may fail, and an attacker may be able to register or claim the orphaned target to capture traffic or credibility.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
CIS Controls v8 CIS-12 — Network Infrastructure Management Alias records are DNS infrastructure objects that need controlled change and removal.
CIS-16 — Application Software Security Dangling aliases can enable takeover of externally reachable services and app endpoints.
Recommendation — Track DNS aliases as managed infrastructure and remove stale records during service retirement. Review externally exposed DNS endpoints for orphaned references and takeover exposure.
NIST SP 800-53 Rev 5 CM-8 — System Component Inventory Alias records depend on an accurate inventory of referenced cloud resources.
CM-2 — Baseline Configuration Alias records are configuration items whose lifecycle should follow approved baselines.
SC-12 — Cryptographic Key Establishment and Management Not selected
Recommendation — Maintain an inventory linking each alias record to its live target and ownership. Include DNS aliases in approved configuration baselines and decommission them with the target.

Practitioner Guidance

What to watch for: Treat alias records as lifecycle-managed assets, not static configuration. The key governance question is whether every alias has an owned target, a documented purpose, and a clear removal path when the underlying service is retired.

Practitioner takeaway: The safest alias record is one that is continuously matched to an actively managed destination, because the DNS entry and the referenced cloud resource should expire together.