What is DNS ?

DNS stands for Domain Name System, and it is often referred to as the “phonebook of the internet.” It is a system that translates human-readable domain names (like www.example.com) into IP addresses (like 192.168.1.1) that computers can understand and use to communicate with each other over the internet.

Key Functions of DNS:

  1. Domain Name Resolution:
    • When you type a website address in your browser (like www.google.com), the DNS system converts that domain into the corresponding IP address of the server hosting the website.
  2. Routing Internet Traffic:
    • DNS helps route traffic by matching the domain names to the correct servers that host websites, emails, or other services. Without DNS, you’d need to remember the IP addresses of every site or service you want to access, which would be impractical.
  3. Types of DNS Records:
    • A Record: Maps a domain to an IP address.
    • MX Record: Specifies the mail servers for a domain.
    • CNAME Record: Points one domain to another domain (alias).
    • TXT Record: Contains text-based information, often for verification or security purposes like SPF (Sender Policy Framework).
    • NS Record: Specifies the authoritative nameservers for the domain.
    • PTR Record: Used for reverse DNS lookups, mapping an IP address back to a domain name.

Updating DNS settings in cPanel involves modifying the DNS zone for your domain. Here’s a step-by-step guide on how to do this:

Steps to Update DNS in cPanel:

  1. Log in to cPanel:
  1. Access your cPanel account by visiting https://yourdomain.com/cpanel or https://yourserverip/cpanel.
  2. Enter your username and password to log in.
  3. Navigate to the “Zone Editor”:
  1. In the “Domains” section, click on “Zone Editor”.
  2. Choose Your Domain:
  1. You’ll see a list of domains associated with your cPanel account. Locate the domain for which you want to update the DNS records.
  2. Manage DNS Records:
  1. Click the “Manage” button next to the domain you want to update. This will show you all the DNS records (A, CNAME, MX, TXT, etc.) for your domain.
  2. Update or Add DNS Records:
  1. Edit Existing Records:
    • To update a specific record (e.g., A, CNAME, MX), click the “Edit” button next to that record.
    • Modify the record as needed, such as changing the IP address in an A Record or modifying a mail server in an MX Record.
  2. Add New Records:
  1. If you need to add a new record, click the “Add Record” button at the top of the page.
  2. Choose the type of record you want to add (A, CNAME, TXT, etc.) and fill in the appropriate fields.
  1. For A Record, you would enter the subdomain (e.g., “www”) and the corresponding IP address.
  2. For CNAME Record, you would enter the subdomain and the destination (e.g., “example.com”).
  3. For MX Record, you would enter the mail server information and priority.
  1. Save Changes:
    • After making the necessary updates, click “Save Record” to apply the changes.
  2. DNS Propagation:
    • DNS changes can take some time to propagate across the internet, typically anywhere from a few minutes to 48 hours.

Common DNS Records You Can Update in cPanel:

  • A Record: Points a domain or subdomain to an IP address.
  • CNAME Record: Creates an alias for a domain or subdomain.
  • MX Record: Directs email to the correct mail server.
  • TXT Record: Used for various purposes like domain verification, email authentication (SPF, DKIM), etc.
  • SRV Record: Specifies the location of services (e.g., VoIP, messaging).

Notes:

  • Backups: Before making DNS changes, it’s a good idea to take note of your current settings or back them up.
  • TTL (Time to Live): Each DNS record has a TTL value, which defines how long the record is cached by DNS resolvers. You can adjust the TTL for quicker updates if necessary.

That’s it! You’ve now updated your DNS settings in cPanel.

Author

admin@webhostingmumbai.net.in

Related Posts

Comprehensive Guide to Backing Up Data in DirectAdmin

Backups can typically be taken in shared hosting environments, including using the DirectAdmin control panel. Taking a backup in the DirectAdmin control...

Read out all

Best Hosting Options for JavaScript Applications

The best hosting for a JavaScript application depends on the type of application (e.g., static site, server-side rendered, single-page application) and your...

Read out all

The Importance of Name Servers in Website Functionality

Importance of name server A name server is a critical component in the Domain Name System (DNS) infrastructure that helps make websites...

Read out all

Understanding Red Hat Linux VPS: Features, Benefits, and Use Cases

Red Hat Linux VPS A Red Hat Linux VPS (Virtual Private Server) is a virtualized server environment that runs Red Hat Enterprise...

Read out all

Comprehensive Guide to Backing Up Your Email Inbox

Methods of email backup Email Inbox can be useful for security, archiving, and accessing important messages offline. Here’s how you can back...

Read out all
Email Aliases

Email Aliases in Web-Hosting

What is email aliases ? Email aliases are alternative email addresses that redirect to a primary email account. They allow you to...

Read out all