
For VPS and dedicated server customers with root access. The short answer: an open DNS resolver answers questions about any domain from any address on the internet, on port 53. Attackers send it small queries with a forged source address (the victim’s), and your server sends the victim much larger answers: an amplification attack, and your VPS takes part without ever being hacked. A national incident response team (CERT) finds these resolvers and our network and data centre provider sends us the notice. The fix is to turn off recursion for outsiders, or the whole service if you do not need it, without breaking DNS for any domains the server hosts.
What may be answering on port 53
| What runs | What to do |
| BIND (named), installed by a panel or by hand as the name server for your domains | Keep it answering for your domains, with recursion off (or allowed only for the server itself). |
| BIND or Unbound installed just so the server can resolve names | Make it listen on 127.0.0.1 only and refuse everyone else. |
| dnsmasq, Pi-hole or AdGuard Home in a container with port 53 published | Stop publishing it to the outside, or limit it in the firewall to the addresses that use it (your VPN, for example). |
| systemd-resolved on 127.0.0.53 | Not an open resolver: it only listens locally. Leave it alone. |
| A process you do not recognise | Treat it as suspicious: is my VPS compromised?. |
Closing the resolver
|
|
|
|
|
|
|
|
| Do not close port 53 or stop BIND on a server that is the name server for your domains: the websites and e-mail of those domains can no longer be found. On a name server, 53 stays open (UDP and TCP) and what you close is recursion. Copy the configuration files before editing them. |
| This notice does not mean the server was hacked: an open resolver is abused from outside, just as it is. A reply to the notice is still required, and the attack traffic stops once recursion is closed. On a VPS, root access is yours: we do not log in to the server and cannot change a firewall that runs inside it. If you lose SSH, tell us in the support ticket. |
|
Not sure whether your VPS is the name server for your domains? Tell us the domains and the step 1 output in the support ticket. Open a support ticket |
RECOMMENDED PRODUCT VPS server with root access Resources of your own, the OS you choose, reinstall whenever you like. from $8.40/mo (3-year plan, with coupon) See plans |











