DOMAIN IN CLOUDFLARE DNS

How to configure our domain quickly with cloudflare.

What is DNS ?


The Domain Name System (DNS) is the phone book of the Internet. While people access information online through domain names like example.com, computers do so using Internet Protocol (IP) addresses, unique strings of alphanumeric characters that are assigned to each Internet property. DNS translates domain names to IP addresses so that users can easily access a website without having to know its IP address.


How to configure my domain with cloudflare ?


to configure our domain easily with cloudflare we need 3 things.


  1. Domain.
  2. Cloudflare account.
  3. IP of our server.


Once our account is created we must go to our cloudflare dashboard.

To create our server we enter the menu called websites and press the add a site button.




We will enter the name of our domain and we will go to DNS management and we will enter the DNS labels


DNS labels, also known as DNS record types, are codes that identify the purpose and content of a specific DNS record. Each type of DNS record serves a unique function and is used for different purposes within the Domain Name System.


Here are some examples of DNS labels and their meanings:


A Record (Address):

Function: Associates a domain name with an IPv4 address (numeric address).

Example:


  Domain Name: example.com
  Record Type: A
  Value: 192.168.0.1


CNAME Record (Canonical Name):

Function: Creates an alias for another domain name (the record points to another name, not an IP address).

Example:


  Domain Name: www
  Record Type: CNAME
  Value: example.com


MX Record (Mail Exchanger):

Function: Specifies the mail server responsible for receiving emails for the domain.

Example:


  Domain Name: example.com
  Record Type: MX
  Value: mail.example.com


NS Record (Name Server):

Function: Indicates the authoritative name servers for the domain.

Example:


  Domain Name: example.com
  Record Type: NS
  Value: ns1.nameserver.com


TXT Record (Text):

Function: Allows associating arbitrary text with a domain name. Often used for domain verification purposes.

Example:


  Domain Name: example.com
  Record Type: TXT
  Value: "v=spf1 a mx ~all"


DS Record (Delegation Signer):

Function: Used in DNSSEC (Domain Name System Security Extensions) to digitally sign DNS records to enhance security and prevent attacks.

Example:


  Domain Name: example.com
  Record Type: DS
  Value: [Long hexadecimal value]


These are just a few examples of the most common DNS labels. Each type of record has a specific purpose to ensure the proper functioning, security, and reliability of the Domain Name System on the Internet.


For this case, for now we only need A and CNAME



Replace vicente-munoz.cl with you domain and 190.14.62.186 with you server IP



we enter the Cloudflare nameservers in our domain manager



Registrars can take 24 hours to process nameserver updates. You will receive an email when your site is active on Cloudflare.