feat: add configurable PID1-owned DoH forwarding
Default managed SOCKS hostname DNS to verified HTTPS with literal-IP bootstrap and no plaintext fallback. Supervise the loopback forwarder with private anchored readiness and preserve foreign markers. Include configuration, deployment, documentation and offline checks. Co-authored-by: GPT-6 <gpt-6@openai.com>
This commit is contained in:
1 parent
ea886e5bc8
commit
367d956ae3
20 files changed
+2383
-37
No files matched your search
@@ -17,6 +17,9 @@ RUN if [ ! -e /opt/zapret2/lua ] && [ ! -L /opt/zapret2/lua ]; then \
|
||||
fi \
|
||||
&& test -d /opt/zapret2/lua \
|
||||
&& command -v setsid \
|
||||
&& command -v stat \
|
||||
&& test "$(/usr/local/bin/zapret-autotune dns-forwarder mode)" = doh \
|
||||
&& test "$(/usr/local/bin/zapret-autotune dns-forwarder address)" = 127.0.0.1:5353 \
|
||||
&& (ss-server -h 2>&1 | grep -q -- '-d <addr>') \
|
||||
&& mkdir -p /etc/zapret-autotune /var/lib/zapret-autotune/target \
|
||||
&& printf 'zapret-autotune-managed-v1\n' > /etc/zapret-autotune/target-id \
|
||||
|
||||
Reference in new issue
Block a user