Skip to content

Commit 3b54dc0

Browse files
[DNS] Add note on ANAME and ALIAS records (#19936)
* Add entry about ANAME records to faq * Add h2 about ANAME and ALIAS in create-zone-apex * Move content to partial and make it clearer
1 parent cb8c582 commit 3b54dc0

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

src/content/docs/dns/manage-dns-records/how-to/create-zone-apex.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ When you add a domain to Cloudflare, you may also need to create or review the D
1212

1313
Usually, the zone apex record makes your domain accessible by visitors. In this case, the necessary record type ([A, AAAA, or CNAME](/dns/manage-dns-records/reference/dns-record-types/#ip-address-resolution)) and its content will depend on the provider that [hosts](/fundamentals/setup/manage-domains/#host-your-domain) your website or application. If you are using Cloudflare Pages, refer to [Custom domains](/pages/configuration/custom-domains/). If you are using other providers, look for their guidance on how to connect domains managed on external DNS services.
1414

15+
### ANAME or ALIAS
16+
17+
<Render file="aname-alias-callout" />
18+
1519
## Zone apex record
1620

1721
To create a zone apex record, use `@` for the record **Name**, as in the following example.

src/content/docs/dns/troubleshooting/faq.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar:
66
order: 1
77
---
88

9-
import { Render } from "~/components";
9+
import { Render, GlossaryTooltip } from "~/components";
1010

1111
## Is Cloudflare a free DNS (domain nameserver) provider?
1212

@@ -66,6 +66,12 @@ Only `A`, `AAAA`, and `CNAME` records can be proxied. Cloudflare will not proxy
6666

6767
---
6868

69+
## How do I add ANAME records on Cloudflare?
70+
71+
<Render file="aname-alias-callout" />
72+
73+
---
74+
6975
## Can I CNAME a domain not on Cloudflare to a domain that is on Cloudflare?
7076

7177
No. If you would like to do a redirect for a site not on Cloudflare, then set up a traditional `301` or `302` redirect on your origin web server.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
{}
3+
4+
---
5+
6+
ANAME or ALIAS are DNS records used by specific DNS providers. If your previous provider was using ANAME or ALIAS, you can recreate these records on Cloudflare as CNAME records. Cloudflare's [CNAME flattening](/dns/cname-flattening/)[^1] allows you to create CNAME records at your [zone apex](/dns/concepts/#zone-apex), removing the need for those other record types.
7+
8+
[^1]: A process in which Cloudflare returns an IP address instead of the target hostname that a CNAME record points to.

0 commit comments

Comments
 (0)