`smartdns`: update to latest upstream 47.1
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Package Name
smartdns
Maintainer
Nick Peng pymumu@gmail.com
OpenWrt Version
25.12.2
OpenWrt Target/Subtarget
mediatek/filogic
Steps to Reproduce
Install OpenWRT package smartdns 46.1.
Observe /etc/init.d/smartdns set_main_dns() behavior: adds LAN IP with CIDR to dhcp_option causing DHCP/DNS issues.
Compare with upstream smartdns 47.1, where CIDR is removed and uci batch used.
Actual Behaviour
On modern OpenWRT (DSA), network.lan.ipaddr contains CIDR notation: 192.168.1.1/24
Causes broken DHCP DNS assignment (6,192.168.1.1/24) → clients receive invalid DNS entries.
Bug traced to /etc/init.d/smartdns in OpenWRT package.
Upstream smartdns 47.1 has corrected this (sed 's/\/.*//g') and uses uci batch.
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the smartdns package definition and the /etc/init.d/smartdns entry point, then compare its set_main_dns() behavior with upstream smartdns 47.1. Update the package to upstream 47.1 and verify that LAN addresses lose their CIDR suffix and DHCP DNS configuration uses the corrected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100