A DNS flood attack overwhelms a target by sending massive volumes of UDP traffic to port 53, preventing the server from responding to legitimate DNS requests. It can use actual DNS queries, ICMP packets, or amplified traffic to achieve denial of service.
DNS Flood Attack
Let's now take a look at a DNS flood attack. The name really says it all.
A DNS flood attack just means that it's sending a bunch of packets over trying to overwhelm the machine so that it can't respond to legitimate traffic. Really, what's being targeted is this UDP port 53. So, first of all, it's a UDP, so it is a type of UDP flood attack. A DNS flood attack is a type of UDP flood attack. Then we also see it's hitting port 53.
So this means that it could be whatever we're hitting port 53 with. It could be with some sort of DNS packet that's requesting a DNS server, or it could just be ICMP packets that are hitting port 53.
I'm going to show you a version of this UDP flood attack, but remember, this is for ethical hacking purposes only. Only do this on equipment that you own and networks that you own, or equipment and networks that you've gotten permission to carry out this type of attack with.
I'm on a Kali Linux box, and what we're going to do is open up a terminal and use our hping to do a flood attack here. I'm going to make this a little bit bigger so we can see this better. We're going to use our sudo command, and we're going to do hping3. We've got to have a target machine, so what we're going to target is 10.130.23; that's going to be our target machine.
We're going to do this from all sorts of random sources, so that's going to be from all sorts of IP addresses that are varying. We're going to do a flood attack; that's the type of attack we're going to do. This is going to be a DNS one. So we're going to do — oop, I need a dash dash — it's a UDP packet. And we're targeting the destination port of 53.
So we're going to carry this out. I'm going to hit enter. It does need a password. All right, and now it's carrying out this type of attack, and it's flooding it with this type of attack.
So in this case, we're using an ICMP packet to hit this port 53, and it's still considered a DNS flood attack. But these wouldn't necessarily have to be ICMP packets. They could actually be DNS queries. So we're sending DNS queries over to the machine, and that would work as a DNS flood attack as well, depending on the query type. It also could be an amplification attack, something where the request that's being made gets amplified.
So, with a DNS flood attack, we're essentially overwhelming the victim machine with requests or ICMP packets hitting port 53, overwhelming whatever machine that we're hitting. Therefore, it can't resolve, or can't service legitimate users.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →