mirror of
https://github.com/openwrt/packages.git
synced 2026-06-20 16:30:43 +04:00
ad2477e102
Makefile: * update to latest upstream: https://github.com/aarond10/https_dns_proxy/commit/7b27ecd5598d03bbe79651cc80efca886d433cd9 * update version, release * drop CONFIGURE_ARGS as the build is curl-independent * update the link to the documentation README: * add small README with the link to documentation Config: * rename procd_fw_src_interfaces to force_dns_src_interface to better reflect meaning * add heartbeat_domain, heartbeat_sleep_timeout, heartbeat_wait_timeout options * add default user, group and listen_addr options to the main config * drop the user, group and listen_addr options from the instance configs Init-script: * start much earlier so that on boot, the procd_add_raw_trigger works on all systems * create a ubus() helper function so that service delete does not produce "Command not found" * new options handling where the global config options can be used for instance options * some renaming of global/instance variables due to abovementioned redesign * new open port detection, no longer relying on netstat * new uci_changes() logic where it returns 0 or 1 instead of text * new append_parm logic for not adding default value options to CLI * new boolean options handling logic * move config loading to load_package_config() function * new logic for calling procd_set_config_changed firewall based solely on "$force_dns" * source network.sh based on "${IPKG_INSTROOT}" path * rename procd_fw_src_interfaces to force_dns_src_interface to better reflect meaning * rename use_http1 to force_http1 * rename use_ipv6_resolvers_only to force_ipv6_resolvers Uci-defaults: * migrate to new option names Signed-off-by: Stan Grishin <stangri@melmac.ca>
34 lines
1006 B
Plaintext
34 lines
1006 B
Plaintext
config main 'config'
|
|
option canary_domains_icloud '1'
|
|
option canary_domains_mozilla '1'
|
|
option dnsmasq_config_update '*'
|
|
option force_dns '1'
|
|
list force_dns_port '53'
|
|
list force_dns_port '853'
|
|
# ports listed below are used by some
|
|
# of the dnscrypt-proxy v1 resolvers
|
|
# list force_dns_port '553'
|
|
# list force_dns_port '1443'
|
|
# list force_dns_port '4343'
|
|
# list force_dns_port '4434'
|
|
# list force_dns_port '5443'
|
|
# list force_dns_port '8443'
|
|
list force_dns_src_interface 'lan'
|
|
option procd_trigger_wan6 '0'
|
|
option heartbeat_domain 'heartbeat.melmac.ca'
|
|
option heartbeat_sleep_timeout '10'
|
|
option heartbeat_wait_timeout '10'
|
|
option user 'nobody'
|
|
option group 'nogroup'
|
|
option listen_addr '127.0.0.1'
|
|
|
|
config https-dns-proxy
|
|
option bootstrap_dns '1.1.1.1,1.0.0.1'
|
|
option resolver_url 'https://cloudflare-dns.com/dns-query'
|
|
option listen_port '5053'
|
|
|
|
config https-dns-proxy
|
|
option bootstrap_dns '8.8.8.8,8.8.4.4'
|
|
option resolver_url 'https://dns.google/dns-query'
|
|
option listen_port '5054'
|