Domain Name System (DNS) Management Guide

This article will explain about Domain Name Systems and what they do.

In this Domain Name System (DNS) Management article, you will find all the information you need to understand and set up A records, CNAME, MX records and more. Simply click on a title below to skip to the most appropriate FAQ. You can also click the Top button to return and make another selection:

What is DNS?

The Domain Name System (DNS) is the protocol used to translate a domain name into an IP address that a computer can understand. That way, you only need to remember the web address, rather than a long string of numbers like ‘92.205.218.8’. DNS also provides a list of mail servers which accept emails for each domain name.

The DNS consists of 3 important elements: nameservers, zone files and records. Each one plays an equally important role as nameservers store your zone files, which in turn store your records.

How does DNS work?

When you access a website, such as ‘123-reg.co.uk’, your device will send a request across the internet to find the domain name and corresponding IP address for that site.

This request is processed by a root server, which contains DNS information on all the major Top-Level Domains (TLDs) like .co.uk and .com. From there, the root server will point that request to the nameserver for the relevant TLD. Within this nameserver will be the zone files for ‘123-reg.co.uk’, which contain its DNS records. The request will then search for the A record within the nameserver, as this has a unique IP address tied to it. Once this has been located, the IP address will be returned to your device and the website’s content will be generated in your browser.

What are nameservers?

A nameserver is a computer server that helps browsers connect a URL to a website. That way, you don’t have to enter an intricate IP address every time you want to visit a website. It’s also where the zone file and DNS records for your domain are stored and organised.

Typically, each website uses 2 nameservers, with one of them acting as a backup to prevent the domain name from going offline. Since every hosting provider uses its own nameservers, they can also be used as an indicator for where your webspace and email can be managed.

One of the advantages of registering your domain name with 123 Reg is that you are free to change your nameserver to point to a third-party provider whenever you like. You’ll still be able to use our web and email systems as well, provided the correct DNS configuration is added at your new nameserver provider.

Please note: if you change your nameservers to point to a third-party provider, you will no longer be able to configure your DNS settings for that domain within your 123 Reg Control Panel. Instead, your DNS records will need to be configured by using the third-party provider that owns those nameservers.

What are zone files?

Zone files are a small set of instructions that tell the nameserver to perform specific tasks or point a domain name to the correct server or IP address, based on the DNS records stored within it.

What are DNS records?

These are the individual components of your Domain Name System. Here is a quick outline of some of the different types of records used:

  • A records, also known as Address records, are used to point a domain name or subdomain name to an IP address
  • CNAME records, also known as Canonical Name records, are an alias to another domain name. For example, the CNAME for example-domain.co.uk could be example-domain.co.uk. This means that when you visit www.example-domain.co.uk , it will check the DNS records for example-domain.co.uk and point you there
  • TXT records, also known as Text records, are used to hold text information. You can put virtually any text you want into a TXT record, which can be assigned to a particular hostname/zone. The most common use for TXT records is to store SPF (sender policy framework) records and to prevent emails being faked to appear to have been sent from you.
  • SPF records, also known as Sender Policy Framework records, are used for identifying which mail servers are allowed to send email on behalf of your domain. The main purpose is to prevent spammers from sending emails with forged sender’s addresses (‘From:’ addresses) at your domain
  • MX records, also known as Mail Exchanger records, specifies which mail servers are responsible for a specific domain name.

What are cached DNS records?

To speed up DNS, most nameservers on the internet will ‘cache’ (or remember) DNS records themselves so that they don’t have to look up records each time they’re required.

When you visit a website, it’s likely that your ISP’s nameservers will remember the IP address, so that the next time you request that website, the IP address can be retrieved more quickly. In this instance, your ISP’s nameserver is using a cached DNS record. It will use this cached record for a period of time, after which it will retrieve the record again. It will again cache the record and the cycle will repeat.

This is why, when you make changes to your DNS, some people will not immediately see the change as they may well be seeing a cached record.

What does the record with the name @ mean?

The record named @ refers to your domain name in its purest form with no subdomain like www – for example, your-domain.co.uk.

It is common practice to set up both an @ record and a www record for your domain name. By doing this, you will ensure that any visitors who omit the ‘www’ prefix of your domain name will still be directed to your website, instead of an error page.

What are subdomains?

A subdomain is a subdivision of a domain name, allowing you to put content in your URL before your namespace. For example, blog.companyname.com or shop.companyname.com would be subdomains of the domain name companyname.com.

This is an excellent way of dividing your website if you have different regions, products or even languages.

How do I view the DNS records for my domain name?

You can access the DNS records for any of your domain names via your 123 Reg Control Panel.

Check out the following guide for step-by-step instructions on how to perform this: How do I view the DNS records for my domain name?

How do I check my nameservers?

The simplest way to check the nameservers of your domain is to go to a public DNS lookup tool (i.e. http://who.is/) and enter your domain name into the provided box.

From there, you’ll be given a detailed list of information that will include your nameservers.

How do I change nameservers?

You can change the nameservers of your domain name from your 123 Reg Control Panel.

Check out the following guide for step-by-step instructions on how to complete this: How do I change the nameservers for my domain name?

How do I set up an A record?

To set up an A record for your domain name, you will need an IP address from your provider.

For further details on how to do this, simply follow the instructions outlined in the following guide: How do I point my domain name to an IP address?

How do I set up a CNAME record?

To set up an CNAME record for your domain name, simply follow the instructions outlined in the following guide: How do I set up a CNAME record on my domain name?

How do I set up a TXT record?

To set up a TXT record for your domain name, simply follow the instructions outlined in the following guide: How do I set up a TXT record on my domain name?

How do I set up an SPF record?

To set up an SPF record for your domain name, simply follow the instructions outlined in the following guide: How do I add an SPF record to my domain name?

How do I set up an MX record?

To set up an MX record for your domain name, simply follow the instructions outlined in the following guide: How do I set up an MX record on my domain name?

What is domain propagation?

When you make changes to your domain’s nameserver or DNS (Domain Name System) records, these changes will need to circulate across the internet, which can take up to 48 hours to complete. This period of time is known as domain or DNS propagation.

For more information about DNS propagation, please read the following article: What is DNS propagation?

What is TTL and what is it used for?

TTL stands for Time To Live and is used to measure the lifespan of data in a computer or network – for example, when you create an SRV record for your domain name. This dictates the length of time it takes for the cache of the server to update, so if you make a change, this is the length of time it will take the propagate. TTL is measured in seconds, so, for example, a TTL of one hour would equate to a TTL to 3600 seconds.

Please note: when you create records for your domain names through 123 Reg, the TTL will automatically be set to either 3600 or 8600 seconds. These figures cannot be changed manually.

 

Related Products:

  1. Domain Names