# A Record vs CNAME

> Compare DNS A records and CNAME aliases, including common deployment constraints.

Canonical: https://sentryxmonitor.com/learn/networking/a-record-vs-cname/
Last updated: 2026-08-08

Networking and protocol operations

An A record maps a name directly to an IPv4 address, while a CNAME record makes one DNS name an alias of another canonical DNS name.

Reviewed 2026-08-08 Read-only educational guidance

## Key points

- A records contain addresses.

- CNAME records point to names.

- A CNAME owner name generally cannot have unrelated record types.

## How does it work?

Resolvers return the CNAME relationship and continue resolution for the target name until they obtain an address or another terminal answer.

## What can go wrong?

Broken CNAME targets, long alias chains, vendor deprovisioning, and conflicting record types can cause outages or takeover risk.

## How can teams detect the problem?

Resolve the full chain, verify every target exists, measure lookup depth, and monitor changes in both the alias and target records.

## How can teams fix or reduce the problem?

Keep chains short, document vendor ownership, remove stale aliases, and use provider-supported apex alias features carefully.

## What does a technical example look like?

```
www.example.com CNAME app.vendor.example
app.vendor.example A 203.0.113.10
```

The example uses reserved documentation domains and addresses. Apply the same reasoning to systems you own or are authorized to assess.

## Authoritative technical references

- [RFC 1034: Domain Names - Concepts and Facilities](https://www.rfc-editor.org/rfc/rfc1034.html)

- [RFC 1035: Domain Names - Implementation and Specification](https://www.rfc-editor.org/rfc/rfc1035.html)

## How does continuous monitoring help?

A point-in-time check explains the observed state now. [Continuous monitoring](https://sentryxmonitor.com/services/uptime-monitoring/) establishes an expected baseline, repeats the relevant check, and records meaningful state changes so an owner can investigate before a small configuration drift becomes a prolonged security or availability problem. See [Networking](https://sentryxmonitor.com/learn/networking/) for the surrounding technical context.

## Where does Sentryx Monitor fit?

Sentryx Monitor provides [read-only outside-in discovery](https://sentryxmonitor.com/services/external-attack-surface-monitoring/) and monitoring for public hosts, DNS, HTTPS, TLS certificates, baseline security headers, email-security records, and selected network services. It supports evidence and operational follow-up, but it does not replace authorized penetration testing, authenticated vulnerability assessment, or owner validation.

## Continue learning

- [Internet Networking for Security and Monitoring](https://sentryxmonitor.com/learn/networking/) - The parent networking guide.

- [What Is TCP Port Monitoring?](https://sentryxmonitor.com/learn/networking/tcp-port-monitoring/) - Learn how TCP port monitoring checks service reachability and where it differs from application monitoring.

- [Common Internet-Facing Ports Explained](https://sentryxmonitor.com/learn/networking/internet-facing-ports/) - Understand common public TCP and UDP ports and when exposure deserves review.

- [What Does Port 443 Do?](https://sentryxmonitor.com/learn/networking/port-443/) - Understand how port 443 carries HTTPS traffic and how DNS, TCP, TLS, and HTTP participate.

## Related
- [Home](https://sentryxmonitor.com/)
