Pi-Hole completely stopped functioning.

Hello all. My server recently had major DDoS attacks against it. So i tried using iptables to completely block all sources from the countries impacting us. After that - pihole completely stopped functioning. Webserver doesn’t work, dns doesn’t work, none of it.

I’ve tried:

  1. Reinstalling pi-hole
  2. Flushing blocks and Uninstalling iptables
  3. The ports aren’t conflicting

Pi-Hole itself says it’s okay. But the dns requests and and webserver are returning responses with no data. Any solution?

Thanks!

Apparently your server is exposed to the Internet.

Instead of creating many firewall rules, we recommend to never expose Pi-hole to the Internet and use a VPN to access it.

Without more information is impossible to know what is happening.

Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:

sudo pihole -d

Also, can you post a screenshot of Query Log page on the web interface showing some of the related queries?

yeah it is lol. there’s no other way for me to access it considering the use case for what i’m doing

I do have strict rules to make sure it’s not accessed by wrong people, but the server was just spammed on port 53 which caused the kill.
I’ve solved the issue by backing up the gravity db and rolling the server back to a backup from 1 week ago - and remerging gravity back into that. Seems to have worked. its functional.
but yeah feel free to close this post - sorry for wasting your time

Because you are probably running an Open Resolver and other people are using it.

Close port 53 immediately and use a VPN to access your server (including the DNS service).

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.