CloudFlare is a provider that offers CDN (content delivery network) and DNS services. It provides both free and paid plans.
Below, we explain how to configure the DNS management of your domain with CloudFlare.
1.- Sign up in CloudFlare
Create the account with the email address and password you want.
2.- Domain setup
Once registered, you must add your domain.
CloudFlare will scan the current DNS configuration of the domain. Once the scan is complete, the following screen will appear where you must click on Next to continue the process.
3.- Select a CloudFlare plan
When the scan finishes, you must choose the type of plan you want. In this example, the free version is selected.
After choosing, you will be asked to confirm the selected plan.
4.- Verify domain records
Once the scan is complete and the plan is selected, it will show the records it has found. You must ensure that the configuration of the records is correct.
If you want to keep the DNS configuration you currently have in cdmon, you must check that the configuration created in CloudFlare matches the one shown in the domain DNS in the control panel of cdmon.
5.- Modify the domain DNS servers
Finally, it will indicate that you need to modify your domain's DNS servers to those of CloudFlare so that the configuration you have set is used. You can change your domain's DNS servers in the control panel of cdmon, in the DNS server management.
Until the DNS server changes propagate, which may take between 24/48 hours, the domain will appear as pending in the CloudFlare panel.
How to enable anti-DDoS protection from CloudFlare
A DDoS attack (Distributed Denial of Service) is a type of cyberattack where multiple compromised computer systems are used to attack a target, such as a server or website, with the aim of making it inaccessible to users. These attacks overload the target with an overwhelming amount of data traffic, which can cause service degradation or even a complete outage.
To enable DDoS protection in Cloudflare, go to the "Security" section and click on "Settings"
Then, you just need to make sure to enable the "I'm Under Attack!" or "High" option from the "Security Level" section, depending on how critical the attack is at that moment:
IMPORTANT: If you want legitimate traffic to pass, the DNS records created in CloudFlare must go through its proxy. To do this, you need to activate the icon in your list of created records: