News for hackers. Stuff that matters.
Re:Why might you run your own DNS server? by qwertyuiop_ on Wednesday January 05, 2022 @05:57PM (#29816363)
The pi-hole I was running on Raspberry Pi got hacked. I only noticed the traffic when something unusual showed up on my node app console
Re:Why might you run your own DNS server? by haswell on Wednesday January 05, 2022 @07:22PM (#29817322)
Was the Pi running public facing services? How did this occur?
Re:Why might you run your own DNS server? by qwertyuiop_ on Wednesday January 05, 2022 @07:52PM (#29817591)
No it was internal facing behind cable router. There must have been some vulnerability in the pinhole or os. They breached the router
Re:Why might you run your own DNS server? by gigel82 on Wednesday January 05, 2022 @11:29PM (#29819401)
That feels weird somehow. I highly doubt PiHole is the culprit. If you're only using it internal to your LAN for DNS there is no way someone from outside can touch it. You most likely have other, bigger problems with your network (perhaps the WiFi password was discovered by someone, or you're exposing other vulnerable services to the web directly).
Re:Why might you run your own DNS server? by wwn_se on Friday January 07, 2022 @12:06PM (#29841630)
Accually there's several ways, XSS for example.

But I agree that there's something other that's not ok. Compromised client (probably a computer) or a compromised router is my guesses.

Re:Why might you run your own DNS server? by dev_throw on Thursday January 06, 2022 @12:31AM (#29819849)
Agreed, I managed to achieve this by port forwarding port 53 in my router settings. This allows hackers to enlist you in their DNS amplification attacks so please never do this.
Re:Why might you run your own DNS server? by chrisfinazzo on Wednesday January 05, 2022 @08:08PM (#29817723)
Yikes. As much as I want to look into PiVPN, things like this give me pause.
Re:Why might you run your own DNS server? by purpmint008 on Thursday January 06, 2022 @12:18AM (#29819740)
Wireguard is the only service that I bother to expose.

It's stealth and has mitigations for DOS attacks.

Re:Why might you run your own DNS server? by chrisfinazzo on Thursday January 06, 2022 @05:53PM (#29831704)
Do you have a good guide for this? I sort of grok that the Pi (server) setup is different from the devices (clients) that will use it, but it’s always good to check assumptions.

I already run PiHole, but I might run this on a different box just to keep things simple.

Also, last I checked - port 51820 is reasonably well known, is it safe to use this default when forwarding traffic?

Re:Why might you run your own DNS server? by southerntofu on Thursday January 06, 2022 @08:51AM (#29823500)
To be fair, that was probably due to something else than the DNS stack. For example, i assume the web interface downloads countless dependencies from a 3rd party repo (such as npmjs), any of which could have been victim of a hostile takeover.

DNS is nowadays very robust and secure, and if you have unattended-upgrades configured there's literally zero reason to be frightened by DNS.