DNS attack

This definition is part of our Essential Guide: How to attack DDoS threats with a solid defense plan

A DNS attack is an exploit in which an attacker takes advantage of vulnerabilities in the domain name system (DNS).

In order to understand how DNS attacks work, it is important to first understand how the domain name system works. DNS is a protocol that translates a user-friendly domain name, like, into the computer-friendly IP address

When an end user types the people-friendly domain name into a client’s browser, a program in the client’s operating system called a DNS resolver looks up’s numerical IP address. First, the DNS resolver checks its own local cache to see if it already has the IP address for If it doesn’t have the address, the resolver then queries a DNS server to see if it knows the correct IP address for DNS servers are recursive, which simply means that they can query each other to either find another DNS server that knows the correct IP address or find the authoritative DNS server that stores the canonical mapping of the domain name to its IP address. As soon as the resolver locates the IP address, it returns the IP address to the requesting program and caches the address for future use.

Domain Name System (DNS)

Although the DNS is quite robust, it was designed for usability, not security, and the types of DNS attacks in use today are numerous and quite complex, taking advantage of the communication back and forth between clients and servers. To lessen the chance of a DNS attack, server administrators should use the latest version of DNS software, consistently monitor traffic and configure servers to duplicate, separate and isolate the various DNS functions.

Types of DNS attacks include:

Zero day attack – the attacker exploits a previously unknown vulnerability in the DNS protocol stack or DNS server software.

Cache poisoning – the attacker corrupts a DSN server by replacing a legitimate IP address in the server’s cache with that of another, rogue address in order to redirect traffic to a malicious website, collect information or initiate another attack. Cache poisoning may also be referred to as DNS poisoning.

Denial of Service – an attack in which a malicious bot sends send more traffic to a targeted IP address  than the programmers who planned its data buffers anticipated someone might send. The target becomes unable to resolve legitimate requests.

Distributed Denial of Service - the attacker uses a botnet to generate massive amounts of resolution requests to a targeted IP address.

DNS amplification - the attacker takes advantage of a DNS server that permits recursive lookups and uses recursion to spread his attack to other DNS servers.

Fast-flux DNS – the attacker swaps DNS records in and out with extreme frequency in order redirect DNS requests and avoid detection.

This was last updated in July 2015

Continue Reading About DNS attack



Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.


File Extensions and File Formats

Powered by: