Skip to content

smartdns: update to latest upstream 47.1 #29054

@ofry

Description

@ofry

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions