After upgrading from OpenWrt 25.12.4 to 25.12.5, Tailscale hostnames (*.ts.net, custom split-DNS zones) stopped resolving.
25.12.5 bumps dnsmasq from 2.91 to 2.93[2] and on mailing list it appears they added CGNAT to private range[1]
When reading logs you will now find lines as
daemon.warn dnsmasq[1]: possible DNS-rebind attack detected: ...ts.net
Fix is to whitelist domains:
uci add_list dhcp.@dnsmasq[0].rebind_domain='ts.net'
uci add_list dhcp.@dnsmasq[0].rebind_domain='example.com' # any custom split-DNS zone
uci commit dhcp
/etc/init.d/dnsmasq restart
References:
[1] dnsmasq patch: https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2025q2/018209.html
[2] OpenWrt 25.12.5 changelog (dnsmasq 2.93): https://openwrt.org/releases/25.12/changelog-25.12.5
[3] Tailscale rebind FAQ: https://tailscale.com/docs/reference/faq/dns-rebinding
[4] OpenWrt UCI rebind_domain: https://openwrt.org/docs/guide-user/base-system/dhcp