You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/dns/manage-dns-records/reference/wildcard-dns-records.mdx
+24-8Lines changed: 24 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,23 +56,37 @@ If you create a DNS record on `*.*.example.com`, only the first asterisk is inte
56
56
57
57
A wildcard record applies only when no exact record exists at the queried name. If a record or delegation exists, the wildcard does not apply.
58
58
59
-
Wildcards will be applied for multiple levels, but a specific record on any equal or lower level will terminate anything on or below this specific record.
59
+
<Detailsheader="Example 1 - specific or below">
60
60
61
-
<Detailsheader="Example">
62
-
63
-
If you have only these two records on your domain, `A` and `TXT`:
61
+
If you have only these two records on your domain:
The `A` wildcard record will be used for queries going to any subdomain of `example.com` except `subdomain1.example.com` or anything below that specific label (`deeper.label.subdomain1.example.com`).
68
+
The `A` wildcard record will be used for queries going to any subdomain of `example.com` except `abc.example.com` or anything below that specific label (`123.abc.example.com` or `deeper.label.abc.example.com`, and so on).
71
69
72
-
The wildcard will still be used for deeper labels that are not below the specific record on `subdomain1.example.com` — for example, `deeper.label.subdomain2.example.com`.
70
+
The wildcard will still be used for deeper labels that are not below the specific record on `abc.example.com` — for example, `deeper.label.xyz.example.com`.
73
71
74
72
</Details>
75
73
74
+
<Detailsheader="Example 2 - implicit parent">
75
+
76
+
If you have only these two records on your domain:
In this example, `123.abc.example.com` is a descendant of `abc.example.com`, and `abc.example.com` has no records associated with it. The behavior will depend on the type of nameservers you are using:
84
+
85
+
- Standard nameservers: The wildcard `*.example.com` will still apply to `abc.example.com`.
86
+
-[Advanced nameservers](dns/foundation-dns/setup/)[^1]: In compliance with [RFC 4592](https://www.rfc-editor.org/rfc/rfc4592.html), the wildcard `*.example.com` will not apply to `abc.example.com`.
87
+
88
+
</Details>
89
+
76
90
## Availability
77
91
78
92
Customers on all plans can create and proxy wildcard DNS records.
@@ -86,3 +100,5 @@ If you are using a [partial (CNAME) setup](/dns/zone-setups/partial-setup/) for
86
100
## Additional information
87
101
88
102
For more information on wildcard records — as well as more details about their limitations — refer to the [introductory blog post](https://blog.cloudflare.com/wildcard-proxy-for-everyone/).
103
+
104
+
[^1]: An opt-in configuration available for Enterprise customers.
0 commit comments