diff --git a/net/https-dns-proxy/Makefile b/net/https-dns-proxy/Makefile index d9cb1d310219c..ff74afe1175ec 100644 --- a/net/https-dns-proxy/Makefile +++ b/net/https-dns-proxy/Makefile @@ -2,13 +2,13 @@ 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 PKG_LICENSE:=MIT diff --git a/net/https-dns-proxy/README.md b/net/https-dns-proxy/README.md index 10c0927a5fdb6..3d4e7b9c28a18 100644 --- a/net/https-dns-proxy/README.md +++ b/net/https-dns-proxy/README.md @@ -1,4 +1,22 @@ -# 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/). +[![OpenWrt](https://img.shields.io/badge/OpenWrt-Compatible-blueviolet)](https://openwrt.org) +[![Web UI](https://img.shields.io/badge/Web_UI-Available-blue)](https://docs.openwrt.melmac.ca/https-dns-proxy/) +[![Resolvers](https://img.shields.io/badge/Resolvers-40%2B%20Built--in-brightgreen)](https://docs.openwrt.melmac.ca/https-dns-proxy/) +[![Minimal Footprint](https://img.shields.io/badge/Size-~40KB-green)](https://github.com/stangri/https-dns-proxy) +[![License](https://img.shields.io/badge/License-MIT-lightgrey)](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) diff --git a/net/https-dns-proxy/files/README.md b/net/https-dns-proxy/files/README.md deleted file mode 100644 index 3d4e7b9c28a18..0000000000000 --- a/net/https-dns-proxy/files/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# https-dns-proxy - -[![OpenWrt](https://img.shields.io/badge/OpenWrt-Compatible-blueviolet)](https://openwrt.org) -[![Web UI](https://img.shields.io/badge/Web_UI-Available-blue)](https://docs.openwrt.melmac.ca/https-dns-proxy/) -[![Resolvers](https://img.shields.io/badge/Resolvers-40%2B%20Built--in-brightgreen)](https://docs.openwrt.melmac.ca/https-dns-proxy/) -[![Minimal Footprint](https://img.shields.io/badge/Size-~40KB-green)](https://github.com/stangri/https-dns-proxy) -[![License](https://img.shields.io/badge/License-MIT-lightgrey)](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) diff --git a/net/https-dns-proxy/files/etc/init.d/https-dns-proxy b/net/https-dns-proxy/files/etc/init.d/https-dns-proxy index 528bed191c4c2..a46a321eba7b0 100755 --- a/net/https-dns-proxy/files/etc/init.d/https-dns-proxy +++ b/net/https-dns-proxy/files/etc/init.d/https-dns-proxy @@ -206,7 +206,7 @@ load_package_config() { 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' @@ -223,6 +223,7 @@ load_package_config() { 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 @@ -259,6 +260,7 @@ start_instance() { 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'