github SagerNet/sing-box v1.14.0-alpha.21
1.14.0-alpha.21

pre-release9 hours ago

📝 Release Notes

  • Allow customizing TUN DNS mode and hijack interface DNS by default 1
  • Add mDNS DNS server 2
  • Add preferred_by DNS rule item 3
  • Add neighbor-based hostname resolution for the local DNS server 4
  • Update NaiveProxy to 148.0.7778.96-1
  • Add more TLS spoof methods and route rule action support 5
  • Fixes and improvements

1:

Adds dns_mode and dns_address on the TUN inbound. The default hijack mode now sets the platform's native interface DNS (systemd-resolved on Linux, per-interface DNS on Windows and Apple) and installs platform-level DNS hijacking (an iproute2 rule on Linux, nftables DNAT when auto_redirect is enabled, WFP filters on Windows when strict_route is enabled). Earlier versions did not touch the interface DNS or the platform firewall.

2:

The new mDNS DNS server sends queries via multicast on the local network. The default local DNS server also routes queries for *.local. and IPv4/IPv6 link-local reverse zones via mDNS on non-Apple platforms (and via the system resolver on Apple), so an explicit mdns server is only needed to reference it from preferred_by or to use it standalone.

3:

The new preferred_by DNS rule item matches domains that the listed DNS servers consider their preferred names. Supported server types are hosts, local, mdns, tailscale, and resolved. The Tailscale, Hosts and Resolved example pages have been updated to use this rule item in place of the previous evaluate + ip_accept_any + respond pattern.

4:

Adds neighbor_domain on the local DNS server. Listed suffixes (each starting with .) cause A/AAAA queries for single-label hosts under those suffixes to be answered from the neighbor resolver instead of the upstream (for example [".", ".lan"]).

5:

Adds wrong-ack, wrong-md5, and wrong-timestamp spoof methods, and adds tls_spoof / tls_spoof_method to route rule actions for per-rule TLS spoofing without outbound TLS settings.

Don't miss a new sing-box release

NewReleases is sending notifications on new releases.