Does Cloudflare support wildcard DNS entries?

Cloudflare supports the wildcard * record for DNS management at all plan types. For Cloudflare Enterprise customers, we offer full proxy support for wildcard records.

Cloudflare Free, Pro and Business plan:

We do not proxy wildcard records so these subdomains will be served directly without Cloudflare performance, security, or apps. The wildcard domain will have no cloud (orange or grey) on the Cloudflare DNS Settings page for that reason. If you are adding a `*` CNAME or A Record you need to make sure the record is grey clouded in order for the record to be created.

To get Cloudflare protection on a wildcard subdomain (for example: www), you explicitly have to define that record in your Cloudflare DNS settings. First, log into your Cloudflare account and select the DNS icon. In this example, you would add "www" as its own CNAME record on your Cloudflare DNS Settings page and toggle the cloud to orange so the Cloudflare's proxy is enabled.

Cloudflare Enterprise:

For Cloudflare Enterprise customers, we do proxy wildcard records. If you are interested in learning more about the enterprise plan, you can contact us here:

Enterprise Service Request



Note, wildcards are only valid in the left most label. For example, it's not possible to add sub.*, but it's possible to add * 

Still not finding what you need?

The Cloudflare team is here to help. 95% of questions can be answered using the search tool, but if you can’t find what you need, submit a support request.

Powered by Zendesk