Development

Introduction to DNS Records

Captain Salem 1 min read

Domain Name System protocol or DNS is one of the most useful and popular networking protocol. It can be referred to as the Internet Address book to look for locations for various resources on the internet. In this guide we will introduce the basics of how DNS works and various types of DNS records.

How DNS works

Before we dive deep into DNS and DNS records, let us first discuss what DNS manages, i.e. Domain Names.

Domain Names

Domain names are identification strings that are used to refer to an address to a certain resource on the internet such as a website hosted on a server. Domain names can contain letters, numbers or hyphens separated by periods. Domain names are best understood when read from right to left. For example, a domain name as shown below makes more sense read from right to left.

www.google.com

mail.google.com

formums.plus.google.com

The above examples are examples of Top-Level Domains.

Every term from right to left that is separated by a period is considered to refer to a specific subdomain. A sub domain can contain its own standalone applications and services but still connected to the main domain.

Domain Name Levels

Domain Names are available in various types also known as levels. The following are various types of domain names:

Top-Level Domains

Top-Level Domains or TLD refers to the suffix or the last extension of a domain name. There are limited list of Top-Level-Domain extensions. These include:

  • .com - Commercial Business
  • .org - Organizations, mostly refers to non-profit organizations
  • .gov - Government agencies or services.
  • .net - Network Organizations
  • .edu - Education Organizations
  • .mil - Military

However, Top-Level Domains are also classified into two main sub-categories; Generic Top-Level Domains gTLDs and Country Code Top-Level domains ccTLDs.

Generic Top-Level Domains identifies the class which a domain name is associated with such as com. org. Country Code TLDs are two letter domain extensions assigned to a specific country or geographic locations such as .us, .uk, .fr

Other type of domain such as nTLDs or New Top-Level-Domains mainly set to organizations for a specific purpose or service such as .love, .to, .coffee

DNS Records and Zone Files

Share
Comments
More from Cloudenv

Cloudenv

Developer Tips, Tricks and Tutorials.

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to Cloudenv.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.