DNS Info Zone DNS,DNS records DNS PTR record explained

DNS PTR record explained

DNS PTR record – What is it?

DNS PTR record is a type of DNS record, which is oftentimes called pointer record. This is because it helps to associate an IP address to a domain name. The goal is to show that the specific IP address is actually related to the domain name. If somebody is checking it, this record proves that there is no scam. With the DNS PTR record it is easy to validate the different elements or additional services, such as a mail server.

Looking for more information? Take a look at this fantastic about the DNS PTR record!

What is inside it?

Inside the DNS PTR record is a very simple structure. However, in case you want to create one, you are going to notice some fields, which are the following: 

  • TYPE: In this case, you should choose PTR.
  • Host: Here, you have to type the IP address. It could be both an IPV4 address or an IPv6 address. 
  • Points to: Here, you have to type the domain name. 
  • TTL: Here, you set the TTL (time-to-live) value of the PTR record. Typically, it is not mandatory to be low.

How to create your DNS PTR record?

Creating your DNS PTR record is an easy task. So, let’s describe it in several steps.

First, you have to create a Master Reverse Zone.

The PTR record is able to exist in a Master Reverse Zone. Note that it should not be placed in a standard Master zone. Whenever you make the Master Reverse Zone, the IP address should be in reverse order. So, for illustration, if the IP address is 1.2.3.4, you want to add it as 4.3.2.1. The same rule applies no matter if it is an IPv4 address or IPv6 address. 

Second, you have to create the PTR record.

When you are adding the PTR record, you will have to type it in reverse too. For every one of your PTR records, you should have a matching A or AAAA record. So, make sure to check!

Lastly, add NS records.

You should add NS records at the IP provider, which are pointing to your nameservers. Finally, your Reverse DNS zone is completed!

How to check it?

If you want to check your DNS PTR records, you have to perform a reverse DNS lookup.

On Linux and macOS

Inside the Terminal, use the dig command. 

Type:

dig –x 1.2.3.4

On Windows

Inside the Command Prompt, use the nslookup command. 

Type:

nslookup 1.2.3.4

*Place the IP address that you require to view.

If your query identifies a PTR record, the result will be the domain name.

Why use the DNS PTR record?

DNS PTR records provide trust and verify IP addresses as a key part of the Reverse DNS. Therefore, if you desire your outgoing mail servers to run accurately, you should add such records. The reason for that is the verification methods that demand them. For example, by that particular method, if there is something suspicious, the email ends up in SPAM. Other examples are if the searcher does not locate a DNS PTR record or the PTR does not meet an A/AAAA record adequately. Therefore, you will want to add DNS PTR records in a Reverse DNS zone if you require to send emails. Moreover, these emails reach their addresses. 

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Traceroute command

Traceroute command explainedTraceroute command explained

If you want to know everything about the traceroute command, you came to the right place. Here you will learn what is it, why to use it and how.

Traceroute command explained

Traceroute command, just like the rest of the popular network commands, is a simple small software with command-line interface (CLI) and comes built-in on most Linux distros, BSD distros and even macOS.

It is easy to understand its purpose, to trace the route of a query, from your computer, through all the routers (hops) on the way, to the target that you set.

The result will be data on each hop (host name and IP address), showing if the packets of data arrive and after what amount of time, and which was the next hop.

Traceroute options for Windows, Linux, and macOS

(more…)

Master DNS zone

What is a Master DNS zone?What is a Master DNS zone?

Are you reading about DNS? Great! For sure, you are a passionate online business guy. It’s not a simple topic, but it helps a lot to have the whole picture for later defining your business’s real needs and choices. Let’s get a bit of context to understand better the Master DNS zone and its role in the DNS space.

What is the DNS namespace?

(more…)

DDoS protected DNS service

What is DDoS protected DNS service?What is DDoS protected DNS service?

The DDoS attacks are seriously bothering the functionality of many sites. Now, it doesn’t even matter if your site is small; if you have it hosted in a small country, provide free service, or anything.

The DDoS attacks are bringing any type of site anywhere, and you need to protect yourself. You saw that there is a DDoS protected DNS service, and you what to find more about it. Go on. Here you will learn the most important.

What is a DDOS attack?

(more…)