Jump to content
[MUST READ] Forum Rules ×

How to add subdomain wildcard in cloudflare?


Sharif

Recommended Posts

How to get wildcard ip to add dns record? I'm using cloudflare.

Every new account byet host assign new IP for subdomain. How to make it dynamically?

Ex: newuser.mydomain.com = 185.27.134.226

Ex: another.domain.com = 185.27.134.133

How can make it dynamic with dns recod?

Or 

How to add cloudflare with my freehosting reseller domain?

my domain: realhost.cc

Link to comment
Share on other sites

It is not advised to use Cloudflare if you want it to be a subdomain, like Chronos mentioned. You will need to have a lot of DNS records set up(at least 200)

For the subdomain part, you *can* set a programme that automatically checks the new IP of each of the new accounts and update it using the Cloudflare API. But you will likely run out of quotas in Cloudflare DNS. 

==

just curious, has anyone tried making the apex domain their own IP, and *.domain.com has NS records to byet? It seems that it will cover every subdomain and MySQL addresses. 

 

Edited by SpookyKipper
Question
Link to comment
Share on other sites

On 1/23/2023 at 1:48 AM, SpookyKipper said:

It is not advised to use Cloudflare if you want it to be a subdomain, like Chronos mentioned. You will need to have a lot of DNS records set up(at least 200)

For the subdomain part, you *can* set a programme that automatically checks the new IP of each of the new accounts and update it using the Cloudflare API. But you will likely run out of quotas in Cloudflare DNS. 

==

just curious, has anyone tried making the apex domain their own IP, and *.domain.com has NS records to byet? It seems that it will cover every subdomain and MySQL addresses. 

 

Wildcard NS records arent possible (per specification). however there is an kinda of halve support apparently. Imma try some stuff tomorrow.

Cloudflare dns quota is 1000 free ns records, so yes likely youd run out. Byet defined records however would only be like 20.

 

I wouldnt really reccomend anybody to offer subdomains under the main reseller domain. e.g. infinityFree: epizy.com for clients, homepage on infinityfree.net.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...