DNS

DNSSEC – Definition

DNSSEC explained.

The Domain Name System Security Extensions, or for short DNSSEC, is an excellent method to improve the security of your domains. It is a superior DNS trait. When you start applying it to each DNS record is going to be attached a digital signature (DS) record. That provides a guarantee that the domain name source is authentic.

The main reason for its creation is to keep the users on the Internet safe and protected from any forged DNS data. For example, the address could be misleading or malicious and lead users to an unwanted website rather than the original one they requested.

When you start using DNSSEC, the DNS lookups are going to prove that the source of the website’s DNS is valid with digital signatures. Therefore, some types of attacks could be successfully stopped through its help. That is possible because the browsers will not open the site if the digital signature does not match.

How does it work?

DNSSEC is fixing the safety problems that concern DNS, which needs a cover of security on top. 

The answer is the authentication method that applies digital signatures with public-key cryptography – DNSSEC. With its help, the owner of a DNS service is able to cryptographically sign the DNS data for their domain name. It is essential to know that we are not speaking about the DNS queries themselves. 

To achieve that, every DNS zone requires a combination of a public and a private key. 

The domain owner uses the private key to sign the information in the zone. 

The public key is visible publicly, and it is placed in the zone.

Each DNS recursive server that wants to review data in the zone will receive this public key and confirm the authenticity of the DNS records. This occurs if it successfully authenticates the information. If not, the DNS recursive server is going to give an error message to the user. 

The information in the authoritative name server additionally requires to verify its authenticity. Its public key is confirmed, not by its own private key, but from the authority on top. The root zone does not have someone on top to sing its key.

What does it protect against?

The foremost aim of DNSSEC is to provide restrictions to third parties to attempt to falsify any DNS records. Limiting the following situations from happening, it is capable of protecting the integrity of the domain name.

DNS Cache Poisoning

It is considered a sort of man-in-the-middle attack. The attackers’ goal is to flood a DNS resolver with bogus DNS information. There are cases in which the attacks can progress a lot and establish a fake end result in the cache memory of the resolver. For that reason, the DNS resolver supplies a malicious and fraudulent address to all users that ask for that particular website. Unfortunately, it lasts till the TTL (Time-to-Live) expires.

Fabricated zones

DNSSEC can protect against DNS attacks that unfairly use the DNS system and supply simulation results for zones. They may not exist, really, and criminals profit from holes among zones. So DNSSEC produces mechanisms for these holes to not being used and secure the complete zone. 

Advantages of using Managed DNS

If you own or administrate an online business, you know how vital DNS is for existing on the Internet. Of course, you can build your own DNS server, but having a Managed DNS brings really good advantages that you should consider.

What does Managed DNS mean?

Shortly, Managed DNS means the service offered for clients to use the DNS servers of a provider. Once you pick such a provider, its DNS servers (its infrastructure) will be available for you to manage all your DNS data (records) of your domain and make the domain available online. 

Providers supply their clients with a friendly control panel to manage their DNS. From there, you can create, add, modify, or clear DNS records, DNS zones, PoPs, etc.

Advantages of using Managed DNS.

Cost. 

Quality DNS providers own robust networks. Getting their service, you can access their whole infrastructure. So even an expensive plan for sure will be cheaper than creating your own DNS from zero.

Ease of use. 

To administrate DNS is not an easy task. But it can get more or less complex. Managed DNS gets in charge of routine tasks for you so you can focus on the essential ones. From the beginning, not being the one setting up all your DNS servers is a relief.

Easy scalability, up and down.

You look for constant growth, more traffic every day. But are you ready to handle this? With a Managed DNS service, you can expand or reduce your resources (speed, security, POPs, etc.) without badly compromising your budget. There are different plans to satisfy different websites’ needs and sizes. And you can add or cancel features based on your performance and real growth. 

Add as many PoPs as you need.

Having different points of presence (PoPs) is absolutely convenient, especially for international websites. Managed DNS providers offer you many servers around the world for saving your website’s DNS records and choosing those that are closer to your market. 

Whenever you require a PoP, you can easily add it.

Gain redundancy.

Redundancy is the way for websites to be constantly available. If your DNS records are saved only in a Primary Authoritative server, and it fails or suffers an attack, your site won’t be available. Managed DNS is the easiest way to add servers wherever you need them. While adding PoPs, automatically, you gain redundancy for your business. 

Get higher uptime.

Downtime means the time your website is not accessible for clients. And that generates angry clients and losses for your pocket. Again, saving your site’s DNS records in a single Primary Authoritative server is possible but risky. If it goes down, there’s no alternative for the site to be accessed by clients. If you have copies of your DNS records in more than one DNS server, you increase your business’s uptime. One or even several servers on a network could be shut down due to a violent cyber attack, but not all of them.

Extra security.

Threats on the Internet are many. Therefore there’s no single measure to be 100% safe, but a combination of them. Managed DNS supplies you servers enough to balance your traffic load, DNS-protected servers with the technology for analyzing and filtering suspicious traffic, and more. Such resources can be considered in your strategy to strengthen your defenses.

Conclusion.

To use a quality Managed DNS service is a good investment. Analyze the needs of your website, costs, and give it a try!

Understanding DNS cache.

Since its creation, due to its utility and efficacy, the Domain Name System (DNS) became very demanded. No network can fully function without it. And considering the number of networks that currently exist, be sure that the DNS it’s permanently busy!

Considering all the important processes that rely on this system, different mechanisms have been created to reduce its stress by helping it with the execution of some tasks. Here comes the DNS cache that makes DNS work better and faster!

What is the DNS cache?

The DNS cache is the temporary cache memory for saving DNS records of already queried domain names. This memory mechanism is available in different machines, DNS recursive servers, computers, mobiles, tablets…

The mechanism’s purpose is clear, not to repeat a DNS lookup every time that a specific domain name is requested. Think about that news site you request every morning. When you requested it for the first time, a DNS lookup took place to search for its corresponding IP address. Once a DNS recursive server got its IP address, it was possible to load the domain for you, and the DNS record (IP address) was saved in the DNS cache. The following day, you typed the news domain name for revisiting it, and loading it for you was easier and faster since its IP address was available in the DNS cache. A new DNS lookup was not needed this time.

These and all the DNS records related to the different domain names will only be available on the DNS cache temporarily, not permanently. If you wonder how long? The exact time is the one that you or your administrator establish in their TTL (time-to-live). 

It allows to respond to DNS users’ queries faster and to optimize the resources efficiently. DNS recursive only do the really necessary lookups. 

How does the DNS cache work?

Whenever a user requests a domain name, a DNS lookup will be triggered. As a first step, the user’s device will search in the DNS cache included in its operating system (OS). It’s a database where different DNS records get saved and their corresponding TTL values. As mentioned before, that TTL is set by the DNS administrator of the domain. If the TTL hasn’t expired, the requested DNS records can be found directly there. The request will be responded to, and the domain loaded really fast. But if the TTL already expired, a new lookup will be needed, and this means extra time for the complete process to occur again.

This means a DNS recursive server will take the user’s request and ask other servers for the necessary DNS records. It will ask the root server, this will point to the exact TLD server that should be queried, and this last will send the recursive to the authoritative name server that can finally provide the DNS data (records).

The data will be sent to the user’s browser for loading the domain. And on the way, those data will be stored on the DNS cache of the recursive server, and the user’s device (computer, tablet, or mobile) to be available for a while, the time that their TTLs allow.

Conclusion.

The DNS cache is an efficient mechanism for making quicker and more efficient the DNS resolution process. It saves time, effort, and resources for the network (its different servers involved) and the user’s device.

Its utility is very appreciated by everybody, including the dark side of the web. DNS cache can be used for criminal purposes, so don’t forget to protect its security!

​Basic DNS terms and definitions

No time to waste! Let’s see the basic DNS terms and DNS definitions that you must know to manage your domain well.

​What is DNS?

DNS stands for Domain Name System. It is a global system that is decentralized and has a multi-level hierarchical structure that serves to connect domains to IP addresses. Thanks to it, people don’t need to remember IP addresses and can directly use domain names to connect to services.

​What is a domain name?

A domain name is an identifier, a unique text string, for naming devices or services like Wikipedia.org. People can use it and remember it a lot easier than its IP address.

​What is a DNS zone?

The DNS zones are the administrative partitions that the DNS namespace use. A particular DNS administrator administrates each one, and this makes the whole system decentralized. DNS zone and a domain are seen as the same thing in many cases, but it is not exactly the case. One domain can have just a single DNS zone, and then there is no real difference. But it also can have more DNS zones, and then they will be different.

​What is an IP address?

The IP address is the identifier that the Internet Protocol (IP) uses to name hosts on the Internet. It looks like a string of numbers and letters that are separated by dots. Based on this IP address, devices can connect to each other and send information. There are two types of IP addresses currently in use which are IPv4 addresses like 91.198.174.192 and IPv6 addresses like 2620:0:862:ed1a::1.

​What is a DNS query?

The process of searching the IP address (an A record or an AAAA record)or another DNS record of a domain is called a DNS query. A DNS client asks for the information it needs, its query gets taken by a DNS recursive server, and the client receives the corresponding answer or an error message in a case of failure.

​What is a DNS record?

 DNS records are text files that contain information regarding DNS. One domain can have multiple DNS records that indicate different entities and settings of a domain. One could show the IP address. Another can show a particular service like the email server and more.

The DNS records are stored inside a zone file that each DNS zone has.

​What types of DNS records exist?

  • A record – a domain to an IPv4.
  • AAAA record – a domain to an IPv6.
  • CAA record– shows a list of allowed Certification Authorities for the domain.
  • CNAME record – Links one name to another.
  • MX record – shows the email server for receiving emails for the domain.
  • NS record – shows the authoritative name server for the domain.
  • PTR record – IPv4 or IPv6 to a domain.
  • SOA record – indicates essential information about the zone. 
  • SRV record – used to show service.
  • TXT record – various use, including domain authentication.

Those are the most popular types, and there are more.

​What types of DNS servers exist?

You can separate two basic types of DNS servers – authoritative name servers and recursive name servers.

The authoritative name servers hold the zone file of a particular zone and can answer queries for it. In this category, you have the authoritative name servers of each particular domain like Wikipedia.org, TLD servers (like .org, .com, etc.), and Root server (the highest hierarchy level).

Recursive name servers serve to get the DNS query from a DNS client and search for its answer by checking different servers until they receive an answer. They are the middle-man between the DNS client and the authoritative name servers.