Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luci-mod-admin-full: DHCP and DNS: Add fields for dnsmasq ipsets #1453

Closed
wants to merge 2 commits into from

Conversation

jwmullally
Copy link

This allows easy user day-to-day administration of which domain IPs are added to IP Sets when dnsmasq is queried (useful for blacklists / whitelists).

Previously these domain lists could only be managed through the UI by using Domain Forwarding rules to a local ipset-dns instance, or by using third party packages (e.g. https://github.com/lvqier/luci-app-dnsmasq-ipset )

The IP Sets themselves and Firewall rules using them still need to be configured through uci.

This PR includes a necessary commit which simplifies the dnsmasq feature detection introduced in #679

Signed-off-by: Joseph Mullally <jwmullally@gmail.com>
Signed-off-by: Joseph Mullally <jwmullally@gmail.com>
@jwmullally
Copy link
Author

Tested on:
https://downloads.openwrt.org/snapshots/trunk/x86/64/openwrt-x86-64-combined-squashfs.img
26-Nov-2017 17:27
DESIGNATED DRIVER (Bleeding Edge, 50072)

Cases:

  • opkg install dnsmasq
  • opkg remove dnsmasq
  • opkg install dnsmasq-full

@jwmullally
Copy link
Author

The only drawback I can see is if the blacklists are huge (100-1000s of rules) it would make using the page a pain. The solution for that would be to put it on a seperate tab.

@LipkeGu
Copy link
Contributor

LipkeGu commented Dec 18, 2018

@feckert
Copy link
Member

feckert commented Aug 2, 2019

Please rebase your changes and please follow the contribution guidelines.

@feckert
Copy link
Member

feckert commented Dec 7, 2019

No reaction from pullrequest creator.

@feckert feckert closed this Dec 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants