9 Commits

Author SHA1 Message Date
Tianling Shen
939dea1622 dnsproxy: Update to 0.75.0
Fix passing value to hosts-file-enabled argument.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-02-09 21:52:37 +08:00
Tianling Shen
e691db0046 dnsproxy: fix set hosts options
1. Mount hosts files since the daemon is in ujail
2. Set hosts options at last as all other options set after it will
   be ignored

Drop redundant reload_service func while at it.

Fixes: ecdf98767e ("dnsproxy: add hosts configurations")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-09-23 18:18:47 +08:00
Tianling Shen
67b79fbc77 dnsproxy: migrate old options
Migrate "all_servers" and "fastest_addr" to new option "upstream_mode".

Fixes: d0823a8244 ("dnsproxy: Update to 0.73.2")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-09-21 14:22:40 +08:00
Tianling Shen
ecdf98767e dnsproxy: add hosts configurations
trim whitespaces while at it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-08-25 14:45:40 +08:00
Sergey Ponomarev
4c4a7bd31d treewide: use config_get_bool instead of config_get enabled
The config_get_bool function parses not just the 1 but on/yes, true/false or enabled/disabled.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-05-26 03:00:50 +08:00
Emily H.
5df794e343 dnsproxy: add three new features
This commit adds the following features:
1. UCI support for local DNS over HTTPS/TLS/QUIC server.
2. UCI support for using private reverse DNS.
3. procd jail with CAP_NET_BIND_SERVICE, allowing
   dnsproxy to serve on standard ports directly.

Signed-off-by: Emily H. <battery_tag708@simplelogin.com>
2024-04-30 21:17:12 +08:00
Anya Lin
47b4ebc5cb dnsproxy: new features
1. Add new options:
  --http3    Enable HTTP/3 support (H3 first)
  --timeout  Timeout for outbound DNS queries to remote upstream servers in a human-readable form (default: 10s)

2. Allows listen on multiple interfaces and ports

Signed-off-by: Anya Lin <hukk1996@gmail.com>
2023-11-05 14:57:55 +08:00
Tianling Shen
b1651c5d54 treewide: fix procd service inactive
Exit directly will result procd service inactive and uci
configuration changes are no longer monitored.

Reported-by: Lvc Revincx <revincx233@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-18 07:22:43 -07:00
Tianling Shen
10aebfd51b dnsproxy: add basic init script
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-23 23:29:26 +08:00