Tag: NS record

DNS DNS records Network

PTR record: Why should you care about it?

PTR record is one of the critical DNS record types that you should know. It is one of the few that warrants special attention. Why, we will see in this article. 

DNS record – what does it mean?

To start, let’s see what precisely the DNS records are. They are nothing more than text instructions. Its primary function is to instruct domain name servers on managing traffic to your domains and subdomains. In addition, the network for websites is the entire Internet. So, a DNS record is a single mapping that connects an IP address to a resource in DNS. They are organized into DNS zones and kept on nameservers.

What is a PTR record?

PTR records, also known as Pointer records, are a DNS record that links an IP address to a domain name. It is proof that the IP address being checked is indeed tied to the domain name and that it is not a hoax. So, it allows you to check and verify that the IP address you’re using belongs to the domain name. Furthermore, it demonstrates that it is not a hoax. Thanks to the Pointer record, verifying distinct pieces or services, such as a mail server, is simple.

How to check your PTR record?

Structure

The structure of the PTR record is simple and easy to understand. Here is an example how what it could look like:

  • TYPE: PTR record – It denotes the DNS record type. 
  • Host: 78.159.213.32 – You must provide the host’s IP address in this field. An IPV4 or IPv6 address is possible.
  • POINTS TO: example.com – You can use this field to show the domain name.
  • TTL: 1h – You set the TTL or time-to-live value here.

How to create a PTR record?

It’s simple to set up a DNS Pointer record. So, let’s break it down into steps.

  1. It would be best if you first built a Master Reverse Zone.

In a Master Reverse Zone, the PTR record can exist. However, it’s important to note that it shouldn’t be used in a conventional Master zone. The IP address in the Master Reverse Zone should always be in reverse order. For example, if the IP address is 32.213.159.78., you should enter it as 78.159.213.32. Regardless of whether it’s an IPv4 or IPv6 address, the same rule applies.

  1. The next step is to generate the Pointer record.

When adding the PTR record, you’ll also have to input it backward. You should have a matching A or AAAA record for each Pointer record. As a result, make sure to double-check!

  1. Finally, add the NS records.

NS records pointing to your nameservers should be added to the IP provider. Your Reverse DNS zone is now complete!

Why is it important to use rDNS service?

PTR record vs. A record

When we compare the A and PTR records, we’ll see that they’re polar opposites. This is because the A record links a domain name to an IP address (IPv4). On the other hand, the PTR record is used to resolve an IP address (IPv4 or IPv6) to a domain name.

It’s also worth noting that the A and PTR records are located in separate DNS zones. The A record should be added to a Primary (Master) DNS zone, but the PTR record can only exist in a Master Reverse DNS zone and operate.

Conclusion

By and large, the PTR is a really fundamental DNS record that you have to know. Start using it for your domain to lessen the number of bounce emails. It is not difficult. You could just follow the steps above. Good luck!

DNS DNS records

Top 5 DNS record types for starters

In case you are just starting to manage your DNS, these top 5 DNS record types are fundamental to know. So, let’s explain a little bit more about them.

A record

The A record is also commonly called address record, and it is perhaps the most popular of all DNS record types. Its purpose is to link a domain name to its corresponding IP address (IPV4 address). When a user makes a request for a particular domain name, exactly the A record is needed to show the accurate IP address.

Although it is a very simple DNS record, it is a crucial part of the DNS configuration. Your domain name could not be resolved without this type of DNS record (or AAAA record). Moreover, your users are not going to be directed to the correct location.

SOA record

SOA record is another critical DNS record that symbolizes the start of authority. It holds administrative information about the zone. It is the first DNS record that a DNS zone file includes, plus it establishes the general properties of that zone. It also holds data concerning the DNS zone transfers, such as the refresh rate, the retry rate, and the administrator’s email.

The SOA record serves as a control record with a serial number and shows if there is a new update. Once the Secondary DNS servers detect a change in the number, they are going to update and receive the latest data.

NS record

The NS record is another very basic DNS record. NS stands for the nameserver, and it is similar to an ID card for the nameserver. The NS record describes which name server is accountable for the particular DNS zone. If such a record is not available, the zone won’t be able to work.

MX record

Another piece of the essential DNS record types, the MX record, which comes from Mail Exchanger record. Its purpose is to point the email server accountable for receiving emails for a specific domain name. It contains the domain name pointing to the hostname of the incoming mail server. Note that it has to point to a hostname and not to an IP address.

By establishing multiple MX records with different priorities, you could set a backup in case some failures occur. It is vital for you in order to receive emails properly.

CNAME record

The CNAME record shows an actual, canonical domain name for the domain or subdomain. It is commonly used when we are talking about subdomains. By implementing this DNS record type, you are going to be able to manage and administrate your Domain Name System as easily as possible.

The way to achieve that is by simply adding a CNAME record for each of your subdomains and pointing it to the domain name. As a result, each time you complete any changes or adjustments to your domain, they will occur to your subdomains too. That is going to save you a lot of time!

Related article: PTR record: Why should you care about it?