Open In App

What is Recursive DNS?

The Domain Name System (DNS) is one of the most important parts of our critical infrastructure that needs protection. The DNS is a system for naming computers, services, or networks on the Internet. There are many basic functions to any given domain name, but the recursive DNS service is an especially significant feature to understand in Ethical hacking. Many hackers utilize recursive DNS servers to resolve domains and spoof emails with little or no effort. Recursive DNS can be used in conjunction with man-in-the-middle techniques to execute phishing attacks by changing what web pages you see as you surf and making it easier for hackers to perform session hijacking as well.

 

How Does Recursive DNS Work?

A Top-Level Domain (TLD) such as .com or .net, and a second-level domain such as microsoft.com or crmsoftware.net. Typically, DNS is configured at the boundary between the Internet and intranet.



But you can configure a recursive DNS server that returns all of its answers for all TLDs too. Because it’s not just used to resolve names within one network, a recursive DNS server can provide better security than configuring your firewall to block communication from them. That’s because a firewall would only be able to block traffic between your machines and the recursive DNS server, while true firewalls can also monitor incoming traffic on an inbound or outbound port by replying to any packets with no reply.

If you block the DNS replies, you’ll want to create your DNS servers differently. You might be tempted to configure a caching-only server, but those only cache replies from the primary server and not other secondary servers. If the primary server is down or unavailable, then your caching-only DNS will not be able to resolve any queries. So if you’re going to configure your own recursive DNS servers, make sure you’re running BIND (Berkeley Internet Name Domain) software.



Advantages:

Disadvantages:

Article Tags :