mirror of
https://github.com/openwrt/packages.git
synced 2026-02-04 12:06:29 +08:00
https-dns-proxy: update to 2025-12-29-1
* bump binary to 2025.12.29 with support for -S * update README and delete README in files/ * bugfix: properly load global option for `force_ipv6_resolvers` * add global and per-instance `source_addr` option Thanks to @karl82 for adding source_addr support upstream. Signed-off-by: Stan Grishin <stangri@melmac.ca>
This commit is contained in:
@@ -2,13 +2,13 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=https-dns-proxy
|
PKG_NAME:=https-dns-proxy
|
||||||
PKG_VERSION:=2025.10.07
|
PKG_VERSION:=2025.12.29
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy/
|
PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy/
|
||||||
PKG_MIRROR_HASH:=2d0e5f031c8de7f42fa7f2e79d5638f9e4899c056d710fc3638a03112b383be5
|
PKG_MIRROR_HASH:=df9b4dea9ce7d9a0f26e39b8e10631f0cb3c35b8c7ef8f2603453cb55d0e3d20
|
||||||
PKG_SOURCE_VERSION:=7b27ecd5598d03bbe79651cc80efca886d433cd9
|
PKG_SOURCE_VERSION:=67ecae05c0b9a5020b32782f9ff7ac8c887dda8a
|
||||||
|
|
||||||
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
|
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
|
||||||
PKG_LICENSE:=MIT
|
PKG_LICENSE:=MIT
|
||||||
|
|||||||
@@ -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/).
|
[](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)
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
# 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)
|
|
||||||
@@ -206,7 +206,7 @@ load_package_config() {
|
|||||||
config_get_bool procd_trigger_wan6 'config' 'procd_trigger_wan6' '0'
|
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_http1 'config' 'force_http1' '0'
|
||||||
config_get_bool global_force_http3 'config' 'force_http3' '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 dnsmasq_config_update 'config' 'dnsmasq_config_update' '*'
|
||||||
config_get force_dns_port 'config' 'force_dns_port' '53 853'
|
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 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_logfile 'config' 'logfile'
|
||||||
config_get global_statistic_interval 'config' 'statistic_interval' '0'
|
config_get global_statistic_interval 'config' 'statistic_interval' '0'
|
||||||
config_get global_log_limit 'config' 'log_limit' '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_icloud" = '1' ] && canaryDomains="${canaryDomains:+$canaryDomains }${canaryDomainsiCloud}"
|
||||||
[ "$canary_domains_mozilla" = '1' ] && canaryDomains="${canaryDomains:+$canaryDomains }${canaryDomainsMozilla}"
|
[ "$canary_domains_mozilla" = '1' ] && canaryDomains="${canaryDomains:+$canaryDomains }${canaryDomainsMozilla}"
|
||||||
[ "$force_dns" = '1' ] || unset force_dns
|
[ "$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" 'statistic_interval' '-s' "$global_statistic_interval" '0'
|
||||||
append_parm "$cfg" 'log_limit' '-F' "$global_log_limit" '0'
|
append_parm "$cfg" 'log_limit' '-F' "$global_log_limit" '0'
|
||||||
append_cnt "$cfg" 'verbosity' '-v' "$global_verbosity"
|
append_cnt "$cfg" 'verbosity' '-v' "$global_verbosity"
|
||||||
|
append_parm "$cfg" 'source_addr' '-S' "$global_source_addr"
|
||||||
|
|
||||||
if [ "$dnsmasq_config_update" = '*' ]; then
|
if [ "$dnsmasq_config_update" = '*' ]; then
|
||||||
config_load 'dhcp'
|
config_load 'dhcp'
|
||||||
|
|||||||
Reference in New Issue
Block a user