Tag: TTL

List of the basic DNS record types

Dо you want to learn more about the different records? If yes, you are in the right place. Here you can find the list of the most popular DNS record types.

1. SOA record

The Start Of Authority record, or SOA record for short, is the first on our list. It is the one that must be comprehended. Why? It represents the beginning of the Authoritative DNS zone. This DNS record contains a wealth of data for the DNS zone. If you want your network to run smoothly and without errors, you’ll need this DNS record. It sends all requests to the principal DNS server. In addition, the SOA record contains the information and contact information for the DNS administrator. A variety of parameters, such as the domain serial number, are also included. It’s worth noting that each DNS zone should have just one SOA record.

How many DNS record types are there?

2. А record

Any DNS list must include the A DNS record. It’s perhaps the most well-known record format. The A record is used to direct or point a hostname to its IP address. When talking about A record, the address is IPv4 (32-bit) (32-bit). A newer AAAA record type supports IPv6 addresses (128-bit) (128-bit).

As a result, your site’s A record will include the host (extranewspapers.co.uk), as well as the host’s location (89.32.146.196), type (A), and TTL (time to live). It’s the most often utilized DNS record.

3. PTR record

The PTR record is another crucial type, often known as a Pointer record. It is used for backchecks and performs the reverse of the A record. It connects a hostname to an IP address (IPv4 or IPv6). It’s required because the rest of the servers in the globe may request proof that an IP address corresponds to a hostname before accepting a service, communicating, or taking any other action. As a result, it is frequently utilized in the authentication of the host.

4. CNAME record

The CNAME record essentially displays the real domain name (canonical) for the domain or subdomain you’re looking for. This DNS record type is significant because it can be used for all your subdomains. They point to your domain name by adding a CNAME record for each of them. Additionally, you also don’t need to add any additional DNS records to your subdomains.

5. TXT record

We can’t omit the TXT (Abridged from text) DNS record. It is incredibly adaptable. It provides information to sources outside the domain in text format. The SPF record is a type of TXT record. It is used by mail servers to determine whether a message is trustworthy and from the correct domain.

TXT records could be used for various types of verification and authentication. For example, increasing trust in your domain and emails is critical for your online reputation.

6. CAA record

The DNS administrator of a domain uses the Certification Authority Authorization record, or CAA record, to add and establish which Certificate Authorities (CAs) can publish SSL or TLS certificates for the domain.

The domain owner benefits from the CAA record since it gives them control over issuing certificates. Furthermore, the number of incorrectly issued certificates for that domain will be minimized. You can utilize the CAA record for your entire domain or only part of the subdomains. It all relies on your particular preferences and the setup you choose.

Conclusion 

Let’s review. You are now familiar with one of the most popular DNS record types. They are as follows: SOA, A, PTR, CNAME, TXT, and CAA records. So, it’s now your turn to make them real in your Domain Name System. Good luck!

What is Time To Live (TTL)?

What is TTL?

Time To Live (TTL) sounds like a horror movie, but luckily it is not related to people. It is the value that shows how long the information should be kept in a particular device. There are many pieces of data that have their own TTL value. Here we will see DNS TTL and CDN TTL. 

When we are talking about DNS TTL, it is related to the time that the DNS resolvers must keep the DNS records in their cache. Each of the DNS records will have its TTL value. There are some with longer TTL because there is less chance that the value will change and others with shorter TTL value, where there are often changes. 

You can use these values as an orientation for your DNS records:

  • A and AAAA records – 2 hours (7200 seconds) is ok.
  • CNAME records – up to 12 hours (43200 seconds)
  • MX records – keep it as low. 1 hour (3600 seconds) is ok. 
  • TXT records – up to 12 hours (43200 seconds).

And about the CDN TTL, there we are talking about caching the whole content and how long should the cache servers keep the photos, videos, or whatever needs to be cached. 

When the TTL expires, the servers need to discard the current data that they have and make a new query to get the updated information from the primary servers. 

How does TTL work with DNS queries?

Talking about DNS requests, they are packets of data that also have TTL value. Imagine if they didn’t have such a parameter! The first-ever DNS query could still be around, going from server to server. 

So the TTL value of a DNS request is there to stop the perpetual search or answer and reduce pointless stress on the system. 

The value starts with a bigger number and gets dropped when it comes to zero by the routers. 

How to check the TTL value on Windows?

If you are a Windows user, you can use the Nslookup command and check a particular DNS record like – SOA, A, MX, AAAA, and more. Change the type with the one you want to see.

Start the Command Prompt as an administrator, and use this:

nslookup –types=soa yourdomainhere.com

How to check TTL value on Linux or macOS?

You have more options on Linux and macOS. You can use different commands through the Terminal application. 

The Dig command can show you different DNS records, and you can see their TTL value. This example will be with A DNS record.

dig a yourdomainname.com

You can also use the Host command in a very similar way:

host –a yourdomainname.com

This command will show you all of the visible DNS records with their TTL values.

Conclusion

The TTL value is a necessary part that limits the time a data is valid. It will show if the data is current or if it needs to be updated soon. It makes data updates easier.

DNS propagation explained

Imagine this situation. You have finally decided to truly manage your DNS. You have selected a DNS service provider, you have created master and secondary zones, and you have added all the DNS records that you will need. You spend a lot of time and effort. And after everything is ready, you want to check and… there are no changes! Don’t worry. The DNS propagation takes time.

What is DNS propagation? 

It is a process to update the changes that you make in your DNS. After editing or creating new DNS records, they are saved in the authoritative DNS nameserver. That is ok, but what about all the rest of the DNS name servers? The cache memory of the recursive DNS servers will still keep the older versions of the DNS records based on their TTL value.
The DNS propagation is the time it will take to propagate, to update the changes to all of the recursive name servers.

4 factors that affect the DNS propagation speed

Frequently asked questions about DNS propagation

Do you have any doubts about the DNS propagation, we hope you can find your answer here:

Could we make the DNS propagation faster?

Of course, we can, but there is a catch. Boosting the speed depends on the TTL value of the DNS records, so lowering the TTL value of each of the DNS records will indeed guarantee faster DNS propagation. The problem is that you might not want to have DNS records with low value. It will stress more your DNS servers, updating them too often.
We don’t need all of our DNS records to update all the time.
It is better to keep the records’ TTL values at their normal level. Plus, editing all of them will take a lot of time.

Can you check if the DNS propagation is ready?

Of course, we can, and this time there is no problem. You need to see if the IP address for a domain name has changed. This will indicate that the A or AAAA records are updated already.
We will show you different ways depending on your OS.

*Change yourdomainname.com with your actual domain name.

Linux or macOS

Open the Terminal, and we will use one of the built-in commands called the Dig command.

dig yourdomainname.com

You can use the host command too, whatever you prefer.

Windows OS
The Terminal alternative in Windows is the Command Prompt. Inside it, we will use the NSlookup command.

nslookup yourdomainname.com

How long can the DNS propagation take?

It can take a long time. Depending on when the recursive DNS servers updated themselves and the TTL values of the DNS records, it can take as much as 72 hours.

Conclusion

Waiting for the DNS propagation to occur is a time-consuming process that we could not fully predict. This is the situation, and there is little we can do, so just be patient, and in less than 72 hours, the update will happen.
Patience is the key here!

Navigation