DNS Guide

This page is guide to DNS in Cloudflare.

Getting Started:

Step 1: Find the DNS tab on the menu on the left.

Step 2: Add a record

The add record button is located

Step 3:

Select a record type and make a DNS expression that is true.

Note: At least one IP address resolution record needed for each domain on Cloudflare. These are the only records you can proxy through Cloudflare.

Step 4: Toggle Proxy

Once you toggle the proxy button every request made to the applicable records will be routed to Cloudflare. Cloudflare will provide analytics, security, and optimization for your domain.

DNS Fields:

Time to Live (TTL): this field controls how long DNS resolvers should cache a response before revalidating.

Proxy: This switch will proxy requests intended for the hostname to go through Cloudflare First and then forwarded to your origin server. While proxied Cloudflare will optimize, cache, and protect all requests to your application.

Records:

  • A: Directs browser to an origin webserver (A is for IPv4) IPv4 address resolved to domain a name.

  • AAAA: Directs browser to an origin webserver (AAAA is for IPv6) IPv6 address resolved to domain name.

  • CNAME: Directs browser requests to an the origin webserver but uses a host name instead of IP address, Hostname resolved to hostname

  • MX: Which stands for mail exchange (MX) is used to deliver mail to a mail server.

  • SPF: Which stands for Sender Policy Framework (SPF) and authorizes IP addresses and domains that can send mail.

  • TXT: A text (TXT) record allows you to enter text into the DNS system. This is commonly used for demonstrating prior ownership of a domain

Last updated