Step 1: Login to Cloudflare:-
Go to Cloudflare’s website and log in to your account.
Step 2: Select the Domain:-
After logging in, you’ll be taken to your Cloudflare dashboard. Select the domain for which you want to add DNS records.
Step 3: Go to the DNS Section:-
In the dashboard, navigate to the “DNS” section.
Step 4: Add a DNS Record:-
Under the DNS section, you’ll see a table where you can add various types of DNS records. To add a new record, click on the “+ Add Record” button.
Step 5: Choose Record Type:-
In the “Type” dropdown menu, select the type of DNS record you want to add. Common types include A, CNAME, MX, TXT, etc.
Step 6: Fill in the Details:-
a) Fill in the required information based on the type of record you selected. For example:-
b) For an A record, you need to specify the name (subdomain or @ for the root domain) and the IPv4 address.
c) For a CNAME record, you need to specify the name and the domain name (CNAME value).
For an MX record, you need to specify the name, mail server, and priority.
Step 7: TTL (Time To Live):-
Set the Time To Live (TTL) value. This value determines how long the DNS information is cached. You can choose a value like 300 seconds for quicker updates during testing or a higher value for normal use.
Step 8: Proxy Status (Optional):-
Cloudflare provides a proxy service to protect your server from direct access. If you want to route traffic through Cloudflare, set the proxy status to “Proxied.” If you want to bypass Cloudflare for this record, set it to “DNS Only.”
Step 9: Save the Record:-
Click the “Save” button to add the DNS record.
Step 10: Verify the DNS Record:-
Once you’ve added the DNS record, you can verify it by checking the DNS settings or trying to access the associated domain or subdomain.
Step 11: Wait for Propagation:-
DNS changes may take some time to propagate across the internet. It could be a few minutes to several hours, depending on various factors. During this period, the old DNS information may still be in effect.
NOTE:-Repeat these steps if you need to add additional DNS records. Keep in mind that improper changes to DNS settings can impact the accessibility of your website or services, so double-check your entries before saving