# What is the difference between an A record and a CNAME record?

Canonical: https://www.namesilo.com/questions/dns-and-email/what-is-the-difference-between-an-a-record-and-a-cname-record

Published: 2026-11-17

Last updated: 2026-11-19

Topic: DNS & email

An A record supplies a 32-bit IPv4 address; a CNAME identifies another DNS name as the canonical target of an alias. RFC 2181 says a CNAME cannot coexist with ordinary data at that same name, apart from DNSSEC-related exceptions. Choose the type requested by the service rather than putting an IP address into a CNAME.

Match the record to the target

NameSilo’s DNS operation supports both A and CNAME: rrvalue is an IPv4 address for A and a target hostname for CNAME. A browser redirect is an HTTP response, so a CNAME alone does not send visitors to a different URL path.

Your next steps

Identify whether the supplied target is an address or hostname

Select A or CNAME accordingly

Check for records conflicting at the alias name

Test DNS and the website behavior separately

Match the record to the target

NameSilo’s DNS operation supports both A and CNAME: rrvalue is an IPv4 address for A and a target hostname for CNAME. A browser redirect is an HTTP response, so a CNAME alone does not send visitors to a different URL path.

Verified detail: A and CNAME formats and alias coexistence rules.

Your next step: Test DNS and the website behavior separately.

## Sources

- [IETF RFC 1035 §3.4.1](https://www.rfc-editor.org/rfc/rfc1035.txt#section-3.4.1)

- [IETF RFC 1035 §3.3.1](https://www.rfc-editor.org/rfc/rfc1035.txt#section-3.3.1)

- [IETF RFC 2181 §10.1](https://www.rfc-editor.org/rfc/rfc2181.txt#section-10.1)

- [NameSilo Add DNS Records](https://www.namesilo.com/api-reference/pages?uid=dns/dns-add-record)

- [IETF RFC 9110 §15.4](https://www.rfc-editor.org/rfc/rfc9110.txt#section-15.4)
