DNS MX record

What is a DNS MX record, and how does it work?

The DNS MX is a DNS record that has an essential role in the proper functionality of your email server. It points to the right email server or servers for accepting emails for the domain name.

Without it, the sending email servers will not know where is the target of the emails and can’t ensure proper delivery.

What is a DNS MX record?

The DNS MX record, also known as the mail exchanger record, is a key component of a working email server that links a domain name to the hostname of the incoming mail server. It is a name-to-name connection that indicates the host that the senders need to interact with for the communication. The senders will then ask for the IP address, and finally, they can send emails.

A DNS MX record will have the following parameters: type – MX, Host – domain name, Points to – the hostname of the incoming mail server, TTL – time in seconds that indicates for how long the DNS record is valid, Priority – a number that could be between 0 and 65535 and shows which email server should receive the email.

You can have multiple email servers for accepting emails and put them different priority values through different DNS MX records. It is good to provide backup. We recommend you to use a number like 10 or more as a baseline. That way, if you want to put a server with a higher priority, you can set another MX record with 9 or lower number. If you want, you can put a higher number too. You have enough space.

How does the DNS MX record works?

To understand the DNS MX record, let’s see all the necessary steps that one outgoing mail server needs to perform in order to send an email to domain.com.

1. A user on the outgoing email server is trying to send an email to Maria that has the email maria@domain.com.

2. The outgoing mail server will see the domain name, in this case, domain.com, and query it to get where exactly its nameservers are.

3. What the sender needs is a DNS MX record, so it knows where to send the email. So it queries the nameservers of domain.com (for example, ns1.domain.com, ns2.domain.com, etc.) for MX record.

4. Domain.com responds with one or more MX records that show which servers can receive emails for domain.com (for example, emailone.domain.com, emailtwo.domain.com, etc.).

5. The sender receives the MX records, sees the host or hosts responsible for receiving emails, and makes a new query for A or AAAA records to get the IP address or addresses of the servers.

6. When it gets the IP address, finally, it can send the email to maria@domain.com.

*This model skips verification or authentications on the way for simplicity.

Conclusion

Now you know a bit more about how does outgoing and incoming mail servers work. The MX record is an essential building block that we need to put right away. It will help us receive the emails in the right place. Otherwise, you might not receive emails for your domain, and that is a serious problem.

DNSSEC

What is DNSSEC?

You can see DNSSEC as a patch to otherwise unsafe DNS. It brings cryptography to the table and a whole line of trust, which guarantees every level and provides top-notch security for your domain.

What does DNSSEC mean?

The whole meaning of DNSSEC is a mouth full – Domain Name System Security Extensions.

The original DNS is fast and reliable, but it lacks security. It wasn’t that of a problem when it was first created. Later, in 1993, the Internet Engineering Task Force (IETF) finalized specifications for DNS data encryption standards. It got in use in 2005, and its latest revision is from 2010. 

The DNSSEC aims to stop the DNS cache poisoning and alteration of the DNS data that could happen if it is not activated.

The DNSSEC involves all levels of a domain, including the root, TLD, and the part that you can manage.

It uses a combination of public and private keys, where each upper level can verify the level below.

It is a chain of trust. If one level fails, the chain is broken, and the data cannot be trusted.

Find out more information about DNSSEC!

Read More

What is an SPF record?

What is an SPF record?

Emails from your company are very important and delicate stuff. They are part of your image, the trustability clients have on you, and therefore, an attractive tool for criminals to get profit through phishing and other illegal activities. Suspicious use of them can be painful for a business and a reason to be banned. 

SPF means Sender Policy Framework. This DNS record is in itself a system that validates legitimate emails. SPF record recognizes the mail servers allowed to send emails in your company’s name (domain). It enhances the trustability of your email server while preventing domain spoofing.

Read More

DNS A record

A record, the king of the DNS records

Domain name system (DNS) makes the Internet experience easier for everybody, visitors, and websites’ owners. But if you take a look at its “backstage”, it’s a complex show to run. Many different actors are involved. Hosting, domain names, registers, data, IP addresses, DNS records…

DNS records are some of those important components. They are simple and brief messages, instructions for DNS servers to execute specific tasks. The syntax and commands DNS records contain allow servers to know which IP address is associated with a specific domain name, where to direct a query, the way they (servers) should answer a query, the time they should keep it, etc.

What is an A record?

Read More

What is PTR Record

What is a PTR record, and do I need to create one?

In the sea of DNS records, there are a few that you really must learn. The PTR record is one of them. If you want to know why it is so important, you came to the right place.  

What is a PTR record?

PTR record is a type of DNS record, also known as pointer record, that serves the purpose of linking an IP address to a domain name. It is a prove, that this exact IP address that somebody is checking really is related to the domain name, and it is not a scam. The PTR record has the purpose of verifying different elements or services, like a mail server. 

How to check PTR records?

What’s inside a PTR record?

Read More