title: Cloudflare DNS - How to redirect all subdomains to root domain?
body: <p>Can somebody tell me how I can redirect all subdomains to the root domain in Cloudflare DNS? </p>
  
  <p>I have been looking for a day now without any luck. </p>
  
  <p>I <strong>can't</strong> use <code>.htaccess</code> because all the subdomains doesn't resolve (They look just like a root domain that haven't propagated) and doesn't return anything, and I don't want to set up hundreds of DNS records for each possible subdomains.</p>
  
  <p>I would like to set up a wildcard dns entry to redirect or at least make all subdomains reachable, so I can either do the rest via the <code>.htaccess</code>, or through DNS. </p>
  
  <p>So how do I make the DNS entry for above requirements?</p>
  
  <p>Thanks.</p>