openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
4.03k stars 3.5k forks source link

dnsdist: Add UCI integration, better defaults #25398

Open rgacogne opened 4 days ago

rgacogne commented 4 days ago

Maintainer: me / @Habbie Compile tested: github actions Run tested: x86_64 docker and TP-Link Archer C7 AC1750 v5 (pre-APK, though)

Description: This pull request adds UCI integration for DNSdist, making it possible to configure a fair amount of features via UCI. It includes the ability to resolve DNS queries for local domains, getting the name of local devices from the DHCP leases (which is why this PR grants the dnsdist user access to DHCP leases), and Discovery of Designated Resolver (DDR, RFC94621) support to signal DoT and DoH support to clients on the local network. It also tunes the default settings, using values that make more sense for routers and reduce the memory usage a lot.

Signed-off-by: Remi Gacogne remi.gacogne@powerdns.com

rgacogne commented 4 days ago

LGTM if you bump PKG_RELEASE!

Oops, good one! Done.

rgacogne commented 3 days ago

I somehow managed to introduced a typo after testing my changes. Fixed now.

Habbie commented 3 days ago

I somehow managed to introduced a typo after testing my changes. Fixed now.

oh, very subtle. both sample and simple could have made sense there