F5F Stay Refreshed Power Users Networks How to Protect an open DNS resolver

How to Protect an open DNS resolver

How to Protect an open DNS resolver

J
josiecatz__10
Senior Member
640
12-10-2025, 11:29 AM
#1
I have a pihole running as an open resolver and yes while I know it is not generally the greatest idea in terms of security I have been busy hardening it. I did this awhile back but my VPS has reset so I am going through the paces again. There was some algorithm that detects when your DNS is being used in an amplification attack but I can't remembered what it's called. It's named after some guy like John and it was just a simple install. Any ideas?
J
josiecatz__10
12-10-2025, 11:29 AM #1

I have a pihole running as an open resolver and yes while I know it is not generally the greatest idea in terms of security I have been busy hardening it. I did this awhile back but my VPS has reset so I am going through the paces again. There was some algorithm that detects when your DNS is being used in an amplification attack but I can't remembered what it's called. It's named after some guy like John and it was just a simple install. Any ideas?

C
Car3cup
Junior Member
10
12-11-2025, 12:26 PM
#2
Set connection caps for DNS traffic like this example: https://gist.github.com/tuklusan/f71e01f...afbfc91858. This controls TCP and UDP DNS requests with specific limits. For detailed guidance, see the reference link. A simplified approach is provided below.
C
Car3cup
12-11-2025, 12:26 PM #2

Set connection caps for DNS traffic like this example: https://gist.github.com/tuklusan/f71e01f...afbfc91858. This controls TCP and UDP DNS requests with specific limits. For detailed guidance, see the reference link. A simplified approach is provided below.

C
cookiedough909
Posting Freak
782
12-16-2025, 01:18 AM
#3
That's good to hear! Let me know how I can assist further.
C
cookiedough909
12-16-2025, 01:18 AM #3

That's good to hear! Let me know how I can assist further.