include $(TOPDIR)/rules.mk
PKG_NAME:=https-dns-proxy
-PKG_VERSION:=2025.10.07
+PKG_VERSION:=2025.12.29
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy/
-PKG_MIRROR_HASH:=2d0e5f031c8de7f42fa7f2e79d5638f9e4899c056d710fc3638a03112b383be5
-PKG_SOURCE_VERSION:=7b27ecd5598d03bbe79651cc80efca886d433cd9
+PKG_MIRROR_HASH:=df9b4dea9ce7d9a0f26e39b8e10631f0cb3c35b8c7ef8f2603453cb55d0e3d20
+PKG_SOURCE_VERSION:=67ecae05c0b9a5020b32782f9ff7ac8c887dda8a
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
PKG_LICENSE:=MIT
-# README
+# https-dns-proxy
-Documentation for this project is available at [https://docs.openwrt.melmac.net/https-dns-proxy/](https://docs.openwrt.melmac.net/https-dns-proxy/).
+[](https://openwrt.org)
+[](https://docs.openwrt.melmac.ca/https-dns-proxy/)
+[](https://docs.openwrt.melmac.ca/https-dns-proxy/)
+[](https://github.com/stangri/https-dns-proxy)
+[](https://github.com/stangri/https-dns-proxy/blob/master/LICENSE)
+A lightweight, RFC8484-compliant DNS-over-HTTPS (DoH) proxy service for OpenWrt.
+Includes optional integration with `dnsmasq`, automatic fallback, and canary domain support.
+
+## Features
+
+- Small footprint (~40KB installed)
+- Seamless dnsmasq integration and fallback
+- Optional LuCI Web UI with 40+ built-in resolvers
+
+**Full documentation:**
+
+[https://docs.openwrt.melmac.ca/https-dns-proxy/](https://docs.openwrt.melmac.ca/https-dns-proxy/)
+
+Based on [@aarond10](https://github.com/aarond10)'s excellent [https_dns_proxy](https://github.com/aarond10/https_dns_proxy)
+++ /dev/null
-# https-dns-proxy
-
-[](https://openwrt.org)
-[](https://docs.openwrt.melmac.ca/https-dns-proxy/)
-[](https://docs.openwrt.melmac.ca/https-dns-proxy/)
-[](https://github.com/stangri/https-dns-proxy)
-[](https://github.com/stangri/https-dns-proxy/blob/master/LICENSE)
-
-A lightweight, RFC8484-compliant DNS-over-HTTPS (DoH) proxy service for OpenWrt.
-Includes optional integration with `dnsmasq`, automatic fallback, and canary domain support.
-
-## Features
-
-- Small footprint (~40KB installed)
-- Seamless dnsmasq integration and fallback
-- Optional LuCI Web UI with 40+ built-in resolvers
-
-**Full documentation:**
-
-[https://docs.openwrt.melmac.ca/https-dns-proxy/](https://docs.openwrt.melmac.ca/https-dns-proxy/)
-
-Based on [@aarond10](https://github.com/aarond10)'s excellent [https_dns_proxy](https://github.com/aarond10/https_dns_proxy)
config_get_bool procd_trigger_wan6 'config' 'procd_trigger_wan6' '0'
config_get_bool global_force_http1 'config' 'force_http1' '0'
config_get_bool global_force_http3 'config' 'force_http3' '0'
- config_get_bool global_force_ipv6 'config' 'global_force_ipv6_resolvers' '0'
+ config_get_bool global_force_ipv6 'config' 'force_ipv6_resolvers' '0'
config_get dnsmasq_config_update 'config' 'dnsmasq_config_update' '*'
config_get force_dns_port 'config' 'force_dns_port' '53 853'
config_get force_dns_src_interface 'config' 'force_dns_src_interface' 'lan'
config_get global_logfile 'config' 'logfile'
config_get global_statistic_interval 'config' 'statistic_interval' '0'
config_get global_log_limit 'config' 'log_limit' '0'
+ config_get global_source_addr 'config' 'source_addr'
[ "$canary_domains_icloud" = '1' ] && canaryDomains="${canaryDomains:+$canaryDomains }${canaryDomainsiCloud}"
[ "$canary_domains_mozilla" = '1' ] && canaryDomains="${canaryDomains:+$canaryDomains }${canaryDomainsMozilla}"
[ "$force_dns" = '1' ] || unset force_dns
append_parm "$cfg" 'statistic_interval' '-s' "$global_statistic_interval" '0'
append_parm "$cfg" 'log_limit' '-F' "$global_log_limit" '0'
append_cnt "$cfg" 'verbosity' '-v' "$global_verbosity"
+ append_parm "$cfg" 'source_addr' '-S' "$global_source_addr"
if [ "$dnsmasq_config_update" = '*' ]; then
config_load 'dhcp'