Hostinger

How to Use Hostinger DNS Zone Editor

Introduction

In this tutorial, you will learn what is DNS, DNS Zone, and DNS Zone Editor and how to manage various DNS Records in DNS Zone Editor.

What is DNS?

In short, DNS, which stands for Domain Name System, controls domain name’s website and it’s settings. Whenever your visitors go to your domain, DNS settings control which server it reaches out to.

As an example, If you use Hostinger’s DNS settings, visitors will reach our servers. If you change those settings to any other company it will reach their servers instead of ours.

What is a DNS Zone?

DNS Zone is a file which contains all DNS records for a specific domain.

What is a DNS Zone Editor?

The DNS Zone Editor allows you to modify your DNS Records such as A Record, MX Record, NS Records etc.

What you’ll need

Before you begin this guide you’ll need the following:

  • Access to your Hostinger account.

Step 1 – Accessing DNS Zone Editor

In order to access your DNS Zone Editor, you will have to log in to your cPanel and find the Advanced section by scrolling down.

Step 2 – Creating and Editing DNS Records

After entering DNS Zone Editor, you can see that there are various DNS record types, you can edit, add and remove them.

  •    First, we will cover all available DNS records.

 What is an A record? 

A Records are the most basic DNS Records they are used to point a domain or a subdomain to an IP Address.

When using A Records, you can point the same domain or subdomain to various IP addresses by adding an A Record with the same name but with different IP addresses.

To create a new A Record, simply click Add New and fill the required fields.

  • Host –This is the domain or subdomain you wish to use. The @ symbol is used to indicate the root domain itself.
  • TTL – This term stands for Time to live, it limits the lifetime of this actual record. The default value of most providers is 14400 seconds.
  • Points to–Enter the IP address your domain name uses for this host record.

What is a CNAME record?

CNAME record is a commonly used DNS Record, that is used to specify that one particular domain is an alias for another domain.

For example, let’s say you have a domain named  avg.yourdomain.com. You might also want to access it through average.yourdomain.com. It is possible to make that by adding a CNAME record that points average.yourdomain.com to avg.yourdomain.com. When someone visits average.yourdomain.com they will see the exact same content as avg.yourdomain.com.

To create a new CNAME Record, simply click Add New and fill the required fields.

  • Host –Enter the subdomain name for the alias assignment. For example, type average.
  • TTL – This term stands for Time to live, it limits the lifetime of this actual record. The default value of most providers is 14400 seconds.
  • Points to– Enter the host name you want the alias to point to. For example, type avg.yourdomain.com to map the alias directly to your domain name.

What is an MX record?

MX records are used in identifying which server will handle your mail for your specific domain.

To create a new MX Record, simply click Add New and fill the required fields.

  • Host –This is the domain or subdomain you wish to use. The @ symbol is used to indicate the root domain itself.
  • Priority – This field determines which address should be receiving emails if you have more than one MX record.  The lowest number represents the highest priority.
  • TTL – This term stands for Time to live, it limits the lifetime of this actual record. The default value of most providers is 14400 seconds.
  • Points to– destination/address of the server, responsible for receiving emails.

What is a TXT record?

A TXT record is that kind of a DNS Record which allows you to hold text information, it can be used for a variety of purposes. Such as holding servers, network information.

The first record which has the symbol @ is used for a Sender Policy Framework in short SPF, those records are commonly used by email systems to identify if an email comes from a secure source.

The second record which host is _domainkey is used for DomainKeys, it is used to verify that an email comes from a trusted source.

To create a new TXT Record, simply click “Add New” and fill the required fields.

  • Host – Enter the host name for the TXT record. For example, type @ to assign the record directly to your domain name.
  • TXT value – Enter the value you want to assign to the record.
  • TTL –This term stands for Time to live, it limits the lifetime of this actual record. The default value of most providers is 14400 seconds.

What is an AAAA record or IPv6?

The AAAA record is quite similar to the A record we previously covered, it allows you to point the domain to an IPv6 address. More information on IPv6 can be found at http://ipv6.com/.

To create a new AAAA Record, simply click “Add New” and fill the required fields.

  • Host – Enter the host name or domain name that links to this AAAA record.
  • IPv6– Enter the IPv6 address.
  • TTL – This term stands for Time to live, it limits the lifetime of this actual record. The default value of most providers is 14400 seconds.

What is an NS record(Name Servers)?

Nameserver stores the DNS server records for your domain.NS Records are responsible for providing the IP address of a specific domain name.It allows you to access websites by using domain names instead of IP addresses. When changing your nameservers, you are able to point a domain name to a different hosting provider.

To create a new NS Record, simply click Add New and fill the required fields.

  • Host – Enter the host name for the NS record. For example, type @ to assign the record directly to your domain name.
  • TXT value – Enter the value you want to assign to the record.
  • TTL – This term stands for Time to live, it limits the lifetime of this actual record. The default value of most providers is 14400 seconds.

What is an SRV record?

SRV Record is a specification of data in the Domain Name System that defines the location, i.e. the hostname and port number, of servers for various services. For example teamspeak3, Minecraft etc.

To create a new SRV Record, simply click Add New and fill the required fields.

  • Priority – If multiple records are used priority value defines which one should be prioritized. A lower value means more preferred.
  • Name – Enter name which consists of service, protocol, host separated by an underscore and a dot.
  • Weight – If two records have the same priority then “weight” value will determine which one should be prioritized. Higher value means more preferred.
  • Port – Enter port number which will be used by the service.
  • Points to– destination/address of the server, responsible for receiving emails.
  • TTL – This term stands for Time to live, it limits the lifetime of this actual record. The default value of most providers is 14400 seconds.

Resetting your DNS Zone to default settings.

In order to reset your DNS Zone to default settings you will need to go to DNS Zone Editor, you can access it by going to cPanel and scrolling down.

Once you have entered the DNS Zone Editor, you will have to scroll down the button and you’ll find “Reset to Defaults” column, click Confirm and Reset to reset your settings.

Conclusion

In this tutorial, you have learned how to use DNS Zone Editor. What is DNS, DNS Zone, DNS Zone Editor and various DNS Records and how to manage them.

About the author

Linas L.

Linas started as a customer success agent and is now a full-stack web developer at Hostinger. He is passionate about making a positive impact on people by utilizing user-driven development techniques. As much as he enjoys coding and changing the world, he secretly dreams of becoming a rock star.

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get Exclusive Content

Join thousands of webmasters who get our free newsletter with tips on how to drive more traffic and revenue to their websites!

Please wait...

Thank you for sign up!