Archive.org - Jeff Keller - Force All DNS Queries Through PiHole with OpenWRT

this is not my guide. just posting how i found it.

after stumbling around trying to figure out how to ask the questions necessary to accomplish this, i found a bunch of people referencing this guide, however the domain is not working at this time, but there is a copy of the guide on archive.org. hopefully this saves someone out there a little bit of time.

https://web.archive.org/web/20250224182727/https://jeff.vtkellers.com/posts/technology/force-all-dns-queries-through-pihole-with-openwrt/

The hole in this guide is the omission of blocking DoH and DoT and DoQ(uic).

Does not care about ip6 either.

The hole in this guide is the omission of blocking DoH and DoT and DoQ(uic).

ou’re totally correct and i hadn’t factored that in, a couple of blocking rules should be able to close down those ports and then everything would be forced through adguard correct?

Does not care about ip6 either.

you guys are knowledge powerhouses, thank you!

that in mind, is there an equal ipv6 port forward and NAT rule that could be applied to cover those bases?

For a start: https://openwrt.org/docs/guide-user/firewall/fw3_configurations/intercept_dns

2 Likes

but thats for fw3 it says

The principles valid for fw4, too. Only to use nft rules.