Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a vps, and have several site on it, usually these sites are rarely being visited except myself, thus i am shocked by one fact that is i visit the vps provider's portal and find i have used a huge amount of bandwidth that such a small site would never used.

so i run ntop and reset all statistics then refresh the ntop web portal through 3000 port and find the diagram is really shocking, that DNS traffic occupies nearly 99 percent of all traffics, and the DNS traffic is nearly 100MB in several minutes, you could see this fact through the picture i uploaded

Horrible DNS Traffic happened in 5 minutes on a personal VPS

My Question is as follows: 1. Why there is so huge DNS traffic on my VPS? 2. Is my VPS hacked by someone that my VPS is configured as a core of dns traffic?

Edit 1 @RSchulze why you said the reason is because of mis configuration of dns software such as named? which kind of mis configuration could result in such huge dns traffic? btw, i don't configure named manually, i configure it using kloxo, which is a Host management software and it's author just sucided for hack attack against kloxo:( i still think my server maybe hacked:( maybe i should learn wireshark and capture some packages in order to know the origin and target of this DNS traffic

Edit 2 After i kill the named process, there is seldom DNS traffic now:) but why there is still some DNS related traffic, but they are all received traffic, no send traffic:) does that mean my VPS send some DNS request to other hosts?

enter image description here

share|improve this question

closed as off-topic by HopelessN00b Apr 9 '15 at 18:59

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Without any information it's hard to tell but very probably it's a DNS amplification attack. Research it. – faker Oct 11 '13 at 15:06
which kind of information do you need, @faker, if you ask, i would add the information you need to my question:) – giantforest Oct 11 '13 at 15:08
Since the graph doesn't say which direction the traffic is flowing I'd assume you are either the target of a DoS, or your server is being used as part of a larger DoS (if your DNS server responds to DNS queries from the internet). google "DNS Amplification Attacks" – RSchulze Oct 11 '13 at 15:09
i am not sure, maybe my server is hacked, but how to find the clues whether i am really hacked, and whether the hacker have made some backdoors on my VPS, how to check this? – giantforest Oct 11 '13 at 15:31
Based on the information provided it is very unlikely you were "hacked". It looks more like abuse of misconfigured services (DNS). – RSchulze Oct 11 '13 at 16:02

DNS relay attack in progress, i bet.


for the details and an example, or (which has a good example to show you what is going on).

Basically your DNS server gets requests from a fake IP address and sends large responses there. The goal is to overlaod the target. Misconfigured DNS server in the source.

share|improve this answer

Another, less likely, attack vector is data exfiltration via DNS. This works by querying a particular [attacker owned] domain, where the attacker is able to craft the responses depending on the host being queried. Data can be exfiltrated in the DNS query payload, and C&C information can be returned in the response.

Like I say, this is a less likely attack vector, but it's a nifty way of getting data out of an environment that doesn't allow HTTP(S) outbound, but does allow DNS.

Good luck in finding the answer...

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.