Skip to content

Configure DNS Record on a Hosting Platform

Configure DNS Records on a Hosting Platform

Section titled “Configure DNS Records on a Hosting Platform”

Domain Name System (DNS) records are instructions residing in authoritative DNS servers that translate human-readable domain names (like www.example.com) into machine-readable IP addresses (like 192.0.2.1). This translation is crucial for users and applications to locate and access websites and other internet services without needing to remember complex numerical IP addresses.

You typically manage DNS records through the control panel provided by your domain registrar (where you bought your domain) or your DNS hosting provider (which might be your web host or a specialized DNS service like Cloudflare).

For example, to point ‘www.example.com’ to the server with IP address 192.0.2.1, you would create an ‘A’ record: www.example.com. A 192.0.2.1.

Various types of DNS records serve different purposes:

Record TypeExplanation
A (Address Mapping)Points a hostname to an IPv4 address. This is the most common record for website hosting.
AAAA (IPv6 Address)Points a hostname to an IPv6 address, the newer internet protocol address format.
CNAME (Canonical Name)Alias one domain name to another. For example, ftp.example.com could be a CNAME to example.com. The CNAME then inherits the A record of the target domain. Note: A CNAME record cannot coexist with other records for the same hostname.
MX (Mail Exchange)Directs email to a specific mail server. MX records have a priority value to indicate preference if multiple mail servers are listed.
NS (Name Server)Delegates a DNS zone to use the given authoritative name servers. These are fundamental for DNS resolution.
TXT (Text)Allows administrators to insert arbitrary text into a DNS record. Commonly used for SPF records (to prevent email spoofing), DKIM (for email authentication), DMARC policies, and domain ownership verification (e.g., for Google Search Console or SSL certificates).
SRV (Service)Specifies the location (hostname and port number) of servers for specific services, such as SIP or XMPP.
CAA (Certification Authority Authorization)Allows domain owners to specify which Certificate Authorities (CAs) are permitted to issue SSL/TLS certificates for that domain.

Note on SPF records: While there was a dedicated SPF record type, the current best practice is to use a TXT record for SPF information due to broader compatibility.

Practical Steps to Configure a DNS Record (General Guide)

Section titled “Practical Steps to Configure a DNS Record (General Guide)”

Let’s say you’ve purchased a domain yourdomain.online and your web hosting provider has given you an IP address (e.g., 203.0.113.42) for your website. Here’s how you would typically add an A record to point www.yourdomain.online to that IP:

  1. Log in to your domain registrar or DNS hosting provider’s control panel.
  2. Navigate to the DNS management section or domain management area. This might be labeled ‘DNS Zone Editor’, ‘Manage DNS’, or similar.
  3. Select the domain you wish to configure (e.g., yourdomain.online).
  4. Look for an option to ‘Add Record’, ‘Create Record’, or similar.
  5. Choose the record type: Select ‘A’ from the list of record types.
  6. Configure the record fields:
  7. Save or Add the record. The interface will usually have a ‘Save Changes’ or ‘Add Record’ button.

DNS Propagation: After saving, the DNS change needs to propagate across the internet’s DNS servers. This can take anywhere from a few minutes to 48 hours, though it’s often much faster. You can use online DNS checker tools to monitor the propagation status.

Always double-check the values you enter, as incorrect DNS records can make your website or email services inaccessible. If you are unsure, consult your hosting provider’s documentation or support.