A2oz

How Do I Add a Record to Cloudflare?

Published in DNS Management 2 mins read

Adding a record to Cloudflare is a simple process that allows you to manage your DNS settings and control how your website and services connect to the internet. Here's how to do it:

1. Log in to Your Cloudflare Account

Start by logging into your Cloudflare account.

2. Navigate to the DNS Tab

Once logged in, find the DNS tab in the Cloudflare dashboard. This is usually located in the left-hand menu.

3. Click on the "Add Record" Button

Look for the Add Record button, typically located near the top of the DNS page. Clicking this button will open a new window or dialog box where you can enter the details for your new record.

4. Fill Out the Record Details

You'll need to provide the following information for your new record:

  • Type: Choose the record type from the dropdown menu. Common types include A, AAAA, CNAME, MX, and TXT.
  • Name: Enter the host name or subdomain for your record. For example, "www" or "blog."
  • Value: Enter the target IP address, domain name, or other relevant information depending on the record type.
  • TTL: This sets the time-to-live for the record, determining how long your DNS resolver will cache the information.

5. Click "Add Record"

Once you've entered all the necessary information, click the Add Record button to save your new record.

Example: Adding an A Record

Let's say you want to add an A record for your website's main domain, "example.com," that points to the IP address "192.168.1.1." Here's how you would do it:

  • Type: A
  • Name: @ (This indicates the root domain)
  • Value: 192.168.1.1
  • TTL: 120 (seconds)

Additional Tips:

  • Understand Record Types: Familiarize yourself with different record types and their purposes before adding them to your DNS zone.
  • Verify Your Records: After adding a new record, it's crucial to verify that it's working correctly. You can use online tools or your own network tools to check the propagation of your DNS changes.

Related Articles